Problem Set (08-Oct-2011) : Problem A: Circular Way
Problem Set (08-Oct-2011) : Problem A: Circular Way
Input: X is given as input Output: Print the answer in a single line, followed by a '\n' ( just print a new line, no need to display '\n' ) Constraints: 1 <= X <= 105 Time Limit : 1s Sample Case 1: Input: 6 Output: 2\n Explanation: 6 / 3 = 2, 2 - 1 = 1 ; 2 steps
Constraints: 1 <= N <= 1000 0 <= units[i][j] < 100 Input: N (Following N lines will have N X N integer values) Output: Maximum_units(new line) Time Limit : 1s