Borderou de evaluare (job #1015510)
Utilizator | Data | 24 octombrie 2013 19:32:01 | |
---|---|---|---|
Problema | Car | 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:57:45: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
PR rec (ls (P, 0) & biti (1, 9) - 1, ls (P, 9) & biti (1, 9) - 1);
^
user.cpp:57:74: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
PR rec (ls (P, 0) & biti (1, 9) - 1, ls (P, 9) & biti (1, 9) - 1);
^
user.cpp:70:21: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]
if (D[d + 1 & 7][rec.x][rec.y] > l + 1) {
^
user.cpp:71:21: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]
D[d + 1 & 7][rec.x][rec.y] = l + 1;
^
user.cpp:72:78: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]
Q[ind ^ 1].push (biti (rec.x, 0) + biti (rec.y, 9) + biti (d + 1 & 7, 18)) ;
^
user.cpp:74:21: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]
if (D[d + 7 & 7][rec.x][rec.y] > l + 1) {
^
user.cpp:75:21: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]
D[d + 7 & 7][rec.x][rec.y] = l + 1;
^
user.cpp:76:78: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]
Q[ind ^ 1].push (biti (rec.x, 0) + biti (rec.y, 9) + biti (d + 7 & 7, 18)) ;
^
user.cpp:80:42: error: expected ‘}’ at end of input
fprintf (fopen (FOU, "w"), "%d", -1) ;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !