結果

問題 No.2185 平方数の下6桁
ユーザー flygonflygon
提出日時 2023-01-13 21:48:12
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 92 ms / 2,000 ms
コード長 343 bytes
コンパイル時間 306 ms
コンパイル使用メモリ 87,044 KB
実行使用メモリ 77,072 KB
最終ジャッジ日時 2023-08-26 03:30:41
合計ジャッジ時間 4,716 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 83 ms
71,880 KB
testcase_01 AC 79 ms
71,904 KB
testcase_02 AC 85 ms
77,020 KB
testcase_03 AC 80 ms
71,528 KB
testcase_04 AC 86 ms
76,980 KB
testcase_05 AC 84 ms
77,072 KB
testcase_06 AC 85 ms
77,020 KB
testcase_07 AC 81 ms
71,788 KB
testcase_08 AC 87 ms
76,768 KB
testcase_09 AC 79 ms
71,524 KB
testcase_10 AC 86 ms
76,860 KB
testcase_11 AC 79 ms
71,684 KB
testcase_12 AC 86 ms
77,028 KB
testcase_13 AC 79 ms
71,632 KB
testcase_14 AC 88 ms
76,756 KB
testcase_15 AC 85 ms
77,060 KB
testcase_16 AC 87 ms
76,864 KB
testcase_17 AC 82 ms
71,412 KB
testcase_18 AC 87 ms
76,800 KB
testcase_19 AC 87 ms
77,056 KB
testcase_20 AC 91 ms
77,008 KB
testcase_21 AC 89 ms
76,724 KB
testcase_22 AC 86 ms
77,012 KB
testcase_23 AC 90 ms
76,868 KB
testcase_24 AC 86 ms
76,812 KB
testcase_25 AC 88 ms
76,952 KB
testcase_26 AC 90 ms
76,800 KB
testcase_27 AC 86 ms
76,744 KB
testcase_28 AC 85 ms
77,020 KB
testcase_29 AC 84 ms
76,988 KB
testcase_30 AC 86 ms
77,060 KB
testcase_31 AC 91 ms
77,004 KB
testcase_32 AC 84 ms
77,040 KB
testcase_33 AC 84 ms
76,720 KB
testcase_34 AC 92 ms
77,016 KB
testcase_35 AC 90 ms
76,864 KB
testcase_36 AC 83 ms
77,036 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
sys.setrecursionlimit(5*10**5)
input = sys.stdin.readline
from collections import defaultdict, deque, Counter
from heapq import heappop, heappush
from bisect import bisect_left, bisect_right
from math import gcd

s = int(input())


for i in range(10**6):
  if i ** 2 % (10**6) == s:
    print("YES")
    break
else:
  print("NO")


0