- Owner
- Bogdan Tudor Alex
- Problem
- Subnumbers
- Contest
- MindCoding 2017 Round 4 Bitdefender (Div. 1)
- Source
- 1.04KB
- Result
- Wrong answer
Compiler output
prog.cpp: In function 'int main()': prog.cpp:9:18: warning: iteration 99998u invokes undefined behavior [-Waggressive-loop-optimizations] if(ciur[i]==1) ^ prog.cpp:8:5: note: containing loop for(int i=2;i<=100000;++i) ^ prog.cpp:7:40: warning: iteration 99999u invokes undefined behavior [-Waggressive-loop-optimizations] for(int i=1;i<=100000;++i)ciur[i]=1; ^ prog.cpp:7:5: note: containing loop for(int i=1;i<=100000;++i)ciur[i]=1; ^
Results
Test number Result Time 1 Ok 0.5532s 2 Ok 0.5485s 3 Ok 0.5205s 4 Wrong answer 0.5308s