Pagini recente » Borderou de evaluare (job #1247848) | Borderou de evaluare (job #2146902) | Borderou de evaluare (job #2291575) | Borderou de evaluare (job #1006020) | Borderou de evaluare (job #1300141)
Borderou de evaluare (job #1300141)
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 | 272kb | OK | 10 |
2 | 0ms | 288kb | OK | 10 |
3 | 660ms | 404kb | OK | 10 |
4 | 636ms | 288kb | OK | 10 |
5 | 92ms | 936kb | OK | 10 |
6 | 56ms | 940kb | OK | 10 |
7 | 748ms | 944kb | OK | 10 |
8 | 736ms | 944kb | OK | 10 |
9 | 760ms | 944kb | OK | 10 |
10 | 756ms | 940kb | OK | 10 |
Punctaj total | 100 |