Pagini recente » Cod sursa (job #1848331) | Borderou de evaluare (job #1538674) | Borderou de evaluare (job #1542145) | Borderou de evaluare (job #1849921) | Borderou de evaluare (job #1300119)
Borderou de evaluare (job #1300119)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:7: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:8: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:9: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:10: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:27: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 | 264kb | Incorect | 0 |
| 2 | 0ms | 280kb | Incorect | 0 |
| 3 | 668ms | 424kb | OK | 10 |
| 4 | 632ms | 280kb | Incorect | 0 |
| 5 | 92ms | Depăşit | Memory limit exceeded. | 0 |
| 6 | 56ms | Depăşit | Memory limit exceeded. | 0 |
| 7 | 752ms | Depăşit | Memory limit exceeded. | 0 |
| 8 | 736ms | Depăşit | Memory limit exceeded. | 0 |
| 9 | 752ms | Depăşit | Memory limit exceeded. | 0 |
| 10 | 744ms | Depăşit | Memory limit exceeded. | 0 |
| Punctaj total | 10 |