結果

問題 No.2216 Pa1indr0me
ユーザー ああいいああいい
提出日時 2023-02-18 15:27:29
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 67 ms / 2,000 ms
コード長 100 bytes
コンパイル時間 254 ms
コンパイル使用メモリ 87,284 KB
実行使用メモリ 71,564 KB
最終ジャッジ日時 2023-09-27 07:35:47
合計ジャッジ時間 1,037 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 65 ms
71,380 KB
testcase_01 AC 66 ms
71,288 KB
testcase_02 AC 66 ms
71,564 KB
testcase_03 AC 67 ms
71,132 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

T = int(input())
for _ in range(T):
    N = int(input())
    ans = N * (N -1) + 2 * N
    print(ans)
0