Borderou de evaluare (job #2483109)

Utilizator LucaSeriSeritan Luca LucaSeri Data 29 octombrie 2019 12:22:44
Problema Bignumber Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int binarySearch(int, vi&)': main.cpp:68:19: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] int m = l + r >> 1; ~~^~~ main.cpp: In function 'Matrix mult(Matrix, Matrix)': main.cpp:87:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < a.size(); ++i) { ~~^~~~~~~~~~ main.cpp:88:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0; j < b[0].size(); ++j) { ~~^~~~~~~~~~~~~ main.cpp:89: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 update(int, int)': main.cpp:103:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(;p<MAXN;p+=p&-p)aib[p]+=v;return; ^~~ main.cpp:103:35: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' for(;p<MAXN;p+=p&-p)aib[p]+=v;return; ^~~~~~ main.cpp: In function 'int query(int)': main.cpp:107:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(;p;p-=p&-p)ret+=aib[p];return ret; ^~~ main.cpp:107:32: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' for(;p;p-=p&-p)ret+=aib[p];return ret; ^~~~~~ main.cpp: In function 'int main()': main.cpp:13: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:115:9: note: in expansion of macro 'FO' FO(bignumber); ^~ main.cpp:13: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:115:9: note: in expansion of macro 'FO' FO(bignumber); ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK5
22ms131kbOK5
32ms131kbOK5
43ms131kbOK5
54ms262kbOK5
65ms262kbOK5
727ms786kbOK5
829ms917kbOK5
932ms917kbOK5
1035ms917kbOK5
1144ms1310kbOK5
1258ms1572kbOK5
13111ms2646kbOK5
14132ms4345kbOK5
15174ms5263kbOK5
16233ms6320kbOK5
17421ms11300kbOK5
18447ms11038kbOK5
19458ms11038kbOK5
20451ms11067kbOK5
Punctaj total100

Ceva nu functioneaza?