Borderou de evaluare (job #675816)

Utilizator avatar andrei_n Andrei Nicolae andrei_n IP ascuns
Problemă Enclave Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 14 nov. 2022 20:40:01 Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void fill(int, int, int)': main.cpp:32:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 32 | if (a[in][jn] != p) | ^ main.cpp:49:21: error: '\U0000200cin' was not declared in this scope 49 | if (‌in >= 2 && in <= m && jn >= 1 && jn <= n & a[in][jn] == p) | ^~ main.cpp:49:57: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] 49 | if (‌in >= 2 && in <= m && jn >= 1 && jn <= n & a[in][jn] == p) | ~~~^~~~ main.cpp: In function 'int main()': main.cpp:64:33: error: 'Q' was not declared in this scope 64 | Q = 0; | ^ main.cpp:68:58: error: 'Max' was not declared in this scope 68 | if (Nr > Max) | ^~~ main.cpp:72:37: error: 'Max' was not declared in this scope 72 | fout << nrenclave << " " << Max; | ^~~