Pagini recente » Borderou de evaluare (job #505308) | Borderou de evaluare (job #923730) | Borderou de evaluare (job #300889) | Borderou de evaluare (job #90164) | Borderou de evaluare (job #2785047)
Borderou de evaluare (job #2785047)
Raport evaluator
Compilare:
main.cpp:2:2: warning: #warning e scrisa cu ceva mai mult decat dosul, dar am verificat cu brutu si da [-Wcpp]
2 | #warning e scrisa cu ceva mai mult decat dosul, dar am verificat cu brutu si da
| ^~~~~~~
main.cpp: In function 'void CHT::push(int, int, int)':
main.cpp:68:17: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
68 | int mid=cl+cr>>1;
| ~~^~~
main.cpp: In function 'long long int CHT::query(int, int, int, int)':
main.cpp:87:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
87 | int mid=cl+cr>>1;
| ~~^~~
main.cpp: In function 'void CHT::findsegm(int, int, func)':
main.cpp:118:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
118 | mid=l+r>>1;
| ~^~
main.cpp:133:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
133 | mid=l+r>>1;
| ~^~
main.cpp: In function 'long long int CHT::query(int, int, int, int, int)':
main.cpp:150:9: warning: unused variable 'mn' [-Wunused-variable]
150 | int mn,mx,mid=(cl+cr)/2;
| ^~
main.cpp:150:12: warning: unused variable 'mx' [-Wunused-variable]
150 | int mn,mx,mid=(cl+cr)/2;
| ^~
main.cpp: At global scope:
main.cpp:27:13: warning: 'long long int nabsu(int)' defined but not used [-Wunused-function]
27 | #define abs nabsu
| ^~~~~
main.cpp:29:18: note: in expansion of macro 'abs'
29 | static long long abs(int x) {
| ^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 19ms | 11296kb | OK | 10 |
2 | 39ms | 11317kb | OK | 10 |
3 | 623ms | 15634kb | OK | 10 |
4 | 1402ms | 19054kb | OK | 10 |
5 | 2024ms | 18522kb | OK | 10 |
6 | 2992ms | 21549kb | OK | 10 |
7 | 3402ms | 21671kb | OK | 10 |
8 | 3693ms | 23519kb | OK | 10 |
9 | 3540ms | 22249kb | Incorect | 0 |
10 | 4432ms | 23519kb | OK | 10 |
Punctaj total | 90 |