結果

問題 No.2216 Pa1indr0me
ユーザー ShirotsumeShirotsume
提出日時 2023-02-14 07:09:16
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 97 ms / 2,000 ms
コード長 286 bytes
コンパイル時間 2,013 ms
コンパイル使用メモリ 86,700 KB
実行使用メモリ 71,416 KB
最終ジャッジ日時 2023-09-23 17:15:47
合計ジャッジ時間 1,726 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 96 ms
71,108 KB
testcase_01 AC 97 ms
71,384 KB
testcase_02 AC 96 ms
71,400 KB
testcase_03 AC 95 ms
71,416 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
from collections import deque, Counter
input = lambda: sys.stdin.readline().rstrip()
ii = lambda: int(input())
mi = lambda: map(int, input().split())
li = lambda: list(mi())
inf = 2 ** 63 - 1
mod = 998244353

for _ in range(ii()):
    n = ii()
    n += 1
    print(n * n - n)
0