Borderou de evaluare (job #585082)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Ore (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 8 mar. 2021 18:06:12 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:7:13: error: aggregate 'std::ifstream fin' has incomplete type and cannot be defined
7 | ifstream fin;
| ^~~
main.cpp:8:13: error: aggregate 'std::ofstream fout' has incomplete type and cannot be defined
8 | ofstream fout;
| ^~~~
main.cpp:13:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
13 | if(n=0011)
| ~^~~~~
main.cpp:22:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
22 | if(n==1243)
| ^~
main.cpp:24:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
24 | if(n==1415)
| ^~