QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#233499#6599. The Grand TournamentThreeKonjaks#Compile Error//C++149.5kb2023-10-31 18:27:252023-10-31 18:27:26

Details

answer.code: In function ‘void Solve()’:
answer.code:253:20: error: return-statement with a value, in function returning ‘void’ [-fpermissive]
  253 |             return 0;
      |                    ^
answer.code: In member function ‘void Point::input()’:
answer.code:51:27: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   51 |         void input(){scanf("%lf%lf",&x,&y);}
      |                      ~~~~~^~~~~~~~~~~~~~~~