Pagini recente » Cod sursa (job #2805099) | Cod sursa (job #779295) | Cod sursa (job #247197) | Diferente pentru template/onis-2016/header intre reviziile 13 si 14 | Borderou de evaluare (job #1554999)
Borderou de evaluare (job #1554999)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("buget.in","r",stdin);
^
user.cpp:17:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("buget.out","w",stdout);
^
user.cpp:19:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%lld",&N,&B);
^
user.cpp:20:46: 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("%lld",&a[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 448kb | OK | 10 |
| 2 | 0ms | 448kb | OK | 10 |
| 3 | 0ms | 452kb | OK | 10 |
| 4 | 0ms | 456kb | OK | 10 |
| 5 | 0ms | 484kb | OK | 10 |
| 6 | 4ms | 488kb | OK | 10 |
| 7 | 28ms | 756kb | OK | 10 |
| 8 | 24ms | 756kb | OK | 10 |
| 9 | 68ms | 1152kb | OK | 10 |
| 10 | 64ms | 1148kb | OK | 10 |
| Punctaj total | 100 |