Borderou de evaluare (job #782252)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Factor (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Nerdvana SummerCamps - Ed2 - 2 | Status | evaluat |
Dată | 11 iul. 2024 15:47:44 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:8:5: error: expected initializer before 'int'
8 | int n, e, d, maxe, maxd, f, a, m;
| ^~~
main.cpp:9:12: error: 'n' was not declared in this scope
9 | fin >> n;
| ^
main.cpp:10:5: error: 'm' was not declared in this scope; did you mean 'tm'?
10 | m = n;
| ^
| tm
main.cpp:18:21: error: 'maxe' was not declared in this scope
18 | if (e > maxe) {
| ^~~~
main.cpp:20:17: error: 'maxd' was not declared in this scope
20 | maxd = d;
| ^~~~
main.cpp:22:25: error: 'maxd' was not declared in this scope
22 | if (d > maxd) {
| ^~~~
main.cpp:31:5: error: 'f' was not declared in this scope
31 | f=maxd % 10;
| ^
main.cpp:31:7: error: 'maxd' was not declared in this scope
31 | f=maxd % 10;
| ^~~~
main.cpp:32:5: error: 'a' was not declared in this scope
32 | a=0;
| ^