結果

問題 No.1459 スマホを落としたいだけなのに
ユーザー shotoyooshotoyoo
提出日時 2021-03-31 21:36:21
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 77 ms / 2,000 ms
コード長 287 bytes
コンパイル時間 277 ms
コンパイル使用メモリ 86,744 KB
実行使用メモリ 75,608 KB
最終ジャッジ日時 2023-08-21 23:54:48
合計ジャッジ時間 4,427 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,220 KB
testcase_01 AC 71 ms
71,076 KB
testcase_02 AC 71 ms
70,752 KB
testcase_03 AC 71 ms
71,260 KB
testcase_04 AC 72 ms
71,136 KB
testcase_05 AC 71 ms
71,164 KB
testcase_06 AC 71 ms
70,932 KB
testcase_07 AC 72 ms
70,912 KB
testcase_08 AC 70 ms
71,084 KB
testcase_09 AC 72 ms
70,876 KB
testcase_10 AC 70 ms
71,044 KB
testcase_11 AC 74 ms
75,240 KB
testcase_12 AC 74 ms
75,608 KB
testcase_13 AC 74 ms
75,204 KB
testcase_14 AC 74 ms
75,372 KB
testcase_15 AC 74 ms
75,160 KB
testcase_16 AC 75 ms
75,296 KB
testcase_17 AC 77 ms
75,400 KB
testcase_18 AC 74 ms
75,288 KB
testcase_19 AC 73 ms
75,364 KB
testcase_20 AC 73 ms
75,396 KB
testcase_21 AC 74 ms
75,540 KB
testcase_22 AC 74 ms
75,292 KB
testcase_23 AC 74 ms
75,540 KB
testcase_24 AC 75 ms
75,312 KB
testcase_25 AC 76 ms
75,348 KB
testcase_26 AC 75 ms
75,596 KB
testcase_27 AC 74 ms
75,540 KB
testcase_28 AC 74 ms
75,240 KB
testcase_29 AC 75 ms
75,364 KB
testcase_30 AC 75 ms
75,372 KB
testcase_31 AC 75 ms
75,352 KB
testcase_32 AC 77 ms
75,596 KB
testcase_33 AC 76 ms
75,544 KB
testcase_34 AC 74 ms
75,260 KB
testcase_35 AC 74 ms
75,368 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = lambda : sys.stdin.readline().rstrip()

sys.setrecursionlimit(2*10**5+10)
write = lambda x: sys.stdout.write(x+"\n")
debug = lambda x: sys.stderr.write(x+"\n")

n = int(input())
v = 0
for i in range(1, 10**6):
    if v+i>=n:
        break
    v += i
ans = i
print(ans)
0