結果
| 問題 |
No.1232 2^x = x
|
| コンテスト | |
| ユーザー |
ntuda
|
| 提出日時 | 2025-09-16 22:00:45 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 58 ms / 2,000 ms |
| コード長 | 117 bytes |
| コンパイル時間 | 447 ms |
| コンパイル使用メモリ | 82,292 KB |
| 実行使用メモリ | 65,592 KB |
| 最終ジャッジ日時 | 2025-09-16 22:00:49 |
| 合計ジャッジ時間 | 1,882 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 3 |
ソースコード
for _ in range(int(input())):
p = int(input())
if p == 2:
print(2)
else:
print((p-1)**2)
ntuda