Pagini recente » Borderou de evaluare (job #3225951) | Borderou de evaluare (job #540311) | Borderou de evaluare (job #737683) | Borderou de evaluare (job #306883) | Borderou de evaluare (job #30418)
Borderou de evaluare (job #30418)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
scanf("%d %d %d", t+i, c+i, a+i), --c[i];
^
user.cpp:22:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:19:13: warning: unused variable ‘k’ [-Wunused-variable]
int i,j,k;
^
user.cpp:16:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bcrc.in", "r", stdin);
^
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("bcrc.out", "w", stdout);
^
user.cpp:18:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:22:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", t+i, c+i, a+i), --c[i];
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 272kb | OK | 10 |
| 2 | 0ms | 284kb | OK | 10 |
| 3 | 4ms | 356kb | OK | 10 |
| 4 | 36ms | 1056kb | OK | 10 |
| 5 | 36ms | 1056kb | OK | 10 |
| 6 | 48ms | 1048kb | OK | 10 |
| 7 | Depăşit | 824kb | Time limit exceeded. | 0 |
| 8 | 1824ms | 1052kb | OK | 10 |
| 9 | Depăşit | 948kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 912kb | Time limit exceeded. | 0 |
| Punctaj total | 70 |