Borderou de evaluare (job #718306)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Maxconcat (clasa a 5-a) | Compilator | cpp-32 |
| Rundă | Arhiva de probleme | Status | evaluat |
| Dată | 7 mai 2023 12:35:33 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:31:55: error: 'cntrst' was not declared in this scope; did you mean 'cntst'?
31 | int a = lastcnt, b = cnt, c = cntrst, d = cntrdr, e = last, f = aux, g = st, h = dr;
| ^~~~~~
| cntst
main.cpp:37:41: error: 'g' was not declared in this scope
37 | g = g * 10;
| ^
main.cpp:42:41: error: 'e' was not declared in this scope
42 | e = e * 10;
| ^
main.cpp:45:37: error: 'd' was not declared in this scope
45 | while (b != d)
| ^
main.cpp:50:41: error: 'h' was not declared in this scope
50 | h = h * 10;
| ^
main.cpp:55:41: error: 'f' was not declared in this scope
55 | f = f * 10;
| ^
main.cpp:58:29: error: 'g' was not declared in this scope
58 | if (g<=e && h<=f)
| ^
main.cpp:58:32: error: 'e' was not declared in this scope
58 | if (g<=e && h<=f)
| ^
main.cpp:58:37: error: 'h' was not declared in this scope
58 | if (g<=e && h<=f)
| ^
main.cpp:58:40: error: 'f' was not declared in this scope
58 | if (g<=e && h<=f)
| ^