結果

問題 No.1903 Day1
ユーザー nouka28nouka28
提出日時 2022-05-20 15:31:24
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 39 ms / 1,000 ms
コード長 125 bytes
コンパイル時間 171 ms
コンパイル使用メモリ 81,600 KB
実行使用メモリ 59,316 KB
最終ジャッジ日時 2023-10-20 03:46:50
合計ジャッジ時間 1,305 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 39 ms
53,396 KB
testcase_01 AC 35 ms
53,396 KB
testcase_02 AC 39 ms
59,316 KB
testcase_03 AC 36 ms
53,396 KB
testcase_04 AC 35 ms
53,396 KB
testcase_05 AC 35 ms
53,396 KB
testcase_06 AC 35 ms
53,396 KB
testcase_07 AC 36 ms
53,396 KB
testcase_08 AC 38 ms
57,260 KB
testcase_09 AC 39 ms
59,316 KB
testcase_10 AC 38 ms
59,316 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())
ans=0
while True:
    ans+=1
    N-=1
    if ans%7==0:
        N+=6
    if N==0:
        break
print(ans)
    
0