Borderou de evaluare (job #2391565)

Utilizator usureluflorianUsurelu Florian-Robert usureluflorian Data 28 martie 2019 23:24:11
Problema Android Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp:7:21: warning: suggest parentheses around '+' inside '<<' [-Wparentheses] const int umax=1<<20+3; ~~^~ main.cpp: In function 'void solve(int, int)': main.cpp:38:20: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] if(cod&mask==0) ok=2; ~~~~^~~ main.cpp:52:20: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] if(cod&mask==0) ok=2; ~~~~^~~ main.cpp:66:20: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] if(cod&mask==0) ok=2; ~~~~^~~ main.cpp:80:20: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] if(cod&mask==0) ok=2; ~~~~^~~ main.cpp:93:20: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] if(cod&mask==0) ok=2; ~~~~^~~ main.cpp:106:20: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] if(cod&mask==0) ok=2; ~~~~^~~ main.cpp:119:20: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] if(cod&mask==0) ok=2; ~~~~^~~ main.cpp:132:20: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] if(cod&mask==0) ok=2; ~~~~^~~ main.cpp: In function 'int main()': main.cpp:156:26: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] if(lim&(1<<j)==0) continue; ~~~~~~^~~ main.cpp:160:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int k=0;k<act.size();++k) ~^~~~~~~~~~~ main.cpp:162:28: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] if(i&(1<<k)==0) continue; ~~~~~~^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
112ms262kbIncorect00
24ms131kbIncorect00
32503ms10616kbTime limit exceeded00
41284ms5636kbIncorect0
52503ms7864kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?