QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#524841#800. Trianglesegypt_ioi2024_02#Compile Error//C++231.1kb2024-08-20 09:36:522024-08-20 09:36:52

Details

answer.code: In lambda function:
answer.code:40:32: error: inconsistent types ‘bool’ and ‘int’ deduced for lambda return type
   40 |                         return 1;
      |                                ^
answer.code:42:32: error: inconsistent types ‘bool’ and ‘int’ deduced for lambda return type
   42 |                         return 0;
      |                                ^