Borderou de evaluare (job #2465678)

Utilizator LucaSeriSeritan Luca LucaSeri Data 30 septembrie 2019 18:14: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
1240ms17956kbOK520
2143ms17301kbOK5
3240ms17956kbOK5
4182ms17825kbOK5
5990ms17694kbOK55
6269ms17956kbOK525
7354ms17956kbOK5
8274ms17956kbOK5
9371ms17956kbOK5
10240ms17825kbOK5
11431ms17825kbOK520
12651ms18219kbOK5
13668ms18219kbOK5
14601ms18219kbOK5
151503ms17563kbTime limit exceeded00
161500ms17563kbTime limit exceeded0
171503ms17301kbTime limit exceeded0
181502ms17301kbTime limit exceeded0
191502ms17301kbTime limit exceeded0
201500ms17301kbTime limit exceeded0
Punctaj total70

Ceva nu functioneaza?