Pagini recente » Borderou de evaluare (job #2831094) | Borderou de evaluare (job #2187865) | Borderou de evaluare (job #1810213) | Borderou de evaluare (job #1921914) | Borderou de evaluare (job #1474205)
Borderou de evaluare (job #1474205)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:27:52: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
rmq[i][j]=minim(rmq[i][j-1],rmq[i+(1<<j-1)][j-1]);
^
user.cpp:29:15: warning: unused variable ‘poz’ [-Wunused-variable]
int st,dr,poz,log;
^
user.cpp:14:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rmq.in","r",stdin);
^
user.cpp:15:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rmq.out","w",stdout);
^
user.cpp:16: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:18:40: 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",&x[i]);
^
user.cpp:32:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&st,&dr);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 276kb | OK | 10 | 10 |
| 2 | 0ms | 284kb | OK | 10 | 10 |
| 3 | 0ms | 680kb | OK | 10 | 10 |
| 4 | 104ms | 4188kb | OK | 10 | 10 |
| 5 | 116ms | 4184kb | OK | 10 | 20 |
| 6 | 652ms | 4964kb | OK | 10 |
| 7 | 664ms | 6528kb | OK | 10 | 10 |
| 8 | 808ms | 8080kb | OK | 10 | 10 |
| 9 | 868ms | 8080kb | OK | 10 | 10 |
| 10 | 964ms | 8080kb | OK | 10 | 10 |
| Punctaj total | 100 |