結果

問題 No.2185 平方数の下6桁
ユーザー shobonvipshobonvip
提出日時 2023-01-13 21:21:04
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 102 ms / 2,000 ms
コード長 113 bytes
コンパイル時間 254 ms
コンパイル使用メモリ 86,924 KB
実行使用メモリ 75,936 KB
最終ジャッジ日時 2023-08-26 02:50:25
合計ジャッジ時間 5,736 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 64 ms
71,096 KB
testcase_01 AC 63 ms
71,420 KB
testcase_02 AC 98 ms
75,648 KB
testcase_03 AC 65 ms
71,048 KB
testcase_04 AC 101 ms
75,736 KB
testcase_05 AC 97 ms
75,800 KB
testcase_06 AC 96 ms
75,664 KB
testcase_07 AC 65 ms
71,276 KB
testcase_08 AC 98 ms
75,892 KB
testcase_09 AC 63 ms
71,228 KB
testcase_10 AC 95 ms
75,672 KB
testcase_11 AC 66 ms
71,440 KB
testcase_12 AC 99 ms
75,620 KB
testcase_13 AC 63 ms
71,224 KB
testcase_14 AC 97 ms
75,900 KB
testcase_15 AC 68 ms
75,680 KB
testcase_16 AC 68 ms
75,860 KB
testcase_17 AC 65 ms
71,360 KB
testcase_18 AC 99 ms
75,664 KB
testcase_19 AC 66 ms
75,624 KB
testcase_20 AC 96 ms
75,724 KB
testcase_21 AC 99 ms
75,712 KB
testcase_22 AC 72 ms
75,864 KB
testcase_23 AC 98 ms
75,724 KB
testcase_24 AC 71 ms
75,804 KB
testcase_25 AC 97 ms
75,644 KB
testcase_26 AC 101 ms
75,668 KB
testcase_27 AC 75 ms
75,664 KB
testcase_28 AC 69 ms
75,812 KB
testcase_29 AC 73 ms
75,832 KB
testcase_30 AC 98 ms
75,676 KB
testcase_31 AC 96 ms
75,776 KB
testcase_32 AC 71 ms
75,904 KB
testcase_33 AC 69 ms
75,936 KB
testcase_34 AC 99 ms
75,868 KB
testcase_35 AC 102 ms
75,800 KB
testcase_36 AC 73 ms
75,780 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

s = int(input())
for i in range(1000000):
	v = pow(i, 2, 1000000)
	if v == s:
		print("YES")
		exit()
print("NO")
0