Pagini recente » Borderou de evaluare (job #1185817) | Borderou de evaluare (job #618175) | Borderou de evaluare (job #3281350) | Borderou de evaluare (job #1231325) | Borderou de evaluare (job #1530011)
Borderou de evaluare (job #1530011)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:12:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %lld",&n,&B);
^
user.cpp:13:62: 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",&a[i]),lim=max(lim,a[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:44:34: 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:45:36: 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);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 0ms | 268kb | OK | 10 |
✓ | 2 | 0ms | 272kb | OK | 10 |
✓ | 3 | 0ms | 276kb | OK | 10 |
✓ | 4 | 0ms | 272kb | OK | 10 |
✓ | 5 | 0ms | 288kb | OK | 10 |
✓ | 6 | 0ms | 296kb | OK | 10 |
✓ | 7 | 20ms | 428kb | OK | 10 |
✓ | 8 | 20ms | 432kb | OK | 10 |
✓ | 9 | 56ms | 620kb | OK | 10 |
✓ | 10 | 52ms | 628kb | OK | 10 |
Punctaj total | 100 |