Pagini recente » Borderou de evaluare (job #1737016) | Borderou de evaluare (job #365420) | Borderou de evaluare (job #2083277) | Borderou de evaluare (job #858184) | Borderou de evaluare (job #1494981)
Borderou de evaluare (job #1494981)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:22:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d %d", &v[i].p, &v[i].c);
^
user.cpp:22:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp: In function ‘void write()’:
user.cpp:40:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", sol);
^
user.cpp: In function ‘void read()’:
user.cpp:17:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("branza.in", "r", stdin);
^
user.cpp:18:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("branza.out", "w", stdout);
^
user.cpp:19:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &n, &s, &t);
^
user.cpp:22:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &v[i].p, &v[i].c);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 268kb | OK | 10 | 0 |
| 2 | 0ms | 272kb | OK | 10 |
| 3 | 0ms | 332kb | Incorect | 0 |
| 4 | 36ms | 1056kb | Incorect | 0 | 0 |
| 5 | 68ms | 1532kb | Incorect | 0 |
| 6 | 80ms | 1692kb | Incorect | 0 |
| 7 | 84ms | 1828kb | Incorect | 0 | 0 |
| 8 | 80ms | 1832kb | Incorect | 0 | 0 |
| 9 | 84ms | 1824kb | Incorect | 0 | 0 |
| 10 | 80ms | 1828kb | Incorect | 0 | 0 |
| Punctaj total | 0 |