mamhh's blog

By mamhh, 13 years ago, In English
Hi everybody,
Unfortunately a lot of  programmers failed in ( 65A:  Harry Potter and Three Spells ) :( :( .
Really it was very tricky problem. the problem statement is easy. but the point here is to cover all possible cases.
anyhow, I failed pass it during the contest. many thanks to those who hacked me ;)
I love this type of problems so much , and I think each round should contain at least one problem of that type.
waiting ur comments :)......

By the way: I brought another tricky&crazy problem from SPOJ .here it is :

Problem Statement :    ( No Problem Statement )

Input: 
10
123
8209

Output:
1
0
4
.....................................................................................................
waiting ur Solutions. ;)
best wishes for allllllll :)
  • Vote: I like it
  • +1
  • Vote: I do not like it

| Write comment?
13 years ago, # |
  Vote: I like it 0 Vote: I do not like it
By the way: I brought another tricky&crazy problem from SPOJ .here it is :
This is the same problem as SRM483 DIV2 250, isn't it?
13 years ago, # |
  Vote: I like it 0 Vote: I do not like it
Hi mamhh :)

> I love this type of problems so much
Then, there is a good problem for you in Codeforces past comtest.
Here : Tic-tac-toe
13 years ago, # |
  Vote: I like it 0 Vote: I do not like it
Total number of holes in digits of number. It's classical problem.
13 years ago, # |
  Vote: I like it 0 Vote: I do not like it
hey can anyone give me the link to the spoj problem, with no problem statement.       
Thanks in advance.