Borderou de evaluare (job #2659461)
Utilizator | Data | 16 octombrie 2020 20:04:09 | |
---|---|---|---|
Problema | Operatie | 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:49:5: error: expected ';' before 'for'
for(int i=0; i<n; i++)
^~~
main.cpp: In function 'void XOR(int, int, int)':
main.cpp:58:20: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
if(x&(1<<k)==0)
~~~~~~^~~
main.cpp:58:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if(x&(1<<k)==0)
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !