結果

問題 No.1903 Day1
ユーザー miya145592miya145592
提出日時 2023-04-30 08:17:44
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 75 ms / 1,000 ms
コード長 108 bytes
コンパイル時間 311 ms
コンパイル使用メモリ 87,236 KB
実行使用メモリ 75,812 KB
最終ジャッジ日時 2023-08-12 04:06:18
合計ジャッジ時間 2,619 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,336 KB
testcase_01 AC 72 ms
71,348 KB
testcase_02 AC 75 ms
75,756 KB
testcase_03 AC 71 ms
71,476 KB
testcase_04 AC 72 ms
71,576 KB
testcase_05 AC 71 ms
71,228 KB
testcase_06 AC 71 ms
71,624 KB
testcase_07 AC 72 ms
71,308 KB
testcase_08 AC 75 ms
75,544 KB
testcase_09 AC 75 ms
75,752 KB
testcase_10 AC 75 ms
75,812 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())

day = 0
while N>0:
    day+=1
    if day>=7 and day%7==0:
        N+=6
    N-=1
print(day)
0