結果

問題 No.2185 平方数の下6桁
ユーザー katonyonkokatonyonko
提出日時 2023-01-13 21:32:29
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 76 ms / 2,000 ms
コード長 183 bytes
コンパイル時間 285 ms
コンパイル使用メモリ 86,820 KB
実行使用メモリ 76,416 KB
最終ジャッジ日時 2023-08-26 03:08:19
合計ジャッジ時間 4,170 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 68 ms
76,036 KB
testcase_01 AC 69 ms
75,808 KB
testcase_02 AC 67 ms
76,248 KB
testcase_03 AC 66 ms
76,200 KB
testcase_04 AC 71 ms
76,152 KB
testcase_05 AC 71 ms
75,816 KB
testcase_06 AC 69 ms
76,200 KB
testcase_07 AC 72 ms
76,136 KB
testcase_08 AC 76 ms
76,196 KB
testcase_09 AC 76 ms
75,992 KB
testcase_10 AC 75 ms
76,060 KB
testcase_11 AC 75 ms
76,084 KB
testcase_12 AC 73 ms
76,080 KB
testcase_13 AC 69 ms
76,144 KB
testcase_14 AC 68 ms
76,012 KB
testcase_15 AC 73 ms
76,388 KB
testcase_16 AC 70 ms
76,120 KB
testcase_17 AC 70 ms
75,992 KB
testcase_18 AC 69 ms
76,028 KB
testcase_19 AC 72 ms
76,112 KB
testcase_20 AC 69 ms
76,028 KB
testcase_21 AC 67 ms
76,200 KB
testcase_22 AC 71 ms
76,220 KB
testcase_23 AC 71 ms
76,232 KB
testcase_24 AC 71 ms
76,416 KB
testcase_25 AC 69 ms
76,012 KB
testcase_26 AC 70 ms
76,320 KB
testcase_27 AC 71 ms
76,072 KB
testcase_28 AC 69 ms
76,236 KB
testcase_29 AC 70 ms
76,132 KB
testcase_30 AC 68 ms
75,968 KB
testcase_31 AC 66 ms
75,960 KB
testcase_32 AC 69 ms
76,104 KB
testcase_33 AC 68 ms
76,164 KB
testcase_34 AC 68 ms
75,968 KB
testcase_35 AC 68 ms
76,028 KB
testcase_36 AC 73 ms
75,952 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
def input():
  return sys.stdin.readline()[:-1]
S=int(input())
ans='NO'
for i in range(500):
  for j in range(1000):
    if (2000*i*j+j**2)%(10**6)==S: ans='YES'
print(ans)
0