Borderou de evaluare (job #856742)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Convex (clasa a 8-a) | Compilator | cpp |
| Rundă | lasm_05_03_2026_cl10_12 | Status | evaluat |
| Dată | 5 mar. 2026 21:20:33 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:29:13: error: 'first' was not declared in this scope
29 | if (first != -1) {
| ^~~~~
main.cpp:30:38: error: 'last' was not declared in this scope
30 | for (int i = first; i <= last; ++i) {
| ^~~~
main.cpp:31:28: error: 'j' was not declared in this scope
31 | if (mat[i][j] == 'A') { fout << 0; return 0; }
| ^
main.cpp: At global scope:
main.cpp:36:5: error: 'fout' does not name a type
36 | fout << 1;
| ^~~~
main.cpp:37:5: error: expected unqualified-id before 'return'
37 | return 0;
| ^~~~~~
main.cpp:38:1: error: expected declaration before '}' token
38 | }
| ^