結果

問題 No.377 背景パターン
ユーザー FF256grhyFF256grhy
提出日時 2022-01-01 10:49:33
言語 cLay
(20240104-1)
結果
AC  
実行時間 1,069 ms / 5,000 ms
コード長 144 bytes
コンパイル時間 9,078 ms
コンパイル使用メモリ 224,456 KB
実行使用メモリ 12,300 KB
最終ジャッジ日時 2024-04-18 04:43:09
合計ジャッジ時間 12,057 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 8 ms
9,828 KB
testcase_01 AC 9 ms
11,872 KB
testcase_02 AC 9 ms
9,700 KB
testcase_03 AC 8 ms
9,824 KB
testcase_04 AC 8 ms
9,828 KB
testcase_05 AC 7 ms
10,024 KB
testcase_06 AC 8 ms
9,884 KB
testcase_07 AC 9 ms
12,300 KB
testcase_08 AC 7 ms
10,028 KB
testcase_09 AC 10 ms
12,296 KB
testcase_10 AC 8 ms
9,572 KB
testcase_11 AC 8 ms
9,940 KB
testcase_12 AC 7 ms
9,828 KB
testcase_13 AC 11 ms
9,828 KB
testcase_14 AC 11 ms
11,868 KB
testcase_15 AC 8 ms
9,700 KB
testcase_16 AC 994 ms
9,828 KB
testcase_17 AC 1,069 ms
9,568 KB
testcase_18 AC 9 ms
11,872 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

ll@h,@w,s,t,I[2000],J[2000];mint@k,a;s=Divisor(h,I);t=Divisor(w,J);rep[I](i,s)rep[J](j,t)a+=EulerPhi(i)*EulerPhi(j)*k**(h*w/lcm(i,j));wt(a/h/w);
0