結果

問題 No.2012 Largest Triangle
ユーザー tailstails
提出日時 2022-08-03 19:45:33
言語 cLay
(20240104-1)
結果
AC  
実行時間 192 ms / 2,500 ms
コード長 196 bytes
コンパイル時間 4,189 ms
コンパイル使用メモリ 176,072 KB
実行使用メモリ 10,840 KB
最終ジャッジ日時 2023-10-11 14:37:58
合計ジャッジ時間 10,250 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
4,356 KB
testcase_01 AC 2 ms
4,352 KB
testcase_02 AC 1 ms
4,348 KB
testcase_03 AC 1 ms
4,352 KB
testcase_04 AC 1 ms
4,372 KB
testcase_05 AC 1 ms
4,352 KB
testcase_06 AC 1 ms
4,352 KB
testcase_07 AC 2 ms
4,352 KB
testcase_08 AC 2 ms
4,352 KB
testcase_09 AC 2 ms
4,348 KB
testcase_10 AC 2 ms
4,352 KB
testcase_11 AC 2 ms
4,348 KB
testcase_12 AC 1 ms
4,352 KB
testcase_13 AC 2 ms
4,348 KB
testcase_14 AC 1 ms
4,348 KB
testcase_15 AC 2 ms
4,352 KB
testcase_16 AC 39 ms
10,672 KB
testcase_17 AC 39 ms
10,564 KB
testcase_18 AC 39 ms
10,584 KB
testcase_19 AC 39 ms
10,688 KB
testcase_20 AC 39 ms
10,840 KB
testcase_21 AC 39 ms
10,684 KB
testcase_22 AC 40 ms
10,616 KB
testcase_23 AC 39 ms
10,572 KB
testcase_24 AC 39 ms
10,572 KB
testcase_25 AC 39 ms
10,684 KB
testcase_26 AC 49 ms
10,572 KB
testcase_27 AC 48 ms
10,580 KB
testcase_28 AC 49 ms
10,736 KB
testcase_29 AC 49 ms
10,584 KB
testcase_30 AC 49 ms
10,664 KB
testcase_31 AC 39 ms
10,824 KB
testcase_32 AC 39 ms
10,652 KB
testcase_33 AC 39 ms
10,580 KB
testcase_34 AC 39 ms
10,568 KB
testcase_35 AC 40 ms
10,808 KB
testcase_36 AC 2 ms
4,352 KB
testcase_37 AC 2 ms
4,348 KB
testcase_38 AC 1 ms
4,348 KB
testcase_39 AC 2 ms
4,352 KB
testcase_40 AC 1 ms
4,352 KB
testcase_41 AC 192 ms
5,364 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

ll@n,r=0,z=0,x,y;
Point2d<int,ll,double>@a[n],b[n+1];
n=ConvexHull(n,a,b);
rep(i,n){
	x=CrossProd(b[i],b[r>?=i]);
	while(y=CrossProd(b[i],b[r+1]),x<y){
		x=y;
		if(++r==n)r=0;
	}
	z>?=x;
}
wt(z);
0