結果

問題 No.1409 Simple Math in yukicoder
ユーザー tailstails
提出日時 2022-10-27 16:23:09
言語 cLay
(20240104-1)
結果
AC  
実行時間 96 ms / 2,000 ms
コード長 120 bytes
コンパイル時間 8,539 ms
コンパイル使用メモリ 219,264 KB
実行使用メモリ 13,224 KB
最終ジャッジ日時 2023-09-18 10:03:32
合計ジャッジ時間 37,075 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 10 ms
12,472 KB
testcase_01 AC 10 ms
12,488 KB
testcase_02 AC 10 ms
12,524 KB
testcase_03 AC 10 ms
12,568 KB
testcase_04 AC 10 ms
12,544 KB
testcase_05 AC 10 ms
12,520 KB
testcase_06 AC 11 ms
12,488 KB
testcase_07 AC 16 ms
12,564 KB
testcase_08 AC 31 ms
12,744 KB
testcase_09 AC 15 ms
12,628 KB
testcase_10 AC 26 ms
12,608 KB
testcase_11 AC 31 ms
12,744 KB
testcase_12 AC 25 ms
12,612 KB
testcase_13 AC 16 ms
12,628 KB
testcase_14 AC 15 ms
12,524 KB
testcase_15 AC 18 ms
12,576 KB
testcase_16 AC 17 ms
12,632 KB
testcase_17 AC 39 ms
12,752 KB
testcase_18 AC 23 ms
12,620 KB
testcase_19 AC 25 ms
12,660 KB
testcase_20 AC 22 ms
12,620 KB
testcase_21 AC 20 ms
12,540 KB
testcase_22 AC 27 ms
12,712 KB
testcase_23 AC 14 ms
12,508 KB
testcase_24 AC 12 ms
12,512 KB
testcase_25 AC 27 ms
12,612 KB
testcase_26 AC 28 ms
12,620 KB
testcase_27 AC 41 ms
12,828 KB
testcase_28 AC 41 ms
12,732 KB
testcase_29 AC 40 ms
12,720 KB
testcase_30 AC 42 ms
12,756 KB
testcase_31 AC 42 ms
12,740 KB
testcase_32 AC 39 ms
12,728 KB
testcase_33 AC 40 ms
12,844 KB
testcase_34 AC 40 ms
12,728 KB
testcase_35 AC 43 ms
12,776 KB
testcase_36 AC 41 ms
12,752 KB
testcase_37 AC 73 ms
13,160 KB
testcase_38 AC 72 ms
13,008 KB
testcase_39 AC 72 ms
13,224 KB
testcase_40 AC 73 ms
13,104 KB
testcase_41 AC 72 ms
13,112 KB
testcase_42 AC 74 ms
13,048 KB
testcase_43 AC 73 ms
13,024 KB
testcase_44 AC 73 ms
13,060 KB
testcase_45 AC 74 ms
13,040 KB
testcase_46 AC 74 ms
13,016 KB
testcase_47 AC 75 ms
13,048 KB
testcase_48 AC 71 ms
13,064 KB
testcase_49 AC 75 ms
13,076 KB
testcase_50 AC 73 ms
13,104 KB
testcase_51 AC 75 ms
13,028 KB
testcase_52 AC 75 ms
13,048 KB
testcase_53 AC 72 ms
13,164 KB
testcase_54 AC 77 ms
13,076 KB
testcase_55 AC 75 ms
13,044 KB
testcase_56 AC 75 ms
13,040 KB
testcase_57 AC 96 ms
13,076 KB
testcase_58 AC 94 ms
13,084 KB
testcase_59 AC 92 ms
13,048 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

ll@t;
rep(t){
	ll@v,@x,p=x*v+1,r=primitiveRoot(p),a[x];
	rep(i,x){
		a[i]=powmod(r,v*i,p);
	}
	sortA(x,a);
	wt(a(x));
}
0