Pagini recente » Borderou de evaluare (job #183456) | Borderou de evaluare (job #2225460) | Borderou de evaluare (job #708065) | Borderou de evaluare (job #594411) | Borderou de evaluare (job #2280270)
Borderou de evaluare (job #2280270)
Raport evaluator
Compilare:
main.cpp: In function 'void rmq()':
main.cpp:22:38: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
d[i][p]=minim(d[i][p-1], d[i+(1<<p-1)][p-1]);
~^~
main.cpp: In function 'int main()':
main.cpp:41:7: warning: statement has no effect [-Wunused-value]
for(m; m>0; m--){
^
main.cpp:29:10: warning: unused variable 'p' [-Wunused-variable]
int i, p, j, ans;
^
main.cpp:30:29: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d", &n, &m);
^
main.cpp:32:27: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &v[i]);
^
main.cpp:42:30: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d", &i, &j);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 10 | 10 |
2 | 2ms | 131kb | OK | 10 | 10 |
3 | 6ms | 524kb | OK | 10 | 10 |
4 | 126ms | 4849kb | OK | 10 | 10 |
5 | 149ms | 4849kb | OK | 10 | 20 |
6 | 665ms | 7733kb | OK | 10 |
7 | 713ms | 9437kb | OK | 10 | 10 |
8 | 817ms | 11403kb | OK | 10 | 10 |
9 | 906ms | 11665kb | OK | 10 | 10 |
10 | 1003ms | 12189kb | OK | 10 | 10 |
Punctaj total | 100 |