結果

問題 No.1903 Day1
ユーザー taiga0629kyoprotaiga0629kyopro
提出日時 2022-04-15 21:31:37
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 69 ms / 1,000 ms
コード長 115 bytes
コンパイル時間 334 ms
コンパイル使用メモリ 86,816 KB
実行使用メモリ 75,672 KB
最終ジャッジ日時 2023-08-26 07:35:15
合計ジャッジ時間 1,720 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 65 ms
71,360 KB
testcase_01 AC 65 ms
71,296 KB
testcase_02 AC 67 ms
75,672 KB
testcase_03 AC 65 ms
71,088 KB
testcase_04 AC 65 ms
71,288 KB
testcase_05 AC 64 ms
71,288 KB
testcase_06 AC 65 ms
71,260 KB
testcase_07 AC 64 ms
71,364 KB
testcase_08 AC 68 ms
75,636 KB
testcase_09 AC 67 ms
75,416 KB
testcase_10 AC 69 ms
75,580 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
d=1
while True:
    if d%7==0:n+=6
    n-=1
    if n==0:
        print(d)
        exit()
    d+=1

0