結果
| 問題 |
No.1232 2^x = x
|
| コンテスト | |
| ユーザー |
aqua_tenhou
|
| 提出日時 | 2021-07-27 22:19:34 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 58 ms / 2,000 ms |
| コード長 | 133 bytes |
| コンパイル時間 | 454 ms |
| コンパイル使用メモリ | 82,060 KB |
| 実行使用メモリ | 65,984 KB |
| 最終ジャッジ日時 | 2024-07-23 19:29:55 |
| 合計ジャッジ時間 | 1,432 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 3 |
ソースコード
n = int(input())
p = [int(input()) for i in range(n)]
for x in p:
if x == 2:
print(2)
else:
print((x-1)**2)
aqua_tenhou