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 :)
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 :)
> I love this type of problems so much
Then, there is a good problem for you in Codeforces past comtest.
Here : Tic-tac-toe
Thanks in advance.