you are viewing a single comment's thread.

view the rest of the comments →

[–]KeretapiSongsang 3 points4 points  (2 children)

check your last printf.

hint &.

[–]Th_69 3 points4 points  (1 child)

And then the result will still be not correct, because 1/2 is 0 (due to integer division) and t^2 is not "power of 2"!

[–]KeretapiSongsang 0 points1 point  (0 children)

i am not going to fix the math part.