Borderou de evaluare (job #2120129)
Utilizator | Data | 1 februarie 2018 22:31:31 | |
---|---|---|---|
Problema | Panda | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘bool ok(int)’:
user.cpp:29:15: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
int j=1<<s-1;
^
user.cpp:30:12: warning: suggest parentheses around comparison in operand of ‘^’ [-Wparentheses]
if (y^k==j) return true;
^
user.cpp: In function ‘int main()’:
user.cpp:69:9: warning: unused variable ‘x’ [-Wunused-variable]
int x, xt, yt;
^
user.cpp:90:5: error: expected ‘}’ at end of input
}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !