Borderou de evaluare (job #688524)

Utilizator avatar Senny Ursu Arsenie Senny IP ascuns
Problemă Căutare1 (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 18 ian. 2023 21:38:41 Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int tipa_binary_search(std::vector<int>, int)': main.cpp:5:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare] 5 | for (int i = 0; i < numere.size(); i++){ | ~~^~~~~~~~~~~~~~~ main.cpp: In function 'int get_index(std::vector<int>, int)': main.cpp:14:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare] 14 | for (int i = 0; i < vector2.size(); i++){ | ~~^~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:23:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 23 | freopen("cautare1.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:24:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 24 | freopen("cautare1.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb Incorect 0
2 7 ms 114 kb Incorect 0
3 156 ms 364 kb Time limit exceeded 0
4 156 ms 499 kb Time limit exceeded 0
5 152 ms 638 kb Time limit exceeded 0
6 158 ms 1007 kb Time limit exceeded 0
7 153 ms 897 kb Time limit exceeded 0
8 153 ms 901 kb Time limit exceeded 0
9 158 ms 1028 kb Time limit exceeded 0
10 150 ms 770 kb Time limit exceeded 0
Punctaj total 0