結果

問題 No.1903 Day1
ユーザー Tomii9273Tomii9273
提出日時 2022-04-16 04:07:07
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 69 ms / 1,000 ms
コード長 210 bytes
コンパイル時間 319 ms
コンパイル使用メモリ 87,228 KB
実行使用メモリ 71,624 KB
最終ジャッジ日時 2023-08-26 14:06:58
合計ジャッジ時間 1,721 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 64 ms
71,276 KB
testcase_01 AC 65 ms
71,624 KB
testcase_02 AC 64 ms
71,376 KB
testcase_03 AC 64 ms
71,364 KB
testcase_04 AC 64 ms
71,144 KB
testcase_05 AC 69 ms
71,476 KB
testcase_06 AC 64 ms
71,348 KB
testcase_07 AC 65 ms
71,156 KB
testcase_08 AC 64 ms
71,380 KB
testcase_09 AC 65 ms
71,308 KB
testcase_10 AC 64 ms
71,488 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys

sys.setrecursionlimit(10 ** 9)  # Codeforcesでは350000程度に


def input():
    return sys.stdin.readline().strip()


n = int(input())

if n <= 6:
    print(n)
else:
    print(7 * (n - 6) + 6)
0