Pagini recente » Borderou de evaluare (job #1040092) | Borderou de evaluare (job #2271331) | Borderou de evaluare (job #778819) | Borderou de evaluare (job #1094246) | Borderou de evaluare (job #2280258)
Borderou de evaluare (job #2280258)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:25:45: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
d[i][p]=min(d[i][p-1], d[i+(1<<p-1)][p-1]);
~^~
main.cpp:29:10: warning: statement has no effect [-Wunused-value]
for(m;m>0;m--)
^
main.cpp:14:34: 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);
^
main.cpp:15:36: 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);
^
main.cpp:18:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
main.cpp:20:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
main.cpp:32:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%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 | 7ms | 1179kb | OK | 10 | 10 |
4 | 157ms | 10747kb | OK | 10 | 10 |
5 | 178ms | 10878kb | OK | 10 | 0 |
6 | 20ms | 262kb | Wall time limit exceeded | 0 |
7 | 20ms | 262kb | Wall time limit exceeded | 0 | 0 |
8 | 20ms | 262kb | Wall time limit exceeded | 0 | 0 |
9 | 20ms | 262kb | Wall time limit exceeded | 0 | 0 |
10 | 20ms | 262kb | Wall time limit exceeded | 0 | 0 |
Punctaj total | 40 |