Borderou de evaluare (job #2617077)

Utilizator pro119Manea Dumitru pro119 Data 20 mai 2020 18:07:45
Problema Cautare binara Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int bsearch(std::vector<int>, int)': main.cpp:13:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (a[mid]==x && (a[mid+1]!=x || mid+1>a.size()-1)) ~~~~~^~~~~~~~~~~ main.cpp: In function 'int lwr_bound(std::vector<int>, int)': main.cpp:25:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (a[mid]<=x && (a[mid+1]>x || mid+1>a.size()-1)) ~~~~~^~~~~~~~~~~ main.cpp: In function 'int bsearch(std::vector<int>, int)': main.cpp:20:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ main.cpp: In function 'int lwr_bound(std::vector<int>, int)': main.cpp:31:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ main.cpp: In function 'int upp_bound(std::vector<int>, int)': main.cpp:41:1: warning: control reaches end of non-void function [-Wreturn-type] } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1500ms131kbTime limit exceeded00
2500ms131kbTime limit exceeded00
3500ms131kbTime limit exceeded00
4500ms131kbTime limit exceeded00
5503ms262kbTime limit exceeded00
6500ms524kbTime limit exceeded0
7503ms917kbTime limit exceeded00
8500ms917kbTime limit exceeded0
9503ms917kbTime limit exceeded0
10500ms917kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?