Page 1 of 1

Problem 11556-Wrong Data

Posted: Fri Jun 08, 2012 11:55 pm
by Taman
Input
The input file contains several test cases, each of them as described below.

The input consists of two integers N ( 1<=N<=10^15 ) and b ( 0<b<50 ), giving the number of files in your collection and the maximum number of bits a compressed file is allowed to have.
But I'm sure that there are cases where b>50. I tested with my AC code just adding a condition that if(b>50)while(1) and I got Time Limit Exceeded.