some interview questions i met and remembered# Programming - 葵花宝典
c*e
1 楼
1) given the taylor seirous expension of sin(t), write the most effecient pr
ogram in c/c++ to calculate the result given a t and the number of expension
unit.
2) write code to implement itoa
3) painball game. 3 participants. A 90% chance of hiting target, B 75%, C 45
%. they are initially positioned at the verties of a equal latteral trangle.
the rule is they will all roll a fair dice once and got a number. Assuming
there is no duplicates, once each one got a number, their shooting sequence
is
ogram in c/c++ to calculate the result given a t and the number of expension
unit.
2) write code to implement itoa
3) painball game. 3 participants. A 90% chance of hiting target, B 75%, C 45
%. they are initially positioned at the verties of a equal latteral trangle.
the rule is they will all roll a fair dice once and got a number. Assuming
there is no duplicates, once each one got a number, their shooting sequence
is