結果

問題 No.377 背景パターン
ユーザー FF256grhyFF256grhy
提出日時 2022-01-07 13:05:57
言語 cLay
(20240104-1)
結果
AC  
実行時間 1,045 ms / 5,000 ms
コード長 142 bytes
コンパイル時間 8,798 ms
コンパイル使用メモリ 223,920 KB
実行使用メモリ 12,364 KB
最終ジャッジ日時 2024-04-26 10:02:23
合計ジャッジ時間 11,982 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 8 ms
9,788 KB
testcase_01 AC 8 ms
9,828 KB
testcase_02 AC 9 ms
9,828 KB
testcase_03 AC 8 ms
9,920 KB
testcase_04 AC 8 ms
11,744 KB
testcase_05 AC 8 ms
9,788 KB
testcase_06 AC 9 ms
9,828 KB
testcase_07 AC 8 ms
9,824 KB
testcase_08 AC 7 ms
9,700 KB
testcase_09 AC 8 ms
9,700 KB
testcase_10 AC 8 ms
9,900 KB
testcase_11 AC 9 ms
12,240 KB
testcase_12 AC 9 ms
9,700 KB
testcase_13 AC 14 ms
12,364 KB
testcase_14 AC 14 ms
9,824 KB
testcase_15 AC 9 ms
11,740 KB
testcase_16 AC 1,034 ms
9,828 KB
testcase_17 AC 1,045 ms
9,828 KB
testcase_18 AC 9 ms
11,868 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

ll@h,@w,A,B,a[2d3],b[2d3];Mint@k,s;A=Divisor(h,a);B=Divisor(w,b);rep[a](i,A)rep[b](j,B)s+=EulerPhi(i)*EulerPhi(j)*k**(h*w/lcm(i,j));wt(s/h/w);
0