Pagini recente » Cod sursa (job #2656376) | Cod sursa (job #1369001) | Cod sursa (job #3152433) | Cod sursa (job #3165983) | Borderou de evaluare (job #885130)
Borderou de evaluare (job #885130)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:43:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short unsigned int*’ [-Wformat=]
scanf("%d %d", &T[i], &C[i]);
^
user.cpp:43:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short unsigned int*’ [-Wformat=]
user.cpp:31:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zmeu2.in","r",stdin);
^
user.cpp:32:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zmeu2.out","w", stdout);
^
user.cpp:41:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &N, &P, &K);
^
user.cpp:43:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &T[i], &C[i]);
^
user.cpp:54:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &j, &k);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 488kb | OK | 10 |
| 2 | 0ms | 484kb | Incorect | 0 |
| 3 | Depăşit | 464kb | Time limit exceeded. | 0 |
| 4 | Depăşit | 468kb | Time limit exceeded. | 0 |
| 5 | 8ms | 488kb | Incorect | 0 |
| 6 | 0ms | 492kb | OK | 10 |
| 7 | 8ms | 520kb | OK | 10 |
| 8 | 0ms | 488kb | OK | 10 |
| 9 | 88ms | 592kb | OK | 10 |
| 10 | Depăşit | 568kb | Time limit exceeded. | 0 |
| Punctaj total | 50 |