Borderou de evaluare (job #2465690)

Utilizator LucaSeriSeritan Luca LucaSeri Data 30 septembrie 2019 18:21:04
Problema Chimichangas Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 70

Raport evaluator

Compilare: main.cpp: In function 'int binarySearch(int, vi&)': main.cpp:66:19: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] int m = l + r >> 1; ~~^~~ main.cpp: In function 'Matrix mult(Matrix, Matrix)': main.cpp:85:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < a.size(); ++i) { ~~^~~~~~~~~~ main.cpp:86:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0; j < b[0].size(); ++j) { ~~^~~~~~~~~~~~~ main.cpp:87:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int k = 0; k < a[0].size(); ++k) { ~~^~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:10: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:188:9: note: in expansion of macro 'FO' FO(chimichangas) ^~ main.cpp:10: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:188:9: note: in expansion of macro 'FO' FO(chimichangas) ^~ main.cpp:198:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &k); ^ main.cpp:206:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^ main.cpp:219:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &q); ^ main.cpp:223:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1186ms9568kbOK520
2117ms8912kbOK5
3184ms9568kbOK5
4135ms9437kbOK5
5718ms9306kbOK55
6228ms9568kbOK525
7298ms9568kbOK5
8225ms9568kbOK5
9327ms9568kbOK5
10188ms9437kbOK5
11349ms9437kbOK520
12528ms9830kbOK5
13512ms9961kbOK5
14551ms9830kbOK5
151503ms9175kbTime limit exceeded00
161400ms10354kbOK5
171502ms9175kbTime limit exceeded0
181503ms9306kbTime limit exceeded0
191500ms9306kbTime limit exceeded0
201500ms9318kbTime limit exceeded0
Punctaj total70

Ceva nu functioneaza?