結果

問題 No.2185 平方数の下6桁
ユーザー rlangevinrlangevin
提出日時 2023-01-13 21:25:22
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 113 ms / 2,000 ms
コード長 118 bytes
コンパイル時間 1,022 ms
コンパイル使用メモリ 86,848 KB
実行使用メモリ 75,756 KB
最終ジャッジ日時 2023-08-26 02:55:56
合計ジャッジ時間 5,339 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,024 KB
testcase_01 AC 71 ms
71,068 KB
testcase_02 AC 112 ms
75,356 KB
testcase_03 AC 72 ms
71,024 KB
testcase_04 AC 109 ms
75,460 KB
testcase_05 AC 107 ms
75,512 KB
testcase_06 AC 108 ms
75,520 KB
testcase_07 AC 73 ms
71,292 KB
testcase_08 AC 108 ms
75,756 KB
testcase_09 AC 71 ms
71,108 KB
testcase_10 AC 107 ms
75,396 KB
testcase_11 AC 72 ms
71,188 KB
testcase_12 AC 106 ms
75,660 KB
testcase_13 AC 72 ms
71,076 KB
testcase_14 AC 113 ms
75,528 KB
testcase_15 AC 77 ms
75,732 KB
testcase_16 AC 77 ms
75,524 KB
testcase_17 AC 72 ms
71,248 KB
testcase_18 AC 113 ms
75,412 KB
testcase_19 AC 79 ms
75,456 KB
testcase_20 AC 112 ms
75,520 KB
testcase_21 AC 113 ms
75,660 KB
testcase_22 AC 82 ms
75,656 KB
testcase_23 AC 113 ms
75,436 KB
testcase_24 AC 76 ms
75,460 KB
testcase_25 AC 113 ms
75,744 KB
testcase_26 AC 112 ms
75,504 KB
testcase_27 AC 75 ms
75,376 KB
testcase_28 AC 77 ms
75,752 KB
testcase_29 AC 78 ms
75,268 KB
testcase_30 AC 112 ms
75,676 KB
testcase_31 AC 112 ms
75,724 KB
testcase_32 AC 78 ms
75,432 KB
testcase_33 AC 74 ms
75,684 KB
testcase_34 AC 112 ms
75,324 KB
testcase_35 AC 112 ms
75,376 KB
testcase_36 AC 77 ms
75,528 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

S = int(input())
M = 10 ** 7
for i in range(M):
    if i * i % M == S:
        print("YES")
        exit()
print("NO")
0