Pagini recente » Borderou de evaluare (job #2830021) | Borderou de evaluare (job #2705448) | Borderou de evaluare (job #1411093) | Borderou de evaluare (job #2677964) | Borderou de evaluare (job #1534877)
Borderou de evaluare (job #1534877)
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 | 276kb | OK | 10 |
3 | 0ms | 272kb | OK | 10 |
4 | 0ms | 272kb | OK | 10 |
5 | 0ms | 296kb | OK | 10 |
6 | 0ms | 292kb | OK | 10 |
7 | 20ms | 424kb | OK | 10 |
8 | 20ms | 424kb | OK | 10 |
9 | 52ms | 624kb | OK | 10 |
10 | 48ms | 624kb | OK | 10 |
Punctaj total | 100 |