結果

問題 No.1726 [Cherry 3rd Tune B] ジャマイカビアポン
ユーザー tailstails
提出日時 2023-02-02 19:47:42
言語 cLay
(20240104-1)
結果
TLE  
(最新)
AC  
(最初)
実行時間 -
コード長 279 bytes
コンパイル時間 2,380 ms
コンパイル使用メモリ 171,248 KB
実行使用メモリ 43,668 KB
最終ジャッジ日時 2023-08-11 21:59:19
合計ジャッジ時間 35,107 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,380 KB
testcase_01 AC 2 ms
4,380 KB
testcase_02 AC 2 ms
4,380 KB
testcase_03 AC 2 ms
4,380 KB
testcase_04 AC 4 ms
4,380 KB
testcase_05 AC 4 ms
4,384 KB
testcase_06 AC 2 ms
4,384 KB
testcase_07 AC 2 ms
4,384 KB
testcase_08 AC 2 ms
4,380 KB
testcase_09 AC 2 ms
4,384 KB
testcase_10 AC 2 ms
4,388 KB
testcase_11 AC 4 ms
4,384 KB
testcase_12 AC 8 ms
4,384 KB
testcase_13 AC 2 ms
4,384 KB
testcase_14 AC 425 ms
12,012 KB
testcase_15 AC 1,669 ms
26,772 KB
testcase_16 AC 2,435 ms
35,032 KB
testcase_17 AC 1,547 ms
26,036 KB
testcase_18 AC 1,212 ms
21,832 KB
testcase_19 AC 2,138 ms
31,848 KB
testcase_20 AC 556 ms
13,536 KB
testcase_21 AC 1,997 ms
30,104 KB
testcase_22 AC 844 ms
17,756 KB
testcase_23 AC 922 ms
18,352 KB
testcase_24 TLE -
testcase_25 TLE -
testcase_26 TLE -
testcase_27 TLE -
testcase_28 TLE -
testcase_29 TLE -
testcase_30 TLE -
testcase_31 TLE -
testcase_32 TLE -
testcase_33 TLE -
testcase_34 AC 2 ms
4,388 KB
testcase_35 AC 1 ms
4,384 KB
testcase_36 AC 2 ms
4,508 KB
testcase_37 AC 1 ms
4,384 KB
testcase_38 AC 137 ms
4,384 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

ll@n,@m,@p[n],a[],b[],c[m],d[],z=0;
rd((a,b)(n),(c,d)(m));
rep(2){
	rep(i,n){
		a[i]=-a[i];
	}
	rep(2){
		rep(i,n){
			b[i]=-b[i];
		}
		map<pair<ll,ll>,ll>h;
		rep(i,n){
			rep(j,m){
				h[{a[i]-c[j],b[i]-d[j]}]+=p[i];
			}
		}
		for(auto x:h){
			z>?=x.second;
		}
	}
}
wt(z);
0