Borderou de evaluare (job #719886)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Agent 007 (clasa a 6-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 16 mai 2023 17:11:46 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:4:1: error: 'istream' does not name a type
4 | istream fin("agent.in");
| ^~~~~~~
main.cpp:5:1: error: 'ofstream' does not name a type
5 | ofstream fout("agent.out");
| ^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:10:5: error: 'fin' was not declared in this scope; did you mean 'sin'?
10 | fin>>n;
| ^~~
| sin
main.cpp:14:9: error: 'fout' was not declared in this scope
14 | fout<<1;
| ^~~~
main.cpp:33:13: error: 'fout' was not declared in this scope
33 | fout<<r[j];
| ^~~~
main.cpp:31:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
31 | if(i==n)
| ^~
main.cpp:36:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
36 | loc1=loc2;
| ^~~~