結果

問題 No.1903 Day1
ユーザー n_nan_na
提出日時 2022-04-16 00:55:36
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 77 ms / 1,000 ms
コード長 105 bytes
コンパイル時間 303 ms
コンパイル使用メモリ 87,140 KB
実行使用メモリ 75,616 KB
最終ジャッジ日時 2023-08-26 09:19:05
合計ジャッジ時間 2,084 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
71,320 KB
testcase_01 AC 72 ms
71,112 KB
testcase_02 AC 75 ms
75,440 KB
testcase_03 AC 72 ms
71,216 KB
testcase_04 AC 73 ms
71,272 KB
testcase_05 AC 72 ms
71,144 KB
testcase_06 AC 72 ms
71,008 KB
testcase_07 AC 72 ms
71,204 KB
testcase_08 AC 76 ms
75,484 KB
testcase_09 AC 77 ms
75,616 KB
testcase_10 AC 76 ms
75,424 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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