結果

問題 No.1903 Day1
ユーザー pypypymipypypymi
提出日時 2022-04-16 11:00:30
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 71 ms / 1,000 ms
コード長 100 bytes
コンパイル時間 635 ms
コンパイル使用メモリ 87,164 KB
実行使用メモリ 75,828 KB
最終ジャッジ日時 2023-08-26 16:46:47
合計ジャッジ時間 2,040 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 65 ms
71,536 KB
testcase_01 AC 66 ms
71,316 KB
testcase_02 AC 71 ms
75,496 KB
testcase_03 AC 66 ms
71,380 KB
testcase_04 AC 65 ms
71,280 KB
testcase_05 AC 65 ms
71,220 KB
testcase_06 AC 66 ms
71,348 KB
testcase_07 AC 65 ms
71,296 KB
testcase_08 AC 70 ms
75,828 KB
testcase_09 AC 70 ms
75,744 KB
testcase_10 AC 69 ms
75,744 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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