Borderou de evaluare (job #2465654)

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

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 'void change(int, int)': main.cpp:137:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] change(l, l+r>>1); ~^~ main.cpp:138:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] change((l+r>>1) + 1, r); ~^~ 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:203: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:203:9: note: in expansion of macro 'FO' FO(chimichangas) ^~ main.cpp:213: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:221:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^ main.cpp:234:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &q); ^ main.cpp:238: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
1203ms9568kbOK50
2112ms8912kbOK5
3191ms9568kbOK5
4160ms9699kbIncorect0
5858ms10354kbOK55
6237ms9699kbOK50
7304ms9961kbOK5
8231ms9699kbIncorect0
9344ms9830kbOK5
10222ms9699kbIncorect0
11352ms10092kbIncorect00
12586ms10485kbIncorect0
13534ms10616kbIncorect0
14563ms10354kbOK5
151501ms11403kbTime limit exceeded00
161420ms11456kbIncorect0
171503ms11272kbTime limit exceeded0
181502ms11403kbTime limit exceeded0
191500ms11403kbTime limit exceeded0
201503ms11403kbTime limit exceeded0
Punctaj total5

Ceva nu functioneaza?