結果

問題 No.1218 Something Like a Theorem
ユーザー matriematrie
提出日時 2021-02-10 09:27:17
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
RE  
実行時間 -
コード長 149 bytes
コンパイル時間 89 ms
コンパイル使用メモリ 10,588 KB
実行使用メモリ 7,972 KB
最終ジャッジ日時 2023-09-22 02:36:32
合計ジャッジ時間 1,432 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 RE -
testcase_02 AC 16 ms
7,912 KB
testcase_03 RE -
testcase_04 RE -
testcase_05 RE -
testcase_06 AC 16 ms
7,812 KB
testcase_07 RE -
testcase_08 RE -
testcase_09 RE -
testcase_10 RE -
testcase_11 RE -
testcase_12 RE -
testcase_13 RE -
testcase_14 RE -
testcase_15 RE -
testcase_16 AC 16 ms
7,756 KB
testcase_17 AC 16 ms
7,812 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n,z=map(int,input().split())
r=min(int(z**.5)+1,z)
z2=z**2
for x in range(1,r):
	print(x,y,r)
	if y.is_integer():print("Yes");break
else: print("No")
0