Record Detail

Compile Error

/in/circle.cpp: In member function 'int Circle::isIntersect(Circle&)':
/in/circle.cpp:12:33: error: expected ')' before 'c'
     if (dist < (radius + radius c.radius)) { // meaning that the two circles intersect
                                 ^
/in/circle.cpp:14:7: error: expected ')' before 'else'
     } else { // does not intersect
       ^~~~
/in/circle.cpp:17:1: error: expected primary-expression before '}' token
 }
 ^
/in/circle.cpp:8:9: error: unused variable 'count' [-Werror=unused-variable]
     int count;
         ^~~~~
/in/circle.cpp:17:1: error: no return statement in function returning non-void [-Werror=return-type]
 }
 ^
cc1plus: all warnings being treated as errors

Information

Submit By
Type
Submission
Language
C++
Submit At
2024-08-13 20:07:16
Judged At
2024-08-13 20:07:16
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes