Pagini recente » Cod sursa (job #628685) | Cod sursa (job #2745877) | Monitorul de evaluare | Cod sursa (job #2836596) | Borderou de evaluare (job #1181363)
Borderou de evaluare (job #1181363)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:57:36: 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:58:38: 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:61:32: 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:63:57: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=P;i++) scanf("%d%d", &Cost[i], &C[i]);
^
user.cpp:68:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 308kb | OK | 10 |
| 2 | 0ms | 292kb | OK | 10 |
| 3 | 84ms | 692kb | OK | 10 |
| 4 | Depăşit | 696kb | Time limit exceeded. | 0 |
| 5 | 8ms | 324kb | OK | 10 |
| 6 | 0ms | 328kb | OK | 10 |
| 7 | 4ms | 412kb | OK | 10 |
| 8 | 0ms | 308kb | OK | 10 |
| 9 | 44ms | 560kb | OK | 10 |
| 10 | Depăşit | 676kb | Time limit exceeded. | 0 |
| Punctaj total | 80 |