Borderou de evaluare (job #3313151)

Utilizator tempeakStanescu Vlad tempeak Data 2 octombrie 2025 17:32:13
Problema Coins Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:19:25: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] 19 | if (x&(1<<i)==0&&x&(1<<i+1)==1&&c[x-1<<i]==0) c[x]=1; | ~~~~~~^~~ main.cpp:19:37: warning: suggest parentheses around '+' inside '<<' [-Wparentheses] 19 | if (x&(1<<i)==0&&x&(1<<i+1)==1&&c[x-1<<i]==0) c[x]=1; | ~^~ main.cpp:19:40: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] 19 | if (x&(1<<i)==0&&x&(1<<i+1)==1&&c[x-1<<i]==0) c[x]=1; | ~~~~~~~~^~~ main.cpp:19:48: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 19 | if (x&(1<<i)==0&&x&(1<<i+1)==1&&c[x-1<<i]==0) c[x]=1; | ~^~ main.cpp:16:15: warning: iteration 4998 invokes undefined behavior [-Waggressive-loop-optimizations] 16 | if(c[x]!=1) | ~~~^ main.cpp:14:14: note: within this loop 14 | for(x=2;x<(1<<22);x++) | ~^~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
19ms405kbKilled by Signal 110
24ms409kbKilled by Signal 110
39ms409kbKilled by Signal 110
45ms409kbKilled by Signal 110
55ms409kbKilled by Signal 110
68ms405kbKilled by Signal 110
72ms409kbKilled by Signal 110
84ms409kbKilled by Signal 110
98ms409kbKilled by Signal 110
108ms409kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?