結果

問題 No.1459 スマホを落としたいだけなのに
ユーザー ayaoniayaoni
提出日時 2021-04-02 00:21:16
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 72 ms / 2,000 ms
コード長 538 bytes
コンパイル時間 271 ms
コンパイル使用メモリ 86,740 KB
実行使用メモリ 75,724 KB
最終ジャッジ日時 2023-08-23 07:13:33
合計ジャッジ時間 4,402 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 67 ms
71,120 KB
testcase_01 AC 67 ms
71,072 KB
testcase_02 AC 69 ms
71,176 KB
testcase_03 AC 67 ms
71,336 KB
testcase_04 AC 69 ms
70,936 KB
testcase_05 AC 68 ms
71,068 KB
testcase_06 AC 69 ms
71,336 KB
testcase_07 AC 68 ms
71,168 KB
testcase_08 AC 67 ms
71,200 KB
testcase_09 AC 69 ms
71,172 KB
testcase_10 AC 68 ms
71,088 KB
testcase_11 AC 68 ms
75,624 KB
testcase_12 AC 69 ms
75,664 KB
testcase_13 AC 71 ms
75,492 KB
testcase_14 AC 69 ms
75,612 KB
testcase_15 AC 70 ms
75,632 KB
testcase_16 AC 71 ms
75,536 KB
testcase_17 AC 69 ms
75,556 KB
testcase_18 AC 71 ms
75,580 KB
testcase_19 AC 71 ms
75,592 KB
testcase_20 AC 69 ms
75,652 KB
testcase_21 AC 70 ms
75,672 KB
testcase_22 AC 70 ms
75,584 KB
testcase_23 AC 68 ms
75,648 KB
testcase_24 AC 70 ms
75,644 KB
testcase_25 AC 69 ms
75,480 KB
testcase_26 AC 70 ms
75,724 KB
testcase_27 AC 71 ms
75,632 KB
testcase_28 AC 70 ms
75,580 KB
testcase_29 AC 70 ms
75,596 KB
testcase_30 AC 72 ms
75,584 KB
testcase_31 AC 72 ms
75,488 KB
testcase_32 AC 71 ms
75,716 KB
testcase_33 AC 69 ms
75,472 KB
testcase_34 AC 69 ms
75,484 KB
testcase_35 AC 71 ms
75,612 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys

sys.setrecursionlimit(10**7)
def I(): return int(sys.stdin.readline().rstrip())
def MI(): return map(int,sys.stdin.readline().rstrip().split())
def LI(): return list(map(int,sys.stdin.readline().rstrip().split()))
def LI2(): return list(map(int,sys.stdin.readline().rstrip()))
def S(): return sys.stdin.readline().rstrip()
def LS(): return list(sys.stdin.readline().rstrip().split())
def LS2(): return list(sys.stdin.readline().rstrip())


N = I()

for i in range(10**5):
    if i*(i+1) >= 2*N:
        print(i)
        break
0