Tag: python
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). …
The problem is from codeforces: http://www.codeforces.com/problemset/problem/102/B The input can be very large, you might wonder to use long arithmetic via arrays. However, it might be easier than you think. …