What do you want to save?
Add Code snippet
New code examples
-
Python 2021-10-29 11:11:10
Let's consider an infinite sequence of digits constructed of ascending powers of 10 written one after another python solution
import math import sys f = lambda x: math.sqrt(2.0 * x + 0.25) - 0.5 g = lambda x: f(x) % 1 == 0 inp = map(int, sys.stdin.read().split()[1:]) print(" ".join("1" if g(x-1) else "0" for x in inp)) Add solution -
Python 2021-10-24 02:04:10
python cgi get raw post data
import sys formData = sys.stdin.read() Add solution
Best helpers
TheShade
+5
Auntkym
+5
Amalloy
+5
Mostafa 36a2
+5
RoToRa
+5
Rodrigorgs
+5
Matt2507864
+5
Nick Vaccaro
+5
Thepace
+5
Arnav Bose
+5
Waldrumpus
+5
Naigel
+5
Holyeyeolo
+5
A10ciod
+5
Catimann
+5
Rev1.0
+5
Babak
+5
Ohhh
+5
Jeff Sours
+5
Jim Mourgos
+5
J. Marks
+5
Piquet
+5