Borderou de evaluare (job #2465666)

Utilizator LucaSeriSeritan Luca LucaSeri Data 30 septembrie 2019 18:07:17
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
1246ms17956kbOK50
2132ms17301kbOK5
3218ms17956kbOK5
4181ms18087kbIncorect0
5985ms18743kbOK55
6269ms18087kbOK50
7423ms18219kbOK5
8267ms18219kbIncorect0
9339ms18219kbOK5
10256ms17956kbIncorect0
11463ms18481kbIncorect00
12768ms18874kbIncorect0
13775ms19005kbIncorect0
14712ms18743kbOK5
151501ms19636kbTime limit exceeded00
161500ms18350kbTime limit exceeded0
171505ms18481kbTime limit exceeded0
181503ms18350kbTime limit exceeded0
191502ms19808kbTime limit exceeded0
201500ms18350kbTime limit exceeded0
Punctaj total5

Ceva nu functioneaza?