結果

問題 No.1903 Day1
ユーザー ikomaikoma
提出日時 2022-04-15 22:01:27
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 78 ms / 1,000 ms
コード長 94 bytes
コンパイル時間 281 ms
コンパイル使用メモリ 87,104 KB
実行使用メモリ 75,552 KB
最終ジャッジ日時 2023-08-26 07:56:12
合計ジャッジ時間 1,908 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
71,284 KB
testcase_01 AC 73 ms
71,420 KB
testcase_02 AC 76 ms
75,552 KB
testcase_03 AC 71 ms
71,108 KB
testcase_04 AC 73 ms
71,068 KB
testcase_05 AC 73 ms
71,292 KB
testcase_06 AC 75 ms
71,104 KB
testcase_07 AC 73 ms
71,328 KB
testcase_08 AC 73 ms
71,488 KB
testcase_09 AC 73 ms
71,224 KB
testcase_10 AC 78 ms
75,496 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())+1
ans=-1
while N:
    n=min(N,7)
    N-=n
    ans+=n
    if N>0:N+=6
print(ans)
0