結果

問題 No.2011 Arbitrary Mod (Hidden)
ユーザー tassei903tassei903
提出日時 2022-07-16 05:06:16
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 540 bytes
コンパイル時間 1,094 ms
コンパイル使用メモリ 86,388 KB
実行使用メモリ 75,688 KB
最終ジャッジ日時 2023-09-10 11:34:00
合計ジャッジ時間 11,635 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 75 ms
75,508 KB
testcase_02 WA -
testcase_03 AC 76 ms
75,232 KB
testcase_04 WA -
testcase_05 AC 74 ms
75,464 KB
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 76 ms
75,320 KB
testcase_10 AC 74 ms
75,656 KB
testcase_11 WA -
testcase_12 AC 75 ms
75,324 KB
testcase_13 WA -
testcase_14 WA -
testcase_15 AC 75 ms
75,612 KB
testcase_16 WA -
testcase_17 WA -
testcase_18 AC 75 ms
75,448 KB
testcase_19 AC 76 ms
75,432 KB
testcase_20 AC 76 ms
75,532 KB
testcase_21 WA -
testcase_22 AC 76 ms
75,688 KB
testcase_23 WA -
testcase_24 WA -
testcase_25 WA -
testcase_26 WA -
testcase_27 AC 76 ms
75,552 KB
testcase_28 AC 75 ms
75,516 KB
testcase_29 AC 74 ms
75,548 KB
testcase_30 WA -
testcase_31 WA -
testcase_32 WA -
testcase_33 AC 78 ms
75,416 KB
testcase_34 AC 77 ms
75,648 KB
testcase_35 WA -
testcase_36 WA -
testcase_37 WA -
testcase_38 AC 76 ms
75,556 KB
testcase_39 AC 75 ms
75,508 KB
testcase_40 AC 77 ms
75,584 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)
f = pow(2,n,M//2)
for a in range(20,5001):
    if pow(a**2-398,f,M) != 1:
        print("!")
        while 1:
            print(1)
            continue
0