結果

問題 No.2185 平方数の下6桁
ユーザー Alex WiceAlex Wice
提出日時 2023-01-13 21:29:37
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 206 ms / 2,000 ms
コード長 217 bytes
コンパイル時間 248 ms
コンパイル使用メモリ 87,104 KB
実行使用メモリ 83,696 KB
最終ジャッジ日時 2023-08-26 03:02:15
合計ジャッジ時間 8,913 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 201 ms
83,620 KB
testcase_01 AC 194 ms
83,108 KB
testcase_02 AC 197 ms
83,300 KB
testcase_03 AC 190 ms
83,620 KB
testcase_04 AC 190 ms
83,472 KB
testcase_05 AC 197 ms
83,492 KB
testcase_06 AC 192 ms
83,052 KB
testcase_07 AC 191 ms
83,372 KB
testcase_08 AC 180 ms
83,504 KB
testcase_09 AC 187 ms
83,500 KB
testcase_10 AC 187 ms
83,464 KB
testcase_11 AC 189 ms
83,024 KB
testcase_12 AC 192 ms
83,380 KB
testcase_13 AC 188 ms
83,432 KB
testcase_14 AC 192 ms
83,536 KB
testcase_15 AC 188 ms
83,388 KB
testcase_16 AC 194 ms
83,648 KB
testcase_17 AC 180 ms
83,356 KB
testcase_18 AC 183 ms
83,500 KB
testcase_19 AC 185 ms
83,624 KB
testcase_20 AC 189 ms
83,612 KB
testcase_21 AC 206 ms
83,360 KB
testcase_22 AC 188 ms
83,212 KB
testcase_23 AC 189 ms
83,208 KB
testcase_24 AC 197 ms
83,496 KB
testcase_25 AC 192 ms
83,616 KB
testcase_26 AC 195 ms
83,432 KB
testcase_27 AC 191 ms
83,492 KB
testcase_28 AC 198 ms
83,352 KB
testcase_29 AC 188 ms
83,548 KB
testcase_30 AC 188 ms
83,052 KB
testcase_31 AC 192 ms
83,504 KB
testcase_32 AC 202 ms
83,676 KB
testcase_33 AC 193 ms
83,536 KB
testcase_34 AC 195 ms
83,236 KB
testcase_35 AC 195 ms
83,696 KB
testcase_36 AC 192 ms
83,504 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

readlist = lambda: list(map(int, input().split()))

seen = set()
for x in range(10**5, 10**6):
    s = str(x*x)[-6:]
    assert len(s) ==6
    seen.add(s)
#print(len(seen))
print("YES" if (input() in seen) else "NO")
0