Borderou de evaluare (job #733669)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cangur (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 26 sept. 2023 17:34:59 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:13:5: error: 'Long' was not declared in this scope; did you mean 'long'?
13 | Long long height = 7;
| ^~~~
| long
main.cpp:14:9: error: expected ';' before 'long'
14 | Long long result = 0;
| ^~~~~
| ;
main.cpp:16:9: error: 'result' was not declared in this scope
16 | result += height;
| ^~~~~~
main.cpp:16:19: error: 'height' was not declared in this scope
16 | result += height;
| ^~~~~~
main.cpp:19:13: error: 'result' was not declared in this scope
19 | fout << result << endl;
| ^~~~~~