結果

問題 No.377 背景パターン
ユーザー FF256grhyFF256grhy
提出日時 2022-01-29 14:40:38
言語 cLay
(20240104-1)
結果
AC  
実行時間 1,116 ms / 5,000 ms
コード長 139 bytes
コンパイル時間 8,214 ms
コンパイル使用メモリ 222,400 KB
実行使用メモリ 10,796 KB
最終ジャッジ日時 2023-08-30 12:49:58
合計ジャッジ時間 11,903 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 10 ms
10,544 KB
testcase_01 AC 11 ms
10,548 KB
testcase_02 AC 11 ms
10,556 KB
testcase_03 AC 10 ms
10,516 KB
testcase_04 AC 10 ms
10,516 KB
testcase_05 AC 10 ms
10,500 KB
testcase_06 AC 10 ms
10,576 KB
testcase_07 AC 10 ms
10,744 KB
testcase_08 AC 10 ms
10,796 KB
testcase_09 AC 10 ms
10,500 KB
testcase_10 AC 10 ms
10,544 KB
testcase_11 AC 10 ms
10,556 KB
testcase_12 AC 10 ms
10,484 KB
testcase_13 AC 15 ms
10,548 KB
testcase_14 AC 15 ms
10,576 KB
testcase_15 AC 10 ms
10,524 KB
testcase_16 AC 1,084 ms
10,560 KB
testcase_17 AC 1,116 ms
10,528 KB
testcase_18 AC 11 ms
10,552 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

ll@h,@w,A,B,a[2d3],b[];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