Pagini recente » Borderou de evaluare (job #31643) | Borderou de evaluare (job #32520) | Borderou de evaluare (job #351150) | Borderou de evaluare (job #105336) | Borderou de evaluare (job #31600)
Borderou de evaluare (job #31600)
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 | 280kb | OK | 10 |
2 | 0ms | 296kb | OK | 10 |
3 | 4ms | 364kb | OK | 10 |
4 | 36ms | 1060kb | OK | 10 |
5 | 36ms | 1056kb | OK | 10 |
6 | 48ms | 1056kb | OK | 10 |
7 | Depăşit | 832kb | Time limit exceeded. | 0 |
8 | 1676ms | 1056kb | OK | 10 |
9 | Depăşit | 968kb | Time limit exceeded. | 0 |
10 | Depăşit | 916kb | Time limit exceeded. | 0 |
Punctaj total | 70 |