Pagini recente » Borderou de evaluare (job #362858) | Borderou de evaluare (job #1386717)
Borderou de evaluare (job #1386717)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("copaci2.in","r",stdin);
^
user.cpp:21:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("copaci2.out","w",stdout);
^
user.cpp:22:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:23:58: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i = 1; i <= n; ++i) scanf("%d%d",&h[i],&c[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 196ms | 300kb | OK | 10 |
2 | 0ms | 292kb | Incorect | 0 |
3 | 0ms | 300kb | OK | 10 |
4 | 12ms | 300kb | Incorect | 0 |
5 | 24ms | 296kb | Incorect | 0 |
6 | 200ms | 300kb | Incorect | 0 |
7 | 80ms | 292kb | Incorect | 0 |
8 | 112ms | 296kb | Incorect | 0 |
9 | 120ms | 292kb | Incorect | 0 |
10 | 152ms | 296kb | OK | 10 |
Punctaj total | 30 |