結果

問題 No.2185 平方数の下6桁
ユーザー Mat_hMat_h
提出日時 2023-01-13 21:31:57
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 369 ms / 2,000 ms
コード長 172 bytes
コンパイル時間 96 ms
コンパイル使用メモリ 10,660 KB
実行使用メモリ 8,112 KB
最終ジャッジ日時 2023-08-26 03:07:12
合計ジャッジ時間 8,490 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,928 KB
testcase_01 AC 85 ms
8,068 KB
testcase_02 AC 325 ms
7,792 KB
testcase_03 AC 35 ms
7,932 KB
testcase_04 AC 332 ms
7,896 KB
testcase_05 AC 332 ms
7,916 KB
testcase_06 AC 332 ms
7,772 KB
testcase_07 AC 64 ms
8,028 KB
testcase_08 AC 328 ms
7,824 KB
testcase_09 AC 54 ms
7,904 KB
testcase_10 AC 332 ms
7,776 KB
testcase_11 AC 17 ms
7,920 KB
testcase_12 AC 332 ms
7,792 KB
testcase_13 AC 54 ms
8,112 KB
testcase_14 AC 329 ms
7,844 KB
testcase_15 AC 28 ms
8,096 KB
testcase_16 AC 21 ms
8,088 KB
testcase_17 AC 16 ms
7,984 KB
testcase_18 AC 330 ms
7,704 KB
testcase_19 AC 18 ms
8,032 KB
testcase_20 AC 369 ms
7,848 KB
testcase_21 AC 332 ms
7,772 KB
testcase_22 AC 77 ms
7,932 KB
testcase_23 AC 331 ms
7,776 KB
testcase_24 AC 45 ms
7,936 KB
testcase_25 AC 335 ms
7,772 KB
testcase_26 AC 330 ms
7,772 KB
testcase_27 AC 76 ms
7,976 KB
testcase_28 AC 56 ms
7,920 KB
testcase_29 AC 86 ms
8,048 KB
testcase_30 AC 327 ms
7,816 KB
testcase_31 AC 328 ms
7,708 KB
testcase_32 AC 66 ms
8,080 KB
testcase_33 AC 29 ms
7,904 KB
testcase_34 AC 325 ms
7,888 KB
testcase_35 AC 328 ms
7,772 KB
testcase_36 AC 34 ms
7,908 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

def main():
    s=input()
    for i in range(317,1000000):
        t=str(i*i)
        if s==t[len(t)-6:]:
            print("YES")
            exit()
    print("NO")
main()
0