結果
問題 | No.1992 Tendon Walk |
ユーザー | MasKoaTS |
提出日時 | 2022-06-14 21:19:55 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 109 ms / 2,000 ms |
コード長 | 773 bytes |
コンパイル時間 | 211 ms |
コンパイル使用メモリ | 82,256 KB |
実行使用メモリ | 87,096 KB |
最終ジャッジ日時 | 2024-04-12 10:42:34 |
合計ジャッジ時間 | 2,006 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 109 ms
86,900 KB |
testcase_01 | AC | 103 ms
86,936 KB |
testcase_02 | AC | 109 ms
86,972 KB |
testcase_03 | AC | 103 ms
86,712 KB |
testcase_04 | AC | 108 ms
86,848 KB |
testcase_05 | AC | 107 ms
86,724 KB |
testcase_06 | AC | 105 ms
86,908 KB |
testcase_07 | AC | 102 ms
87,096 KB |
testcase_08 | AC | 105 ms
86,928 KB |
ソースコード
import itertools as iter import collections as coll import heapq as hq import bisect as bis from decimal import Decimal as dec from functools import cmp_to_key import math import sys #import pypyjit #pypyjit.set_param('max_unroll_recursion=-1') sys.setrecursionlimit(10 ** 6) inp = sys.stdin.readline input = lambda : inp().rstrip() getN = lambda : int(inp()) getNs = lambda : map(int, inp().split()) getList = lambda :list(map(int, inp().split())) getStrs = lambda n : [input() for _ in [0] * n] def yexit(): print("Yes"); exit(0) def nexit(): print("No"); exit(0) pi = 3.141592653589793 mod = 1000000007 MOD = 998244353 INF = 4611686018427387903 dx = [1, 0, -1, 0]; dy = [0, 1, 0, -1] """ Main Code """ ans = [0, 0, 2, 5, 4, 15, 14, 25, 24, 35, 34] print(ans[getN()])