Pagini recente » Borderou de evaluare (job #1786199) | Borderou de evaluare (job #1423341) | Borderou de evaluare (job #1798472) | Borderou de evaluare (job #2717458) | Borderou de evaluare (job #2989662)
Borderou de evaluare (job #2989662)
Raport evaluator
Compilare:
main.cpp: In function 'int lowerBound(std::vector<long long int>, int, int, long long int)':
main.cpp:65:12: warning: 'indexFound' may be used uninitialized in this function [-Wmaybe-uninitialized]
65 | return indexFound;
| ^~~~~~~~~~
main.cpp: In function 'int upperBound(std::vector<long long int>, int, int, long long int)':
main.cpp:82:12: warning: 'indexFound' may be used uninitialized in this function [-Wmaybe-uninitialized]
82 | return indexFound;
| ^~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:44:39: warning: 'indexFound' may be used uninitialized in this function [-Wmaybe-uninitialized]
44 | fout << indexFound + 1 << '\n';
| ^~~~
main.cpp:40:45: warning: 'indexFound' may be used uninitialized in this function [-Wmaybe-uninitialized]
40 | fout << (indexFound - 1) + 1 << '\n';
| ^~~~
main.cpp:33:36: warning: 'indexFound' may be used uninitialized in this function [-Wmaybe-uninitialized]
33 | if(elements[indexFound - 1] == queryValue)
| ~~~~~~~~~~~^~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 184kb | Incorect | 0 | 0 |
| 2 | 0ms | 184kb | OK | 10 | 10 |
| 3 | 0ms | 184kb | OK | 10 | 10 |
| 4 | 0ms | 184kb | Incorect | 0 | 0 |
| 5 | 163ms | 446kb | Incorect | 0 | 0 |
| 6 | 501ms | 1073kb | Time limit exceeded | 0 |
| 7 | 503ms | 1867kb | Time limit exceeded | 0 | 0 |
| 8 | 500ms | 1867kb | Time limit exceeded | 0 |
| 9 | 502ms | 1867kb | Time limit exceeded | 0 |
| 10 | 502ms | 1867kb | Time limit exceeded | 0 |
| Punctaj total | 20 |