結果

問題 No.1903 Day1
ユーザー ああいいああいい
提出日時 2022-04-15 21:23:30
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 71 ms / 1,000 ms
コード長 134 bytes
コンパイル時間 305 ms
コンパイル使用メモリ 87,144 KB
実行使用メモリ 75,660 KB
最終ジャッジ日時 2023-08-26 07:26:51
合計ジャッジ時間 1,684 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 68 ms
71,116 KB
testcase_01 AC 70 ms
71,436 KB
testcase_02 AC 71 ms
75,536 KB
testcase_03 AC 65 ms
71,320 KB
testcase_04 AC 65 ms
71,236 KB
testcase_05 AC 70 ms
71,324 KB
testcase_06 AC 66 ms
71,124 KB
testcase_07 AC 65 ms
71,168 KB
testcase_08 AC 68 ms
75,544 KB
testcase_09 AC 70 ms
75,660 KB
testcase_10 AC 68 ms
75,504 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())

ans = 1
now = 1
N -= 1
while N:
    now += 1
    if now % 7 == 0:
        N += 6
    ans += 1
    N -= 1
print(ans)
0