why is this answer wrong?

Правка en1, от kofhearts, 2015-12-29 07:17:26

I am confused by a case for the following problem

http://mirror.codeforces.com/contest/108/problem/B

the answer to the following test case is YES

7 1 2 3 4 8 16 32

I thought it was NO since the value that can fit in 16 bits, the square of that value will fit in 32 bits so therefore Tuftuf will not stop using Gava.

Thanks for the help!

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский kofhearts 2015-12-29 07:17:26 372 Initial revision (published)