Borderou de evaluare (job #596685)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Numere24 (clasa a 6-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 21 apr. 2021 15:20:23 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:16:9: error: 'fin' was not declared in this scope; did you mean 'cin'?
16 | fin>>x;
| ^~~
| cin
main.cpp:16:14: error: 'x' was not declared in this scope
16 | fin>>x;
| ^
main.cpp:17:13: error: 'i' was not declared in this scope
17 | for(i=1;i<=3;i++)
| ^
main.cpp:19:20: error: 'ogl' was not declared in this scope
19 | x=x/10;ogl=0;aux=x;
| ^~~
main.cpp:19:26: error: 'aux' was not declared in this scope
19 | x=x/10;ogl=0;aux=x;
| ^~~
main.cpp:21:23: error: 'nr' was not declared in this scope; did you mean 'n'?
21 | if(ogl==x)nr=1;else if(x%10==0)nr=0;
| ^~
| n
main.cpp:21:44: error: 'nr' was not declared in this scope; did you mean 'n'?
21 | if(ogl==x)nr=1;else if(x%10==0)nr=0;
| ^~
| n
main.cpp:22:18: error: 'nr' was not declared in this scope; did you mean 'n'?
22 | else nr=2;
| ^~
| n
main.cpp:23:13: error: 'fout' was not declared in this scope; did you mean 'cout'?
23 | fout<<nr<<' ';
| ^~~~
| cout
main.cpp:23:19: error: 'nr' was not declared in this scope; did you mean 'n'?
23 | fout<<nr<<' ';
| ^~
| n