結果

問題 No.2190 平方数の下12桁
ユーザー titiatitia
提出日時 2023-01-13 21:53:32
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 275 bytes
コンパイル時間 241 ms
コンパイル使用メモリ 87,200 KB
実行使用メモリ 80,796 KB
最終ジャッジ日時 2023-08-26 03:37:02
合計ジャッジ時間 5,393 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 89 ms
80,204 KB
testcase_01 AC 90 ms
76,056 KB
testcase_02 AC 101 ms
75,732 KB
testcase_03 AC 91 ms
75,916 KB
testcase_04 AC 91 ms
75,876 KB
testcase_05 AC 88 ms
75,624 KB
testcase_06 AC 98 ms
75,652 KB
testcase_07 AC 100 ms
75,664 KB
testcase_08 AC 98 ms
75,648 KB
testcase_09 AC 92 ms
76,020 KB
testcase_10 AC 101 ms
75,980 KB
testcase_11 AC 115 ms
75,672 KB
testcase_12 TLE -
testcase_13 -- -
testcase_14 -- -
testcase_15 -- -
testcase_16 -- -
testcase_17 -- -
testcase_18 -- -
testcase_19 -- -
testcase_20 -- -
testcase_21 -- -
testcase_22 -- -
testcase_23 -- -
testcase_24 -- -
testcase_25 -- -
testcase_26 -- -
testcase_27 -- -
testcase_28 -- -
testcase_29 -- -
testcase_30 -- -
testcase_31 -- -
testcase_32 -- -
testcase_33 -- -
testcase_34 -- -
testcase_35 -- -
testcase_36 -- -
testcase_37 -- -
testcase_38 -- -
testcase_39 -- -
testcase_40 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

x=int(input())

LIST=[]

for i in range(10000123):
    if (i*i)%100000==x%(100000):
        LIST.append(i)
        
for i in range(10000123):
    for l in LIST:
        y=l+i*100000

        if (y*y)%1000000000000==x:
            print("YES")
            exit()

print("NO")
0