結果

問題 No.2185 平方数の下6桁
ユーザー lloyzlloyz
提出日時 2023-01-13 21:46:14
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 76 ms / 2,000 ms
コード長 140 bytes
コンパイル時間 314 ms
コンパイル使用メモリ 86,796 KB
実行使用メモリ 76,076 KB
最終ジャッジ日時 2023-08-26 03:28:07
合計ジャッジ時間 4,598 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 63 ms
71,368 KB
testcase_01 AC 63 ms
71,392 KB
testcase_02 AC 76 ms
75,800 KB
testcase_03 AC 64 ms
71,560 KB
testcase_04 AC 68 ms
75,896 KB
testcase_05 AC 68 ms
75,668 KB
testcase_06 AC 70 ms
75,652 KB
testcase_07 AC 65 ms
71,164 KB
testcase_08 AC 70 ms
75,912 KB
testcase_09 AC 64 ms
71,452 KB
testcase_10 AC 73 ms
76,044 KB
testcase_11 AC 63 ms
71,432 KB
testcase_12 AC 69 ms
76,076 KB
testcase_13 AC 64 ms
71,204 KB
testcase_14 AC 70 ms
75,908 KB
testcase_15 AC 66 ms
75,940 KB
testcase_16 AC 67 ms
75,852 KB
testcase_17 AC 63 ms
71,584 KB
testcase_18 AC 70 ms
75,908 KB
testcase_19 AC 68 ms
75,928 KB
testcase_20 AC 69 ms
75,940 KB
testcase_21 AC 71 ms
75,816 KB
testcase_22 AC 68 ms
75,840 KB
testcase_23 AC 69 ms
75,804 KB
testcase_24 AC 66 ms
75,896 KB
testcase_25 AC 71 ms
75,928 KB
testcase_26 AC 70 ms
75,800 KB
testcase_27 AC 66 ms
75,640 KB
testcase_28 AC 65 ms
76,016 KB
testcase_29 AC 66 ms
75,644 KB
testcase_30 AC 70 ms
75,900 KB
testcase_31 AC 68 ms
75,812 KB
testcase_32 AC 67 ms
75,984 KB
testcase_33 AC 63 ms
75,916 KB
testcase_34 AC 69 ms
75,936 KB
testcase_35 AC 67 ms
75,784 KB
testcase_36 AC 67 ms
75,652 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

s = int(input())

for i in range(10**6, 2 * 10**6):
    res = i**2 % 10**6
    if res == s:
        print("YES")
        exit()
print("NO")
0