結果

問題 No.2140 Triangle
ユーザー terasaterasa
提出日時 2022-12-02 21:24:54
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 79 ms / 2,000 ms
コード長 456 bytes
コンパイル時間 177 ms
コンパイル使用メモリ 82,560 KB
実行使用メモリ 67,968 KB
最終ジャッジ日時 2024-04-18 05:09:23
合計ジャッジ時間 3,605 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 79 ms
67,456 KB
testcase_01 AC 79 ms
67,072 KB
testcase_02 AC 74 ms
67,200 KB
testcase_03 AC 79 ms
67,200 KB
testcase_04 AC 76 ms
67,072 KB
testcase_05 AC 76 ms
67,584 KB
testcase_06 AC 76 ms
67,456 KB
testcase_07 AC 76 ms
67,456 KB
testcase_08 AC 76 ms
67,328 KB
testcase_09 AC 76 ms
67,456 KB
testcase_10 AC 76 ms
67,584 KB
testcase_11 AC 78 ms
67,712 KB
testcase_12 AC 76 ms
67,328 KB
testcase_13 AC 76 ms
67,072 KB
testcase_14 AC 76 ms
67,968 KB
testcase_15 AC 75 ms
67,456 KB
testcase_16 AC 75 ms
67,456 KB
testcase_17 AC 75 ms
67,072 KB
testcase_18 AC 75 ms
67,200 KB
testcase_19 AC 75 ms
67,456 KB
testcase_20 AC 75 ms
67,584 KB
testcase_21 AC 75 ms
67,328 KB
testcase_22 AC 75 ms
67,456 KB
testcase_23 AC 75 ms
67,840 KB
testcase_24 AC 75 ms
67,584 KB
testcase_25 AC 75 ms
67,328 KB
testcase_26 AC 75 ms
67,584 KB
testcase_27 AC 75 ms
67,840 KB
testcase_28 AC 74 ms
67,712 KB
testcase_29 AC 74 ms
67,328 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