Borderou de evaluare (job #2309169)

Utilizator FutymyClonePhungTienMinh FutymyClone Data 28 decembrie 2018 15:34:48
Problema Confuzie Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 40

Raport evaluator

Compilare: main.cpp: In member function 'void SegmentTree::init(int, int, int)': main.cpp:53:21: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] int mid = l + r >> 1; ~~^~~ main.cpp: In member function 'void SegmentTree::update(int, int, int, int)': main.cpp:65:21: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] int mid = l + r >> 1; ~~^~~ main.cpp: In member function 'int SegmentTree::query(int, int, int, int, int)': main.cpp:74:21: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] int mid = l + r >> 1; ~~^~~ main.cpp: In function 'int main()': main.cpp:108:43: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("confuzie.in", "r", stdin); ^ main.cpp:109:45: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("confuzie.out", "w", stdout); ^ main.cpp:112:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &q); ^ main.cpp:115:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &u, &v); ^ main.cpp:127:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &type); ^ main.cpp:129:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^ main.cpp:134:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &x, &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
140ms20971kbOK10
2332ms21364kbOK10
3813ms21757kbOK10
4816ms21757kbOK10
51303ms27656kbTime limit exceeded0
61302ms27918kbTime limit exceeded0
71302ms30146kbTime limit exceeded0
81301ms33816kbTime limit exceeded0
91302ms35258kbTime limit exceeded0
101300ms37355kbTime limit exceeded0
Punctaj total40

Ceva nu functioneaza?