Borderou de evaluare (job #615389)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Insula (Lot Juniori) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 10 nov. 2021 15:20:59 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:6:1: error: 'InParser' does not name a type
6 | InParser in("insula.in");
| ^~~~~~~~
main.cpp:7:1: error: 'OutParser' does not name a type
7 | OutParser out("insula.out");
| ^~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:13:5: error: 'in' was not declared in this scope; did you mean 'i'?
13 | in>>n>>m;
| ^~
| i
main.cpp:92:5: error: 'out' was not declared in this scope
92 | out<<ans;
| ^~~
main.cpp:12:17: warning: unused variable 'k' [-Wunused-variable]
12 | int n,m,i,j,k,ans=999999999,min1,min2,bun,bun2;
| ^
main.cpp:12:33: warning: unused variable 'min1' [-Wunused-variable]
12 | int n,m,i,j,k,ans=999999999,min1,min2,bun,bun2;
| ^~~~
main.cpp:12:38: warning: unused variable 'min2' [-Wunused-variable]
12 | int n,m,i,j,k,ans=999999999,min1,min2,bun,bun2;
| ^~~~