Borderou de evaluare (job #724908)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Jack Saritorul | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 24 iun. 2023 14:14:50 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:11:15: error: 'i' was not declared in this scope
11 | fin >> n, i = 1, s = 0, d, ans;
| ^
main.cpp:11:22: error: 's' was not declared in this scope
11 | fin >> n, i = 1, s = 0, d, ans;
| ^
main.cpp:11:29: error: 'd' was not declared in this scope
11 | fin >> n, i = 1, s = 0, d, ans;
| ^
main.cpp:11:32: error: 'ans' was not declared in this scope; did you mean 'abs'?
11 | fin >> n, i = 1, s = 0, d, ans;
| ^~~
| abs