Pagini recente » Borderou de evaluare (job #741852) | Borderou de evaluare (job #822662) | Borderou de evaluare (job #31513) | Borderou de evaluare (job #2621854) | Borderou de evaluare (job #31606)
Borderou de evaluare (job #31606)
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 | 280kb | Incorect | 0 |
2 | 0ms | 296kb | Incorect | 0 |
3 | 4ms | 380kb | Incorect | 0 |
4 | 44ms | 1252kb | Incorect | 0 |
5 | 44ms | 1252kb | Incorect | 0 |
6 | 36ms | 1248kb | Incorect | 0 |
7 | 592ms | 1252kb | Incorect | 0 |
8 | 388ms | 1256kb | Incorect | 0 |
9 | 472ms | 1256kb | Incorect | 0 |
10 | 448ms | 1252kb | Incorect | 0 |
Punctaj total | 0 |