More solutions (fewer than 10 lines) to some SPOJ classical problems using Python. Note: SPOJ may prevent Python from being used for solving some problems or set time limits suitable only for compiled languages. some of these were originally written in Perl and have been rewritten in Python. Many solutions have Perl-like references and influences […]
102 concise rough-draft Python programs concentrating on formulaic solutions to easier problems on SPOJ.
Make plurals of English words from the given input
Build a fence to maximize an area enclosed between the fence and a fixed wall
Add two reversed numbers and output their reversed sum
Find the number of trailing zeros in a factorial
Find the largest volume of a cylinder cut and formed from a sheet of paper
How many 8 × 8 chess boards are embedded in a painting which consists solely of black and white squares, arranged in a checkered pattern