結果

問題 No.1903 Day1
ユーザー nouka28nouka28
提出日時 2022-05-20 15:30:28
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 125 bytes
コンパイル時間 168 ms
コンパイル使用メモリ 81,660 KB
実行使用メモリ 59,348 KB
最終ジャッジ日時 2023-10-20 03:46:24
合計ジャッジ時間 1,276 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

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