Pagini recente » Borderou de evaluare (job #1152819) | Borderou de evaluare (job #444636) | Borderou de evaluare (job #1332909) | Borderou de evaluare (job #2840337) | Borderou de evaluare (job #2964573)
Borderou de evaluare (job #2964573)
Raport evaluator
Compilare:
main.cpp:62:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
62 | main()
| ^~~~
main.cpp: In instantiation of 'void AINT_MAX<T>::update(int, int) [with T = int]':
main.cpp:77:30: required from here
main.cpp:59:11: warning: unused variable 'x' [-Wunused-variable]
59 | T x=update(1,0,n-1,poz,val);
| ^
main.cpp: In instantiation of 'T AINT_MAX<T>::build(int, int, int, std::vector<_RealType>&) [with T = int]':
main.cpp:51:9: required from 'AINT_MAX<T>::AINT_MAX(std::vector<_RealType>&) [with T = int]'
main.cpp:70:25: required from here
main.cpp:23:18: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
23 | int m=(st+dr>>1);
| ~~^~~
main.cpp: In instantiation of 'T AINT_MAX<T>::update(int, int, int, int, int) [with T = int]':
main.cpp:59:19: required from 'void AINT_MAX<T>::update(int, int) [with T = int]'
main.cpp:77:30: required from here
main.cpp:35:18: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
35 | int m=(st+dr>>1);
| ~~^~~
main.cpp: In instantiation of 'T AINT_MAX<T>::query(int, int, int, int, int) [with T = int]':
main.cpp:55:21: required from 'T AINT_MAX<T>::query(int, int) [with T = int]'
main.cpp:81:37: required from here
main.cpp:43:18: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
43 | int m=(st+dr>>1);
| ~~^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 184kb | OK | 10 | 10 |
2 | 0ms | 184kb | OK | 10 | 10 |
3 | 5ms | 315kb | OK | 10 | 10 |
4 | 15ms | 430kb | OK | 10 | 10 |
5 | 17ms | 1716kb | OK | 10 | 10 |
6 | 24ms | 2093kb | OK | 10 | 50 |
7 | 72ms | 2883kb | OK | 10 |
8 | 70ms | 2215kb | OK | 10 |
9 | 70ms | 2355kb | OK | 10 |
10 | 66ms | 2523kb | OK | 10 |
Punctaj total | 100 |