Pagini recente » Borderou de evaluare (job #3336666) | Borderou de evaluare (job #1614718) | Borderou de evaluare (job #3337864) | Borderou de evaluare (job #1015359) | Borderou de evaluare (job #1497086)
Borderou de evaluare (job #1497086)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:69:38: 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:70:40: 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:71:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &k);
^
user.cpp:72:60: 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 | 108ms | 296kb | OK | 10 |
| 2 | 0ms | 300kb | OK | 10 |
| 3 | 4ms | 292kb | OK | 10 |
| 4 | 12ms | 296kb | OK | 10 |
| 5 | 20ms | 296kb | OK | 10 |
| 6 | 140ms | 292kb | OK | 10 |
| 7 | 72ms | 300kb | OK | 10 |
| 8 | 84ms | 300kb | OK | 10 |
| 9 | 92ms | 296kb | OK | 10 |
| 10 | 112ms | 300kb | OK | 10 |
| Punctaj total | 100 |