結果
| 問題 | No.1232 2^x = x |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-09-19 13:53:04 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 38 ms / 2,000 ms |
| コード長 | 83 bytes |
| 記録 | |
| コンパイル時間 | 251 ms |
| コンパイル使用メモリ | 85,444 KB |
| 実行使用メモリ | 66,144 KB |
| 最終ジャッジ日時 | 2026-03-08 09:08:11 |
| 合計ジャッジ時間 | 1,244 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 3 |
ソースコード
for i in range(int(input())):
n=int(input())
print(2 if n==2 else (n-1)**2)