Pagini recente » Borderou de evaluare (job #3154294) | Borderou de evaluare (job #190935) | Borderou de evaluare (job #2550263) | Borderou de evaluare (job #226979) | Borderou de evaluare (job #1443863)
Borderou de evaluare (job #1443863)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:76:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("atlas.in","r",stdin);
^
user.cpp:77:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("atlas.out","w",stdout);
^
user.cpp:79:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&t);
^
user.cpp:81:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&n); n+=2; a[1]=a[n]=INF;
^
user.cpp:82:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=2;i<n;i++) scanf("%lld",&a[i]);
^
user.cpp:83:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&qq);
^
user.cpp:84:54: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=qq;i++) {scanf("%lld",&Q[i].first); Q[i].second=i;}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 28ms | 1800kb | OK | 10 |
2 | 32ms | 1808kb | OK | 10 |
3 | 628ms | 5264kb | OK | 10 |
4 | 628ms | 5264kb | OK | 10 |
5 | 620ms | 5268kb | OK | 10 |
6 | 616ms | 5364kb | OK | 10 |
7 | 644ms | 5368kb | OK | 10 |
8 | 628ms | 5376kb | OK | 10 |
9 | 620ms | 5188kb | OK | 10 |
10 | 628ms | 5368kb | OK | 10 |
Punctaj total | 100 |