Borderou de evaluare (job #2384413)
Utilizator | Data | 20 martie 2019 18:34:43 | |
---|---|---|---|
Problema | Subsir Binar | 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:19:20: error: 'strlen' was not declared in this scope
int n = strlen(sir);
^
main.cpp:29:43: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
if(sir[index] - '0' == (nr & (1 << i)) > 0 ? 1 : 0)
~~~~~~~~~~~~~~~~^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !