Borderou de evaluare (job #2465689)

Utilizator LucaSeriSeritan Luca LucaSeri Data 30 septembrie 2019 18:20:10
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
1195ms9568kbOK520
2113ms8912kbOK5
3193ms9568kbOK5
4146ms9445kbOK5
5742ms9306kbOK55
6228ms9568kbOK525
7296ms9568kbOK5
8226ms9568kbOK5
9277ms9568kbOK5
10223ms9437kbOK5
11347ms9437kbOK520
12576ms9830kbOK5
13527ms9830kbOK5
14474ms9961kbOK5
151500ms9175kbTime limit exceeded00
161501ms9175kbTime limit exceeded0
171502ms9150kbTime limit exceeded0
181503ms9306kbTime limit exceeded0
191500ms9306kbTime limit exceeded0
201502ms9314kbTime limit exceeded0
Punctaj total70

Ceva nu functioneaza?