Borderou de evaluare (job #2613946)
Utilizator | Data | 10 mai 2020 21:28:37 | |
---|---|---|---|
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:39:25: error: 'strlen' was not declared in this scope
int d = strlen(s), ans;
^
main.cpp:41:13: error: 'ans' was not declared in this scope
ans = v[s[d - 1] - '0'];
^~~
main.cpp:44:13: error: 'ans' was not declared in this scope
ans = v[(s[d - 2] - '0') * 10 + (s[d - 1] - '0')];
^~~
main.cpp:48:16: error: 'ans' was not declared in this scope
out << ans << '\n';
^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !