Pagini recente » Borderou de evaluare (job #295492) | Borderou de evaluare (job #1774703) | Borderou de evaluare (job #2298923) | Borderou de evaluare (job #1998859) | Borderou de evaluare (job #1386729)
Borderou de evaluare (job #1386729)
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 | 172ms | 300kb | OK | 10 |
| 2 | 0ms | 296kb | OK | 10 |
| 3 | 0ms | 300kb | OK | 10 |
| 4 | 8ms | 300kb | OK | 10 |
| 5 | 20ms | 296kb | OK | 10 |
| 6 | 184ms | 304kb | OK | 10 |
| 7 | 72ms | 300kb | OK | 10 |
| 8 | 104ms | 304kb | OK | 10 |
| 9 | 104ms | 296kb | OK | 10 |
| 10 | 136ms | 300kb | OK | 10 |
| Punctaj total | 100 |