Pagini recente » Borderou de evaluare (job #315167) | Borderou de evaluare (job #1586866) | Borderou de evaluare (job #468056) | Borderou de evaluare (job #2679623) | Borderou de evaluare (job #1300143)
Borderou de evaluare (job #1300143)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("saracsaurege.in","r",stdin);
^
user.cpp:9:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("saracsaurege.out","w",stdout);
^
user.cpp:10:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:11:45: 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",&rmq[0][i]);a[i]=rmq[0][i];};
^
user.cpp:15:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&x,&y);diff=y-x+1;ll=lg[diff];sh=diff - (1<<ll);
^
user.cpp:29:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&x,&y);diff=y-x+1;ll=lg[diff];sh=diff - (1<<ll);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK | 10 |
2 | 0ms | 280kb | OK | 10 |
3 | 664ms | 396kb | OK | 10 |
4 | 628ms | 280kb | OK | 10 |
5 | 92ms | 892kb | OK | 10 |
6 | 52ms | 892kb | OK | 10 |
7 | 740ms | 888kb | OK | 10 |
8 | 736ms | 888kb | OK | 10 |
9 | 736ms | 888kb | OK | 10 |
10 | 736ms | 888kb | OK | 10 |
Punctaj total | 100 |