Borderou de evaluare (job #768293)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Ucif (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 15 mar. 2024 08:35:58 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:8:1: error: '::main' must return 'int'
8 | int main()
| ^~~
main.cpp: In function 'int main()':
main.cpp:10:10: error: 'n' was not declared in this scope
10 | fin>>n;
| ^
main.cpp:11:5: error: 'z' was not declared in this scope
11 | z=1;
| ^
main.cpp:12:9: error: 'i' was not declared in this scope
12 | for(i=1; i<=n; i++)
| ^
main.cpp:14:9: error: 'x' was not declared in this scope
14 | x=1;
| ^
main.cpp:15:9: error: 'y' was not declared in this scope
15 | y=x;
| ^
main.cpp:25:9: error: 's' was not declared in this scope
25 | s=s%10+z%10;
| ^
main.cpp:27:11: error: 's' was not declared in this scope
27 | fout<<s%10;
| ^