Pagini recente » Borderou de evaluare (job #2304666) | Borderou de evaluare (job #1016511) | Borderou de evaluare (job #591403) | Borderou de evaluare (job #952246) | Borderou de evaluare (job #997905)
Borderou de evaluare (job #997905)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:33:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=]
scanf("%d%d", &D[i], &C[i]);
^
user.cpp:33:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘bool*’ [-Wformat=]
user.cpp:28:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zmeu2.in", "r", stdin);
^
user.cpp:29:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zmeu2.out", "w", stdout);
^
user.cpp:31:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &Head, &N, &M);
^
user.cpp:33:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &D[i], &C[i]);
^
user.cpp:43:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x0, &y0);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 300kb | OK | 10 |
| 2 | 0ms | 292kb | Incorect | 0 |
| 3 | 16ms | 712kb | OK | 10 |
| 4 | 0ms | 736kb | OK | 10 |
| 5 | 8ms | 476kb | Incorect | 0 |
| 6 | 0ms | 332kb | OK | 10 |
| 7 | 0ms | 372kb | OK | 10 |
| 8 | 0ms | 296kb | OK | 10 |
| 9 | 4ms | 636kb | OK | 10 |
| 10 | 20ms | 620kb | OK | 10 |
| Punctaj total | 80 |