Consider such a question
Take a program
P
and an integern
, check whetherP
halts. You may assume that ifP
halts thenP
halts inn
steps.
and solution 1
(P,n)=>!run(P,timeout=n us).timeout
solution 2
P=>!run(P,timeout=9 us).timeout
where S1 assumes n
steps will finish in n
us and S2 assume in 9 us.
Do we allow such assumption in code-golf?