Pagini recente » Cod sursa (job #4920) | Cod sursa (job #2986197) | Cod sursa (job #830555) | Cod sursa (job #161990) | Borderou de evaluare (job #1565120)
Borderou de evaluare (job #1565120)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:39:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pipe.in", "r", stdin);
^
user.cpp:40:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pipe.out", "w", stdout);
^
user.cpp:45:65: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d%d\n", &N, source, source + 1, sink, sink + 1);
^
user.cpp:50:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &DP[rucsac][num[rucsac]++]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 32ms | 2752kb | OK | 10 |
| 2 | Depăşit | 2728kb | Time limit exceeded. | 0 |
| 3 | 76ms | 2756kb | OK | 10 |
| 4 | Depăşit | 2748kb | Time limit exceeded. | 0 |
| 5 | Depăşit | 2728kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 2736kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 2728kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 2732kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 2736kb | Time limit exceeded. | 0 |
| 10 | 28ms | 2752kb | OK | 10 |
| Punctaj total | 30 |