結果

問題 No.1903 Day1
ユーザー SidewaysOwl
提出日時 2022-04-15 21:23:21
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 48 ms / 1,000 ms
コード長 126 bytes
コンパイル時間 218 ms
コンパイル使用メモリ 82,048 KB
実行使用メモリ 57,984 KB
最終ジャッジ日時 2024-12-24 23:22:42
合計ジャッジ時間 1,278 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

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