Borderou de evaluare (job #2893016)
Utilizator | Data | 24 aprilie 2022 16:10:24 | |
---|---|---|---|
Problema | Cifra | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:22:19: error: 's' was not declared in this scope
22 | pos = s[l - 1] - '0';
| ^
main.cpp:24:19: error: 's' was not declared in this scope
24 | pos = s[l - 1] - '0' + (s[l - 2] - '0') * 10;
| ^
main.cpp:10:12: warning: unused variable 'a' [-Wunused-variable]
10 | int n, a, b, l;
| ^
main.cpp:10:15: warning: unused variable 'b' [-Wunused-variable]
10 | int n, a, b, l;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !