結果

問題 No.1903 Day1
ユーザー SidewaysOwlSidewaysOwl
提出日時 2022-04-15 21:23:21
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 78 ms / 1,000 ms
コード長 126 bytes
コンパイル時間 1,508 ms
コンパイル使用メモリ 86,840 KB
実行使用メモリ 75,776 KB
最終ジャッジ日時 2023-08-26 07:26:46
合計ジャッジ時間 1,871 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
71,264 KB
testcase_01 AC 73 ms
71,452 KB
testcase_02 AC 78 ms
75,776 KB
testcase_03 AC 75 ms
71,328 KB
testcase_04 AC 72 ms
71,272 KB
testcase_05 AC 72 ms
71,328 KB
testcase_06 AC 73 ms
71,172 KB
testcase_07 AC 72 ms
71,292 KB
testcase_08 AC 75 ms
75,636 KB
testcase_09 AC 78 ms
75,716 KB
testcase_10 AC 77 ms
75,584 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
cnt = 1
while n:
    if cnt % 7 == 0 :
        n += 6
    n -= 1
    cnt += 1
#     print(cnt,n)
print(cnt-1)
0