QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#524841#800. Trianglesegypt_ioi2024_02#Compile Error//C++231.1kb2024-08-20 09:36:522024-08-20 09:36:52

详细

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;
      |                                ^