Pagini recente » Cod sursa (job #204889) | Cod sursa (job #815340) | Cod sursa (job #2871124) | Cod sursa (job #2368985) | Borderou de evaluare (job #1514187)
Borderou de evaluare (job #1514187)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:28: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sao.in","r",stdin);
^
user.cpp:13:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sao.out","w",stdout);
^
user.cpp:14:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %lld %lld",&n,&k,&hp);
^
user.cpp:15:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1;i<=n;i++) scanf("%lld",&t[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 288kb | OK | 10 |
| 2 | 0ms | 296kb | OK | 10 |
| 3 | 0ms | 304kb | Incorect | 0 |
| 4 | 0ms | 316kb | OK | 10 |
| 5 | 32ms | 1568kb | OK | 10 |
| 6 | 44ms | 1960kb | OK | 10 |
| 7 | 40ms | 1960kb | OK | 10 |
| 8 | 44ms | 1956kb | OK | 10 |
| 9 | 44ms | 1960kb | OK | 10 |
| 10 | 40ms | 1960kb | OK | 10 |
| Punctaj total | 90 |