Borderou de evaluare (job #2267415)

Utilizator LucaSeriSeritan Luca LucaSeri Data 23 octombrie 2018 17:19:00
Problema Vmin Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int binarySearch(std::vector<int>&, int)': main.cpp:36:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(best + (1<<step) < v.size() && v[best + (1<<step)] <= value) best += (1<<step); ~~~~~~~~~~~~~~~~~^~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:83:15: warning: statement has no effect [-Wunused-value] cout.fixed; ^ main.cpp:71:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("vmin", "r", stdin); ^ main.cpp:72:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("vmin", "w", stdout); ^ main.cpp:76:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("input", "r", stdin); ^ main.cpp:86:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ main.cpp:89:40: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &v[i].a, &v[i].b); ^ main.cpp:103:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1702ms4583kbTime limit exceeded0
2702ms4706kbTime limit exceeded0
3703ms4583kbTime limit exceeded0
4701ms4702kbTime limit exceeded0
5701ms4435kbTime limit exceeded0
6704ms4435kbTime limit exceeded0
7703ms4579kbTime limit exceeded0
8701ms4571kbTime limit exceeded0
9703ms4571kbTime limit exceeded0
10704ms4718kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?