Problem spreadsheet
User MrPuddleVon
Submission Time 2025-06-19 09:24:54
Score 0
Max Time N/A
Max Memory N/A

Compile Error

spreadsheet.cpp: In lambda function:
spreadsheet.cpp:22:35: error: inconsistent types ‘bool’ and ‘int’ deduced for lambda return type
22 | if (res != -1) return res;
| ^~~
spreadsheet.cpp:26:34: error: inconsistent types ‘bool’ and ‘int’ deduced for lambda return type
26 | return res = 1;
| ^
spreadsheet.cpp:29:26: error: inconsistent types ‘bool’ and ‘int’ deduced for lambda return type
29 | return res = 0;
| ^