Borderou de evaluare (job #705749)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Triunghiurile de 5 bani (clasa a 5-a) | Compilator | cpp-32 |
Rundă | superoji1 | Status | evaluat |
Dată | 13 mar. 2023 10:58:56 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:19:9: error: expected ';' before 'long'
19 | s=s*5
| ^
| ;
20 | long long a, b;
| ~~~~
main.cpp:22:5: error: 'a' was not declared in this scope
22 | a =s100;
| ^
main.cpp:22:8: error: 's100' was not declared in this scope
22 | a =s100;
| ^~~~
main.cpp:23:5: error: 'b' was not declared in this scope
23 | b = s%100;
| ^
main.cpp:10:13: warning: unused variable 'i' [-Wunused-variable]
10 | int n,s=1,i;
| ^