/ Test /

Record Detail

Compile Error

/in/sq.cpp:7:7: error: assigning to 'float' from incompatible type 'char *'
    n=argv[1];
      ^~~~~~~
/in/sq.cpp:8:7: error: assigning to 'float' from incompatible type 'char *'
    N=argv[argc-1];
      ^~~~~~~~~~~~
/in/sq.cpp:10:48: error: assigning to 'float' from incompatible type 'char *'
    for (int i=1;i<(argc-1);i++) quantity[i-1]=argv[i];
                                               ^~~~~~~
3 errors generated.

Information

Submit By
Type
Submission
Problem
midP1_sq
Language
C++
Submit At
2020-07-15 16:32:07
Judged At
2020-07-15 16:32:07
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes