結果

問題 No.1903 Day1
ユーザー hir355hir355
提出日時 2022-04-15 21:25:23
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 71 ms / 1,000 ms
コード長 104 bytes
コンパイル時間 290 ms
コンパイル使用メモリ 86,992 KB
実行使用メモリ 75,764 KB
最終ジャッジ日時 2023-08-26 07:28:48
合計ジャッジ時間 1,928 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 64 ms
71,188 KB
testcase_01 AC 67 ms
70,980 KB
testcase_02 AC 71 ms
75,684 KB
testcase_03 AC 65 ms
71,316 KB
testcase_04 AC 64 ms
71,332 KB
testcase_05 AC 65 ms
71,096 KB
testcase_06 AC 64 ms
71,188 KB
testcase_07 AC 61 ms
71,256 KB
testcase_08 AC 69 ms
75,608 KB
testcase_09 AC 70 ms
75,764 KB
testcase_10 AC 70 ms
75,568 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
d = 1
while n > 0:
    if d % 7 == 0:
        n += 6
    n -= 1
    d += 1
print(d - 1)
0