結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 67 ms
71,124 KB
testcase_01 AC 67 ms
71,120 KB
testcase_02 AC 71 ms
75,828 KB
testcase_03 AC 66 ms
71,272 KB
testcase_04 AC 65 ms
71,120 KB
testcase_05 AC 64 ms
71,092 KB
testcase_06 AC 62 ms
71,272 KB
testcase_07 AC 64 ms
71,392 KB
testcase_08 AC 65 ms
75,384 KB
testcase_09 AC 65 ms
75,724 KB
testcase_10 AC 64 ms
75,684 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input=sys.stdin.readline

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