結果

問題 No.1903 Day1
ユーザー deepjugglingdeepjuggling
提出日時 2023-01-16 12:48:26
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 71 ms / 1,000 ms
コード長 134 bytes
コンパイル時間 342 ms
コンパイル使用メモリ 87,192 KB
実行使用メモリ 76,024 KB
最終ジャッジ日時 2023-08-29 01:12:47
合計ジャッジ時間 2,055 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 66 ms
71,348 KB
testcase_01 AC 66 ms
71,400 KB
testcase_02 AC 71 ms
75,824 KB
testcase_03 AC 67 ms
71,468 KB
testcase_04 AC 67 ms
71,348 KB
testcase_05 AC 63 ms
71,152 KB
testcase_06 AC 65 ms
71,640 KB
testcase_07 AC 64 ms
71,448 KB
testcase_08 AC 70 ms
75,816 KB
testcase_09 AC 71 ms
76,024 KB
testcase_10 AC 68 ms
75,888 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
for i in range(1,100000):
    if i % 7 == 0:
        n += 6
    n -= 1
    if n == 0:
        print(i)
        exit()
0