結果

問題 No.1144 Triangles
ユーザー tailstails
提出日時 2020-08-03 18:23:00
言語 cLay
(20240104-1)
結果
AC  
実行時間 1,794 ms / 3,000 ms
コード長 124 bytes
コンパイル時間 1,730 ms
コンパイル使用メモリ 160,692 KB
実行使用メモリ 4,384 KB
最終ジャッジ日時 2023-09-19 00:57:29
合計ジャッジ時間 26,557 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
4,384 KB
testcase_01 AC 1 ms
4,380 KB
testcase_02 AC 1 ms
4,376 KB
testcase_03 AC 1 ms
4,384 KB
testcase_04 AC 1,794 ms
4,380 KB
testcase_05 AC 1,790 ms
4,384 KB
testcase_06 AC 1,794 ms
4,384 KB
testcase_07 AC 1,792 ms
4,380 KB
testcase_08 AC 1,792 ms
4,376 KB
testcase_09 AC 1 ms
4,376 KB
testcase_10 AC 2 ms
4,384 KB
testcase_11 AC 1 ms
4,380 KB
testcase_12 AC 2 ms
4,380 KB
testcase_13 AC 1 ms
4,380 KB
testcase_14 AC 1,583 ms
4,380 KB
testcase_15 AC 1,557 ms
4,380 KB
testcase_16 AC 1,704 ms
4,380 KB
testcase_17 AC 1,710 ms
4,380 KB
testcase_18 AC 1,712 ms
4,380 KB
testcase_19 AC 110 ms
4,376 KB
testcase_20 AC 3 ms
4,380 KB
testcase_21 AC 3 ms
4,376 KB
testcase_22 AC 1,620 ms
4,380 KB
testcase_23 AC 28 ms
4,376 KB
testcase_24 AC 1,579 ms
4,380 KB
testcase_25 AC 310 ms
4,376 KB
testcase_26 AC 13 ms
4,376 KB
testcase_27 AC 1,645 ms
4,380 KB
testcase_28 AC 164 ms
4,376 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

ll n,s,x[2d3],y[2d3];{rd(n,(x,y)(n));rep(i,n)rep(j,i)s+=abs((x[j]-x[i])*(y[0..j]-y[i])-(y[j]-y[i])*(x[0..]-x[i]));wt(s%MD);}
0