Pagini recente » Borderou de evaluare (job #832338) | Borderou de evaluare (job #555703) | Borderou de evaluare (job #3280257) | Borderou de evaluare (job #2320814) | Borderou de evaluare (job #2366930)
Borderou de evaluare (job #2366930)
Raport evaluator
Compilare:
main.cpp: In function 'std::pair<long double, int> bin_search(const long double&, const int&)':
main.cpp:73:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(pos+1<w[line].size() and get_dist(0,x,D,w[line][pos+1].first)<__ans){
~~~~~^~~~~~~~~~~~~~~
main.cpp:43:26: warning: unused variable 'temp' [-Wunused-variable]
ld __ans=(ld)INT_MAX,temp;
^~~~
main.cpp:73:15: warning: 'pos' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(pos+1<w[line].size() and get_dist(0,x,D,w[line][pos+1].first)<__ans){
~~~^~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Incorect! | 0 |
2 | 2ms | 131kb | Incorect! | 0 |
3 | 2ms | 131kb | Incorect! | 0 |
4 | 3ms | 131kb | Incorect! | 0 |
5 | 3ms | 131kb | Incorect! | 0 |
6 | 3ms | 131kb | Incorect! | 0 |
7 | 4ms | 262kb | Incorect! | 0 |
8 | 7ms | 393kb | Corect! | 5 |
9 | 4ms | 262kb | Corect! | 5 |
10 | 4ms | 262kb | Incorect! | 0 |
11 | 2ms | 131kb | Corect! | 5 |
12 | 15ms | 655kb | Minim incorect! | 3 |
13 | 18ms | 917kb | Incorect! | 0 |
14 | 18ms | 786kb | Incorect! | 0 |
15 | 23ms | 1048kb | Incorect! | 0 |
16 | 23ms | 1048kb | Incorect! | 0 |
17 | 25ms | 1048kb | Incorect! | 0 |
18 | 27ms | 1048kb | Incorect! | 0 |
19 | 27ms | 1048kb | Incorect! | 0 |
20 | 28ms | 1048kb | Incorect! | 0 |
Punctaj total | 18 |