Pagini recente » Borderou de evaluare (job #2661424) | Borderou de evaluare (job #316468) | Borderou de evaluare (job #2919764) | Borderou de evaluare (job #151167) | Borderou de evaluare (job #1500051)
Borderou de evaluare (job #1500051)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:18: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
if((x1&1 != x2&1) || (y1&1 != y2&1)) printf("0\n");
^
user.cpp:14:36: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
if((x1&1 != x2&1) || (y1&1 != y2&1)) printf("0\n");
^
user.cpp:7:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("taxi.in", "r", stdin);
^
user.cpp:8:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("taxi.out", "w", stdout);
^
user.cpp:10:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:13:63: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d %d %d", &a, &b, &x1, &y1, &x2, &y2);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 84ms | 428kb | Incorect | 0 |
2 | 124ms | 428kb | Incorect | 0 |
3 | 168ms | 432kb | Incorect | 0 |
4 | 0ms | 420kb | OK | 10 |
5 | 0ms | 424kb | Incorect | 0 |
6 | 0ms | 432kb | Incorect | 0 |
7 | 0ms | 428kb | Incorect | 0 |
8 | 0ms | 424kb | Incorect | 0 |
9 | 0ms | 424kb | Incorect | 0 |
10 | 0ms | 432kb | Incorect | 0 |
Punctaj total | 10 |