Borderou de evaluare (job #2465688)

Utilizator LucaSeriSeritan Luca LucaSeri Data 30 septembrie 2019 18:19:24
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:189: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:189:9: note: in expansion of macro 'FO' FO(chimichangas) ^~ main.cpp:199: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:207:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^ main.cpp:220:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &q); ^ main.cpp:224: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
1183ms9568kbOK520
2108ms8912kbOK5
3191ms9568kbOK5
4155ms9437kbOK5
5739ms9306kbOK55
6228ms9568kbOK525
7293ms9568kbOK5
8219ms9568kbOK5
9334ms9568kbOK5
10219ms9568kbOK5
11337ms9437kbOK520
12516ms9699kbOK5
13601ms9830kbOK5
14567ms9830kbOK5
151500ms9306kbTime limit exceeded00
161465ms10354kbOK5
171502ms8916kbTime limit exceeded0
181502ms9306kbTime limit exceeded0
191501ms9306kbTime limit exceeded0
201503ms9306kbTime limit exceeded0
Punctaj total70

Ceva nu functioneaza?