Borderou de evaluare (job #2261239)

Utilizator LucaSeriSeritan Luca LucaSeri Data 16 octombrie 2018 09:34:40
Problema Poligon7 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 60

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:147:15: warning: statement has no effect [-Wunused-value] cout.fixed; ^ main.cpp: In function 'void solve()': main.cpp:96:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ main.cpp:99:45: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &p[i].first, &p[i].second); ^ main.cpp: In function 'int main()': main.cpp:7:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define FO(x) {freopen(#x".in","r",stdin);freopen(#x".out","w",stdout);} ^ main.cpp:137:5: note: in expansion of macro 'FO' FO(poligon7); ^~ main.cpp:7:71: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define FO(x) {freopen(#x".in","r",stdin);freopen(#x".out","w",stdout);} ^ main.cpp:137:5: note: in expansion of macro 'FO' FO(poligon7); ^~ main.cpp:149:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &o); ^ main.cpp:151:20: 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
12ms262kbCorect4
22ms262kbCorect1
32ms262kbCorect4
42ms262kbCorect1
52ms262kbCorect4
62ms262kbCorect1
74ms262kbCorect4
84ms262kbCorect1
94ms262kbCorect4
104ms262kbCorect1
114ms262kbCorect4
124ms262kbCorect1
139ms393kbCorect4
149ms393kbCorect1
157ms393kbCorect4
167ms393kbCorect1
1710ms393kbCorect4
1810ms393kbCorect1
19169ms3633kbCorect4
20169ms3629kbCorect1
21199ms3981kbCorect4
22198ms3981kbCorect1
23165ms3407kbCorect4
24165ms3436kbCorect1
251203ms57454kbTime limit exceeded0
261204ms57589kbTime limit exceeded0
271203ms57049kbTime limit exceeded0
281200ms57180kbTime limit exceeded0
291203ms58347kbTime limit exceeded0
301204ms58466kbTime limit exceeded0
311204ms58355kbTime limit exceeded0
321200ms58466kbTime limit exceeded0
331200ms57282kbTime limit exceeded0
341204ms57438kbTime limit exceeded0
351204ms57307kbTime limit exceeded0
361204ms57421kbTime limit exceeded0
371203ms56655kbTime limit exceeded0
381204ms56774kbTime limit exceeded0
391203ms57278kbTime limit exceeded0
401203ms57425kbTime limit exceeded0
Punctaj total60

Ceva nu functioneaza?