結果
問題 | No.2216 Pa1indr0me |
ユーザー | flygon |
提出日時 | 2023-02-17 21:25:55 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 99 ms / 2,000 ms |
コード長 | 311 bytes |
コンパイル時間 | 467 ms |
コンパイル使用メモリ | 87,212 KB |
実行使用メモリ | 71,748 KB |
最終ジャッジ日時 | 2023-09-26 18:30:50 |
合計ジャッジ時間 | 1,479 ms |
ジャッジサーバーID (参考情報) |
judge15 / judge12 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 97 ms
71,748 KB |
testcase_01 | AC | 99 ms
71,532 KB |
testcase_02 | AC | 97 ms
71,648 KB |
testcase_03 | AC | 96 ms
71,624 KB |
ソースコード
import sys sys.setrecursionlimit(5*10**5) input = sys.stdin.readline from collections import defaultdict, deque, Counter from heapq import heappop, heappush from bisect import bisect_left, bisect_right from math import gcd t = int(input()) for i in range(t): n = int(input()) ans = (1+n)*n print(ans)