Borderou de evaluare (job #947676)
Utilizator | Data | 8 mai 2013 08:17:52 | |
---|---|---|---|
Problema | Numar4 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:10: error: ‘ss’ was not declared in this scope
s=n1;ss=n2;
^
user.cpp:34:36: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
while ( (a[n1]==0 || a[n1]==5) && (b[n2]==0 || b[n2]==5 ) || (a[n1]%2==0 && b[n2]%2==0))
^
user.cpp:56:13: warning: statement has no effect [-Wunused-value]
r&1;
^
user.cpp:62:16: warning: statement has no effect [-Wunused-value]
r&1;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !