Borderou de evaluare (job #2964574)

Utilizator NutaAlexandruASN49K NutaAlexandru Data 13 ianuarie 2023 11:21:43
Problema Arbori de intervale Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

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, T) [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, T) [with T = int]': main.cpp:59:19: required from 'void AINT_MAX<T>::update(int, T) [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
10ms184kbOK1010
20ms184kbOK1010
32ms315kbOK1010
413ms434kbOK1010
519ms1683kbOK1010
623ms2129kbOK1050
772ms2969kbOK10
869ms2215kbOK10
967ms2420kbOK10
1068ms2506kbOK10
Punctaj total100

Ceva nu functioneaza?