Codeforces: A. Almost Prime
July 6, 2012
algorithms, beginner, brute force, codeforces, implementation, math, python, technical
No Comments
The problem is from codeforces: http://www.codeforces.com/problemset/problem/26/A The input range is small which means even the worst brute-force methods can pass the test. The straightforward implementation is . Defining a …