結果

問題 No.1232 2^x = x
ユーザー tanon710tanon710
提出日時 2020-09-19 00:21:20
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 100 ms / 2,000 ms
コード長 81 bytes
コンパイル時間 364 ms
コンパイル使用メモリ 87,236 KB
実行使用メモリ 76,356 KB
最終ジャッジ日時 2023-09-04 14:16:23
合計ジャッジ時間 1,717 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 77 ms
71,368 KB
testcase_01 AC 98 ms
76,128 KB
testcase_02 AC 99 ms
76,356 KB
testcase_03 AC 100 ms
76,196 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
for _ in range(n):
    p=int(input())
    x=p*(p-2)+2
    print(x)
0