Borderou de evaluare (job #782255)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Factor (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Nerdvana SummerCamps - Ed2 - 2 | Status | evaluat |
Dată | 11 iul. 2024 15:50:00 | 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 >> maxe >>maxd >> e>>d >>m;
| ^
main.cpp:9:17: error: 'maxe' was not declared in this scope
9 | fin >> n >> maxe >>maxd >> e>>d >>m;
| ^~~~
main.cpp:9:24: error: 'maxd' was not declared in this scope
9 | fin >> n >> maxe >>maxd >> e>>d >>m;
| ^~~~
main.cpp:9:32: error: 'e' was not declared in this scope
9 | fin >> n >> maxe >>maxd >> e>>d >>m;
| ^
main.cpp:9:35: error: 'd' was not declared in this scope
9 | fin >> n >> maxe >>maxd >> e>>d >>m;
| ^
main.cpp:9:39: error: 'm' was not declared in this scope; did you mean 'tm'?
9 | fin >> n >> maxe >>maxd >> e>>d >>m;
| ^
| tm
main.cpp:31:5: error: 'f' 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;
| ^