Borderou de evaluare (job #3338380)
| Utilizator | Data | 2 februarie 2026 21:46:01 | |
|---|---|---|---|
| Problema | Jocul Flip | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'long int suma_poz(int, int)':
main.cpp:16:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
16 | for(int i=1;i<=n;i++)
| ^~~
main.cpp:20:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
20 | if(a[x][y]>0)
| ^~
main.cpp: In function 'long int suma_neg(int, int)':
main.cpp:33:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
33 | for(int i=1;i<=n;i++)
| ^~~
main.cpp:37:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
37 | if(a[x][y]<0)
| ^~
main.cpp: In function 'void maneta(int, int)':
main.cpp:49:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
49 | for(int i=1;i<=n;i++)
| ^~~
main.cpp:52:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
52 | a[x][y]*=-1;
| ^
main.cpp: At global scope:
main.cpp:61:1: error: '::main' must return 'int'
61 | void main()
| ^~~~
main.cpp: In function 'int main()':
main.cpp:72:5: error: 'i' was not declared in this scope
72 | for(i=1;i<=n;i++)
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
