From c3d8d721b32afe1a505bd7b1646776dacdf1bdf4 Mon Sep 17 00:00:00 2001 From: yenru0 Date: Mon, 20 Apr 2020 01:16:55 +0900 Subject: [PATCH] shorter 2292.py --- zeta_python/completed/2292.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zeta_python/completed/2292.py b/zeta_python/completed/2292.py index 1e53783..5257cb5 100644 --- a/zeta_python/completed/2292.py +++ b/zeta_python/completed/2292.py @@ -1 +1 @@ -print(round((2*(int(input())-1)/6)**(1/2)+1)) \ No newline at end of file +print(round(((int(input())-1)/3)**.5+1))