I came across the any keyword in Python a couple days ago when I was trying to solve the problem in https://helloacm.com/a-sleuth/ At that time I did not fully …
I ran into the github site today and find it very popular. Therefore I decided to register a free account and start using it. The github is also one …
The problem is from codeforces: http://www.codeforces.com/problemset/problem/158/A It is summer. The temperature today in Sheffield is 25 degree. I got to say, I feel a bit sleepy in the afternoon. …
The problem is from codeforces: http://www.codeforces.com/problemset/problem/118/A Python is good at string manipulations. The problem is easy and the solution is straightforward. Just read the problem statement carefully… I didn’t …
May 20, 2012
algorithms, beginner, code, codeforces, data structure, implementation, programming languages, python, string, technical
The problem is from codeforces: http://www.codeforces.com/problemset/problem/158/C Using a stack will help solve this problem. Luckly, python supports stack structure by using list. The append() and pop() are used to …
The problem is from codeforces: http://www.codeforces.com/problemset/problem/4/A The problem is so easy that you might even falls into the trap (you might think judging if it is even or odd). …