Pagini recente » Borderou de evaluare (job #99382) | Borderou de evaluare (job #1876485) | Borderou de evaluare (job #818308) | Borderou de evaluare (job #42921) | Borderou de evaluare (job #31613)
Borderou de evaluare (job #31613)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23: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:23:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:20:13: warning: unused variable ‘k’ [-Wunused-variable]
int i,j,k;
^
user.cpp:17: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:18: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:19: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:23: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 | 296kb | OK | 10 |
2 | 0ms | 308kb | OK | 10 |
3 | 16ms | 376kb | OK | 10 |
4 | 1788ms | 1072kb | OK | 10 |
5 | 1788ms | 1080kb | OK | 10 |
6 | 1796ms | 1076kb | OK | 10 |
7 | Depăşit | 864kb | Time limit exceeded. | 0 |
8 | Depăşit | 984kb | Time limit exceeded. | 0 |
9 | Depăşit | 948kb | Time limit exceeded. | 0 |
10 | Depăşit | 900kb | Time limit exceeded. | 0 |
Punctaj total | 60 |