Borderou de evaluare (job #3275229)
Utilizator | Data | 9 februarie 2025 15:10:58 | |
---|---|---|---|
Problema | Sarpe | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:23:1: error: ISO C++ forbids declaration of 'scadere' with no type [-fpermissive]
23 | scadere()
| ^~~~~~~
main.cpp: In function 'int scadere()':
main.cpp:38:1: warning: no return statement in function returning non-void [-Wreturn-type]
38 | }
| ^
main.cpp: At global scope:
main.cpp:39:1: error: ISO C++ forbids declaration of 'cop' with no type [-fpermissive]
39 | cop(int vr[],int vi[])
| ^~~
main.cpp: In function 'int cop(int*, int*)':
main.cpp:43:1: warning: no return statement in function returning non-void [-Wreturn-type]
43 | }
| ^
main.cpp: In function 'void inm()':
main.cpp:47:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
47 | for(int j=0;j<cnt;j++)
| ^~~
main.cpp:49:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
49 | int t=0;
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !