結果

問題 No.3168 [Cherry 7th Tune D] Manhole
ユーザー 👑 p-adic
提出日時 2024-03-11 13:24:35
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
TLE  
実行時間 -
コード長 109 bytes
コンパイル時間 607 ms
コンパイル使用メモリ 11,904 KB
実行使用メモリ 10,496 KB
最終ジャッジ日時 2025-05-30 21:06:07
合計ジャッジ時間 33,400 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 10 TLE * 11
権限があれば一括ダウンロードができます

ソースコード

diff #

I=input
P=998244353
for t in range(int(I())):
	A,B,C=map(int,I().split())
	print(((A*A+B*B)*pow(C,-2,P)+1)%P)
0