Borderou de evaluare (job #3287107)
Utilizator | Data | 15 martie 2025 19:01:22 | |
---|---|---|---|
Problema | Războiul lui Vlăduț | Status | done |
Runda | arhiva-utcn | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
1 | #include iostream
| ^~~~~~~~
main.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
2 | #include fstream
| ^~~~~~~
main.cpp:4:1: error: 'ifstream' does not name a type
4 | ifstream fi(vladut.in);
| ^~~~~~~~
main.cpp:5:1: error: 'ofstream' does not name a type
5 | ofstream fo(vladut.out);
| ^~~~~~~~
main.cpp: In function 'int s(int, int, int, int, int (*)[101])':
main.cpp:10:28: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
10 | for(int i=starti; i=endi; i++)
| ~^~~~~
main.cpp:11:36: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
11 | for(int j=startj; j=endj; j++)
| ~^~~~~
main.cpp: In function 'int main()':
main.cpp:19:9: error: 'fit' was not declared in this scope
19 | fit;
| ^~~
main.cpp:23:17: error: 'fin' was not declared in this scope
23 | fin;
| ^~~
main.cpp:24:29: error: 'in' was not declared in this scope; did you mean 'i'?
24 | for(int i=0;in;i++)
| ^~
| i
main.cpp:25:37: error: 'jn' was not declared in this scope; did you mean 'j'?
25 | for(int j=0;jn;j++)
| ^~
| j
main.cpp:26:33: error: 'fio' was not declared in this scope
26 | fio[i][j];
| ^~~
main.cpp:27:29: error: 'in' was not declared in this scope; did you mean 'i'?
27 | for(int i=0;in;i++)
| ^~
| i
main.cpp:28:37: error: 'jn' was not declared in this scope; did you mean 'j'?
28 | for(int j=0;jn;j++)
| ^~
| j
main.cpp:30:33: error: 'fie' was not declared in this scope
30 | fie[i][j];
| ^~~
main.cpp:34:30: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
34 | for(int 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 !