Comments
0

u are given a wall of (RxC) ..

U have to tell in which order ... u can build if possible else -1

0

same here..lol..

join all same letter and u can see the shape.

0

2nd question

my sol : https://ideone.com/kDYhav

i dont know why its giving WA....please help...

+1

Thanks man...i got my mistake..

Auto comment: topic has been updated by manoj9april (previous revision, new revision, compare).

Thanks man! thats what i meant... becoz unsolved problems are the ones from which u learn the most.

It would be helpful for me as i would have problems(which i find difficult) solved at one place and, even others as (i hope so) it might be a good set of problems with explanations in comment section as i would include only those whose tutorials are a bit harder to understand.

// ^^ means exp

let u need to find (a^^p)%m, where m is prime.

and value of p cannot be stored, same as in this ques ==> fib powers cannot be stored.

using fermats theorem [ a^^(m-1) % m = 1 ]

(a^^p)%m = (a^^r)%m, where r = p % (m-1)

what all problems have u solved so far? Its been 7 days i guess. Great idea for all.

yes please. I couldn't get how to maximize??

0

ya, end time sorting would fail for this test case.

0

yes i think, end time time sorting order should give AC for this test case.

0

u also went in order of start time sorted order.

0

what do u mean by same time activities?

+1

explain ur case in a bit more detail.

0

i sorted it by start time and it worked. Sorting by start time is correct. But I couldn't think, why sorting by end time is giving wrong answer.

is it still useful to follow this sheet?

thanks!!!

what about SRM >= 710? I guess the link above isn't working for this too.

try solving 100+ questions on spoj in users sort mode.. I bet u would definitely gain something. best of luck!

may i use any other language other than Q#