Borderou de evaluare (job #708970)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Accesibil (clasa a 6-a) | Compilator | cpp-32 |
| Rundă | Pregatire OJI 2023 | Status | evaluat |
| Dată | 17 mar. 2023 17:54:44 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:30:19: warning: unused variable 'k' [-Wunused-variable]
30 | long long x,i,k=0,j,m1=-1,m2=-1,m3=-1;
| ^
main.cpp:30:23: warning: unused variable 'j' [-Wunused-variable]
30 | long long x,i,k=0,j,m1=-1,m2=-1,m3=-1;
| ^
main.cpp:82:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
82 | for(i=1;i<=n;i++)
| ^~~
main.cpp:84:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
84 | if(k==2)
| ^~
main.cpp:113:15: error: expected primary-expression before '<' token
113 | fout<<<4<<" "<<4;
| ^
main.cpp:113:17: error: invalid operands of types 'int' and 'const char [2]' to binary 'operator<<'
113 | fout<<<4<<" "<<4;
| ~^~~~~
| | |
| | const char [2]
| int