Record Detail

Compile Error

/in/circle.cpp: In member function 'int Circle::isIntersect(Circle&)':
/in/circle.cpp:9:11: error: expected '(' before 'x'
     while x * x + y * y < r * r
           ^
/in/circle.cpp:10:5: error: expected ')' before 'return'
     return 1;
     ^~~~~~
/in/circle.cpp:11:5: error: 'else' without a previous 'if'
     else 
     ^~~~
/in/circle.cpp:7:33: error: unused parameter 'c' [-Werror=unused-parameter]
 int Circle::isIntersect(Circle &c){
                                 ^
cc1plus: all warnings being treated as errors

Information

Submit By
Type
Submission
Homework
Final
Language
C++
Submit At
2024-08-08 11:24:27
Judged At
2024-08-13 14:41:45
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes