Pagini recente » Borderou de evaluare (job #509020) | Borderou de evaluare (job #2466011) | Cod sursa (job #42005) | Borderou de evaluare (job #2627599) | Borderou de evaluare (job #1530967)
Borderou de evaluare (job #1530967)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:30: 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:15:32: 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:16:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %lld",&n,&s);
^
user.cpp:17:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1;i<=n;i++) scanf("%d",&t[i]);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| ✓ | 1 | 0ms | 288kb | OK | 10 |
| ✓ | 2 | 0ms | 292kb | OK | 10 |
| ✓ | 3 | 0ms | 288kb | OK | 10 |
| ✓ | 4 | 0ms | 292kb | OK | 10 |
| ✓ | 5 | 0ms | 312kb | OK | 10 |
| ✓ | 6 | 0ms | 312kb | OK | 10 |
| ✓ | 7 | 24ms | 448kb | OK | 10 |
| ✓ | 8 | 20ms | 448kb | OK | 10 |
| ✓ | 9 | 60ms | 644kb | OK | 10 |
| ✓ | 10 | 56ms | 644kb | OK | 10 |
| Punctaj total | 100 |