Borderou de evaluare (job #32718)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:52:64: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
for (i = 1; i <= M; i++) scanf("%d %d %d", &T[i], &C[i], &B[i]);
^
user.cpp:52:64: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:47:32: 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:48:34: 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:50:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &N, &M);
^
user.cpp:52:65: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i = 1; i <= M; i++) scanf("%d %d %d", &T[i], &C[i], &B[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 296kb | OK | 10 |
2 | 0ms | 296kb | OK | 10 |
3 | 140ms | 340kb | OK | 10 |
4 | 1304ms | 684kb | OK | 10 |
5 | 1496ms | 688kb | OK | 10 |
6 | 220ms | 668kb | OK | 10 |
7 | 36ms | 680kb | OK | 10 |
8 | 56ms | 680kb | OK | 10 |
9 | 56ms | 676kb | OK | 10 |
10 | 64ms | 676kb | OK | 10 |
Punctaj total | 100 |