Borderou de evaluare (job #2716966)

Utilizator Teodor94Teodor Plop Teodor94 Data 6 martie 2021 00:13:36
Problema Abx Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 45

Raport evaluator

Compilare: main.cpp: In function 'int binarySearch(long long int, const std::vector<long long int>&)': main.cpp:31:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (i + step < v.size() && v[i + step] <= value) ~~~~~~~~~^~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:50:10: warning: statement has no effect [-Wunused-value] power; ^ main.cpp:66:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (pos + 1 < powers.size() && powers[pos + 1] - x < x - power) ~~~~~~~~^~~~~~~~~~~~~~~ main.cpp:46:32: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%lld", &n, &m); ^ main.cpp:60:28: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%lld", &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK5
22ms131kbOK5
32ms131kbOK5
42ms131kbOK5
52ms131kbOK5
63ms131kbIncorect0
73ms131kbIncorect0
86ms131kbIncorect0
96ms131kbIncorect0
106ms131kbIncorect0
116ms131kbIncorect0
126ms131kbOK5
137ms131kbOK5
1420ms782kbOK5
1520ms782kbOK5
1620ms782kbIncorect0
17273ms782kbIncorect0
181000ms1302kbTime limit exceeded0
191000ms1302kbTime limit exceeded0
201001ms1302kbTime limit exceeded0
Punctaj total45

Ceva nu functioneaza?