Borderou de evaluare (job #1378758)
Utilizator | Data | 6 martie 2015 14:06:09 | |
---|---|---|---|
Problema | Paritate | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:41:33: warning: multi-character character constant [-Wmultichar]
text[ind] = '/n';
^
user.cpp: In function ‘int main()’:
user.cpp:18:19: error: ‘fineof’ was not declared in this scope
while (fineof())
^
user.cpp:33:55: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if ((nr1 % 2 == 0 && bp == 1) || nr1 == 1 && bp == '0')
^
user.cpp:36:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
a[++pas] = ind;
^
user.cpp:41:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
text[ind] = '/n';
^
user.cpp:41:31: warning: overflow in implicit constant conversion [-Woverflow]
text[ind] = '/n';
^
user.cpp:43:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
text[ind] = (char)ca;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !