結果

問題 No.2140 Triangle
ユーザー terasaterasa
提出日時 2022-12-02 21:24:54
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 164 ms / 2,000 ms
コード長 456 bytes
コンパイル時間 341 ms
コンパイル使用メモリ 87,076 KB
実行使用メモリ 80,492 KB
最終ジャッジ日時 2023-07-31 04:08:22
合計ジャッジ時間 6,260 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 154 ms
80,436 KB
testcase_01 AC 164 ms
80,036 KB
testcase_02 AC 155 ms
80,032 KB
testcase_03 AC 156 ms
80,032 KB
testcase_04 AC 151 ms
80,260 KB
testcase_05 AC 150 ms
80,260 KB
testcase_06 AC 151 ms
80,036 KB
testcase_07 AC 156 ms
80,312 KB
testcase_08 AC 153 ms
80,328 KB
testcase_09 AC 155 ms
80,368 KB
testcase_10 AC 156 ms
80,264 KB
testcase_11 AC 147 ms
80,460 KB
testcase_12 AC 149 ms
80,340 KB
testcase_13 AC 151 ms
80,308 KB
testcase_14 AC 157 ms
80,228 KB
testcase_15 AC 149 ms
80,256 KB
testcase_16 AC 154 ms
80,032 KB
testcase_17 AC 153 ms
80,260 KB
testcase_18 AC 150 ms
80,232 KB
testcase_19 AC 153 ms
80,488 KB
testcase_20 AC 158 ms
80,388 KB
testcase_21 AC 156 ms
80,236 KB
testcase_22 AC 154 ms
80,252 KB
testcase_23 AC 151 ms
80,328 KB
testcase_24 AC 154 ms
80,244 KB
testcase_25 AC 156 ms
80,336 KB
testcase_26 AC 158 ms
80,492 KB
testcase_27 AC 156 ms
80,304 KB
testcase_28 AC 157 ms
80,384 KB
testcase_29 AC 159 ms
80,260 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from typing import List, Tuple, Callable, TypeVar
import sys
import itertools
import heapq
import bisect
import math
from collections import deque, defaultdict
from functools import lru_cache, cmp_to_key

input = sys.stdin.readline

if __file__ != 'prog.py':
    sys.setrecursionlimit(10 ** 6)


def readints(): return map(int, input().split())
def readlist(): return list(readints())
def readstr(): return input()[:-1]


A = int(input())
print(2 * A - 1)
0