Pagini recente » Borderou de evaluare (job #1727778) | Borderou de evaluare (job #432357) | Borderou de evaluare (job #1146140) | Borderou de evaluare (job #1820900) | Borderou de evaluare (job #1728218)
Borderou de evaluare (job #1728218)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:86:58: warning: suggest parentheses around comparison in operand of ‘^’ [-Wparentheses]
ans += (sg[k][j] ^ sg[i - k][j] ^ big_sg == sg[i][j]);
^
user.cpp:90:58: warning: suggest parentheses around comparison in operand of ‘^’ [-Wparentheses]
ans += (sg[i][k] ^ sg[i][j - k] ^ big_sg == sg[i][j]);
^
user.cpp:94:62: warning: suggest parentheses around comparison in operand of ‘^’ [-Wparentheses]
ans += (sg[k - 1][j] ^ sg[i - k][j] ^ big_sg == sg[i][j]);
^
user.cpp:97:62: warning: suggest parentheses around comparison in operand of ‘^’ [-Wparentheses]
ans += (sg[i][k - 1] ^ sg[i][j - k] ^ big_sg == sg[i][j]);
^
user.cpp:101:51: warning: suggest parentheses around comparison in operand of ‘^’ [-Wparentheses]
ans += (sg[i - 2][j - 2] ^ big_sg == sg[i][j]);
^
user.cpp:29:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("joc2.in","r",stdin);
^
user.cpp:30:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("joc2.out","w",stdout);
^
user.cpp:66:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:68:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 20ms | 488kb | Incorect | 0 |
| 2 | 20ms | 488kb | Incorect | 0 |
| 3 | 20ms | 488kb | Incorect | 0 |
| 4 | 20ms | 472kb | OK | 5 |
| 5 | 20ms | 492kb | Incorect | 0 |
| 6 | 20ms | 488kb | Incorect | 0 |
| 7 | 20ms | 492kb | Incorect | 0 |
| 8 | 20ms | 484kb | Incorect | 0 |
| 9 | 20ms | 488kb | Incorect | 0 |
| 10 | 20ms | 492kb | Incorect | 0 |
| 11 | 20ms | 488kb | Incorect | 0 |
| 12 | 20ms | 488kb | Incorect | 0 |
| 13 | 20ms | 492kb | Incorect | 0 |
| 14 | 20ms | 492kb | Incorect | 0 |
| 15 | 20ms | 496kb | Incorect | 0 |
| 16 | 20ms | 492kb | Incorect | 0 |
| 17 | 20ms | 496kb | Incorect | 0 |
| 18 | 20ms | 496kb | Incorect | 0 |
| 19 | 20ms | 488kb | Incorect | 0 |
| 20 | 20ms | 488kb | Incorect | 0 |
| Punctaj total | 5 |