結果

問題 No.2185 平方数の下6桁
ユーザー KudeKude
提出日時 2023-01-13 21:25:37
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 95 ms / 2,000 ms
コード長 112 bytes
コンパイル時間 290 ms
コンパイル使用メモリ 86,932 KB
実行使用メモリ 83,628 KB
最終ジャッジ日時 2023-08-26 02:56:32
合計ジャッジ時間 5,150 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 94 ms
83,304 KB
testcase_01 AC 95 ms
83,384 KB
testcase_02 AC 92 ms
83,336 KB
testcase_03 AC 94 ms
83,332 KB
testcase_04 AC 94 ms
83,172 KB
testcase_05 AC 91 ms
83,416 KB
testcase_06 AC 93 ms
83,236 KB
testcase_07 AC 92 ms
83,364 KB
testcase_08 AC 92 ms
83,384 KB
testcase_09 AC 91 ms
83,304 KB
testcase_10 AC 91 ms
83,528 KB
testcase_11 AC 91 ms
83,516 KB
testcase_12 AC 91 ms
83,304 KB
testcase_13 AC 92 ms
83,240 KB
testcase_14 AC 92 ms
83,176 KB
testcase_15 AC 91 ms
83,196 KB
testcase_16 AC 90 ms
83,424 KB
testcase_17 AC 92 ms
83,260 KB
testcase_18 AC 91 ms
83,488 KB
testcase_19 AC 92 ms
83,628 KB
testcase_20 AC 92 ms
83,292 KB
testcase_21 AC 90 ms
83,320 KB
testcase_22 AC 90 ms
83,340 KB
testcase_23 AC 91 ms
83,292 KB
testcase_24 AC 91 ms
83,340 KB
testcase_25 AC 91 ms
83,340 KB
testcase_26 AC 91 ms
83,376 KB
testcase_27 AC 91 ms
83,404 KB
testcase_28 AC 91 ms
83,432 KB
testcase_29 AC 92 ms
83,180 KB
testcase_30 AC 93 ms
83,404 KB
testcase_31 AC 92 ms
83,240 KB
testcase_32 AC 92 ms
83,400 KB
testcase_33 AC 93 ms
83,444 KB
testcase_34 AC 92 ms
83,328 KB
testcase_35 AC 91 ms
83,348 KB
testcase_36 AC 94 ms
83,236 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

M = 10 ** 6
d = [False] * M
for i in range(M):
    d[i * i % M] = True
print('YES' if d[int(input())] else 'NO')
0