結果

問題 No.1233 割り切れない気持ち
ユーザー tailstails
提出日時 2020-09-20 00:45:07
言語 cLay
(20240104-1)
結果
AC  
実行時間 14 ms / 3,153 ms
コード長 157 bytes
コンパイル時間 1,702 ms
コンパイル使用メモリ 159,212 KB
実行使用メモリ 9,324 KB
最終ジャッジ日時 2023-09-19 01:20:01
合計ジャッジ時間 4,044 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 7 ms
6,996 KB
testcase_01 AC 7 ms
7,012 KB
testcase_02 AC 7 ms
6,912 KB
testcase_03 AC 8 ms
6,916 KB
testcase_04 AC 7 ms
6,992 KB
testcase_05 AC 8 ms
6,928 KB
testcase_06 AC 8 ms
6,888 KB
testcase_07 AC 8 ms
7,312 KB
testcase_08 AC 10 ms
7,668 KB
testcase_09 AC 12 ms
8,868 KB
testcase_10 AC 13 ms
8,872 KB
testcase_11 AC 8 ms
7,324 KB
testcase_12 AC 14 ms
9,188 KB
testcase_13 AC 13 ms
9,080 KB
testcase_14 AC 14 ms
9,324 KB
testcase_15 AC 14 ms
9,088 KB
testcase_16 AC 14 ms
9,184 KB
testcase_17 AC 9 ms
6,916 KB
testcase_18 AC 12 ms
9,124 KB
testcase_19 AC 12 ms
7,628 KB
testcase_20 AC 9 ms
6,916 KB
testcase_21 AC 10 ms
7,360 KB
testcase_22 AC 9 ms
7,304 KB
testcase_23 AC 10 ms
7,360 KB
testcase_24 AC 9 ms
7,320 KB
testcase_25 AC 10 ms
7,364 KB
testcase_26 AC 9 ms
7,320 KB
testcase_27 AC 10 ms
8,324 KB
testcase_28 AC 10 ms
8,204 KB
testcase_29 AC 10 ms
8,344 KB
testcase_30 AC 10 ms
8,084 KB
testcase_31 AC 10 ms
8,152 KB
testcase_32 AC 10 ms
8,012 KB
testcase_33 AC 10 ms
7,968 KB
testcase_34 AC 10 ms
7,980 KB
testcase_35 AC 10 ms
7,908 KB
testcase_36 AC 10 ms
7,936 KB
testcase_37 AC 7 ms
6,924 KB
testcase_38 AC 8 ms
6,912 KB
testcase_39 AC 10 ms
8,960 KB
testcase_40 AC 10 ms
8,896 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

ll n,u,z,a,b[3d5],c[3d5];
{
	rd(n);
	REP(n)rd(a),++c[a];
	RREP(a,1,2d5+1){
		b[a]=b[a+1]-c[a];
		u=n;
		REP(t,a,2d5+1,a)u+=b[t];
		z+=u*a*c[a];
	}
	wt(z);
}
0