結果

問題 No.2011 Arbitrary Mod (Hidden)
ユーザー tassei903tassei903
提出日時 2022-07-16 05:00:59
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 509 bytes
コンパイル時間 974 ms
コンパイル使用メモリ 86,976 KB
実行使用メモリ 76,248 KB
最終ジャッジ日時 2023-09-10 11:29:08
合計ジャッジ時間 12,320 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 79 ms
76,124 KB
testcase_02 WA -
testcase_03 AC 79 ms
76,124 KB
testcase_04 WA -
testcase_05 AC 79 ms
75,768 KB
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 80 ms
76,056 KB
testcase_10 AC 82 ms
76,080 KB
testcase_11 WA -
testcase_12 AC 82 ms
76,140 KB
testcase_13 WA -
testcase_14 WA -
testcase_15 AC 82 ms
76,196 KB
testcase_16 WA -
testcase_17 WA -
testcase_18 AC 83 ms
75,920 KB
testcase_19 AC 86 ms
76,164 KB
testcase_20 AC 84 ms
76,144 KB
testcase_21 WA -
testcase_22 AC 85 ms
76,036 KB
testcase_23 WA -
testcase_24 WA -
testcase_25 WA -
testcase_26 WA -
testcase_27 AC 84 ms
76,000 KB
testcase_28 AC 82 ms
76,040 KB
testcase_29 AC 82 ms
76,152 KB
testcase_30 WA -
testcase_31 WA -
testcase_32 WA -
testcase_33 AC 83 ms
76,168 KB
testcase_34 AC 82 ms
76,140 KB
testcase_35 WA -
testcase_36 WA -
testcase_37 WA -
testcase_38 AC 82 ms
76,140 KB
testcase_39 AC 82 ms
76,148 KB
testcase_40 AC 79 ms
76,108 KB
testcase_41 WA -
testcase_42 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = lambda :sys.stdin.readline()[:-1]
ni = lambda :int(input())
na = lambda :list(map(int,input().split()))
yes = lambda :print("yes");Yes = lambda :print("Yes");YES = lambda : print("YES")
no = lambda :print("no");No = lambda :print("No");NO = lambda : print("NO")
#####################################################################
n = ni()
M = 1<<24
print(M)
print(1)
for a in range(20,5001):
    if pow(a**2-398,pow(2,n,M//2),M) != 1:
        print("!")
        while 1:
            pass
0