結果

問題 No.2185 平方数の下6桁
ユーザー HydruHydru
提出日時 2023-01-13 21:32:34
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 74 ms / 2,000 ms
コード長 135 bytes
コンパイル時間 1,271 ms
コンパイル使用メモリ 86,760 KB
実行使用メモリ 75,820 KB
最終ジャッジ日時 2023-08-26 03:08:10
合計ジャッジ時間 4,975 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 66 ms
71,064 KB
testcase_01 AC 63 ms
71,108 KB
testcase_02 AC 68 ms
75,564 KB
testcase_03 AC 61 ms
71,236 KB
testcase_04 AC 70 ms
75,568 KB
testcase_05 AC 74 ms
75,604 KB
testcase_06 AC 70 ms
75,604 KB
testcase_07 AC 65 ms
71,200 KB
testcase_08 AC 67 ms
75,700 KB
testcase_09 AC 62 ms
71,276 KB
testcase_10 AC 69 ms
75,416 KB
testcase_11 AC 64 ms
71,152 KB
testcase_12 AC 71 ms
75,408 KB
testcase_13 AC 63 ms
71,352 KB
testcase_14 AC 67 ms
75,576 KB
testcase_15 AC 64 ms
75,400 KB
testcase_16 AC 66 ms
75,412 KB
testcase_17 AC 64 ms
71,108 KB
testcase_18 AC 70 ms
75,696 KB
testcase_19 AC 66 ms
75,576 KB
testcase_20 AC 68 ms
75,700 KB
testcase_21 AC 70 ms
75,592 KB
testcase_22 AC 66 ms
75,596 KB
testcase_23 AC 67 ms
75,404 KB
testcase_24 AC 64 ms
75,564 KB
testcase_25 AC 68 ms
75,568 KB
testcase_26 AC 67 ms
75,564 KB
testcase_27 AC 65 ms
75,556 KB
testcase_28 AC 67 ms
75,600 KB
testcase_29 AC 65 ms
75,696 KB
testcase_30 AC 67 ms
75,664 KB
testcase_31 AC 67 ms
75,696 KB
testcase_32 AC 64 ms
75,596 KB
testcase_33 AC 64 ms
75,696 KB
testcase_34 AC 70 ms
75,688 KB
testcase_35 AC 67 ms
75,820 KB
testcase_36 AC 64 ms
75,580 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

S=int(input())

mod=10**6

for i in range(10**6,2*10**6):
    x=i**2
    if x%mod==S:
        print("YES")
        exit()

print("NO")
0