Pagini recente » Cod sursa (job #1040655) | Borderou de evaluare (job #2627718) | Borderou de evaluare (job #736425) | Cod sursa (job #1342655) | Borderou de evaluare (job #1728220)
Borderou de evaluare (job #1728220)
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 | 484kb | Incorect | 0 |
| 3 | 20ms | 484kb | Incorect | 0 |
| 4 | 20ms | 476kb | OK | 5 |
| 5 | 20ms | 480kb | OK | 5 |
| 6 | 20ms | 484kb | Incorect | 0 |
| 7 | 20ms | 484kb | Incorect | 0 |
| 8 | 20ms | 488kb | Incorect | 0 |
| 9 | 20ms | 484kb | Incorect | 0 |
| 10 | 20ms | 488kb | Incorect | 0 |
| 11 | 20ms | 484kb | Incorect | 0 |
| 12 | 20ms | 488kb | Incorect | 0 |
| 13 | 20ms | 484kb | Incorect | 0 |
| 14 | 20ms | 488kb | Incorect | 0 |
| 15 | 20ms | 488kb | Incorect | 0 |
| 16 | 20ms | 488kb | Incorect | 0 |
| 17 | 20ms | 492kb | Incorect | 0 |
| 18 | 20ms | 484kb | Incorect | 0 |
| 19 | 20ms | 488kb | Incorect | 0 |
| 20 | 20ms | 488kb | Incorect | 0 |
| Punctaj total | 10 |