Pagini recente » Borderou de evaluare (job #1326565) | Borderou de evaluare (job #32885) | Borderou de evaluare (job #3189256) | Borderou de evaluare (job #33002) | Borderou de evaluare (job #31604)
Borderou de evaluare (job #31604)
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 | 272kb | OK | 10 |
2 | 0ms | 292kb | OK | 10 |
3 | 4ms | 360kb | OK | 10 |
4 | 36ms | 1052kb | OK | 10 |
5 | 36ms | 1056kb | OK | 10 |
6 | 44ms | 1060kb | OK | 10 |
7 | 328ms | 1056kb | Incorect | 0 |
8 | 324ms | 1060kb | Incorect | 0 |
9 | 308ms | 1060kb | Incorect | 0 |
10 | 316ms | 1060kb | Incorect | 0 |
Punctaj total | 60 |