Krishnan
Showing posts with label
Codechef
.
Show all posts
Showing posts with label
Codechef
.
Show all posts
Thursday, 7 November 2013
CODECHEF NOV13 PRETNUM
Problem Statement
Given a range
a
to
b
, we have to all numbers which have prime number of divisors.
Eg:
In the range 1 to 10 , the numbers are 2, 3, 4, 5, 7, 9
For a brief problem statement
visit this link
.
Read more »
Wednesday, 16 October 2013
CODECHEF COOK38 RRMATRIX
Problem Statement
Let
'A'
be a
R x C
Matrix. Elements in 'A' are filled from 1 to R*C in
row-major
order.
'B'
is also a
R x C
Matrix where the elements are filled in
column-major
order.
Find number of cells which satisfy the property
A
i,j
== B
i,j.
For a brief problem statement
click here
.
Read more »
Older Posts
Home
Subscribe to:
Posts (Atom)