結果

問題 No.1903 Day1
ユーザー ShirotsumeShirotsume
提出日時 2022-04-15 21:28:18
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 70 ms / 1,000 ms
コード長 136 bytes
コンパイル時間 1,214 ms
コンパイル使用メモリ 86,716 KB
実行使用メモリ 75,728 KB
最終ジャッジ日時 2023-08-26 07:31:01
合計ジャッジ時間 2,127 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 67 ms
71,308 KB
testcase_01 AC 64 ms
71,288 KB
testcase_02 AC 67 ms
75,728 KB
testcase_03 AC 66 ms
71,000 KB
testcase_04 AC 65 ms
71,384 KB
testcase_05 AC 66 ms
71,276 KB
testcase_06 AC 67 ms
71,416 KB
testcase_07 AC 67 ms
71,288 KB
testcase_08 AC 70 ms
75,464 KB
testcase_09 AC 67 ms
75,676 KB
testcase_10 AC 70 ms
75,684 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())

for i in range(1, 10 ** 6):
    n -= 1
    if i % 7 == 0:
        n += 6
    if n == 0:
        print(i)
        break
0