結果

問題 No.1166 NADA DNA
ユーザー yuruhiyayuruhiya
提出日時 2021-08-01 14:46:24
言語 cLay
(20240104-1)
結果
AC  
実行時間 127 ms / 3,000 ms
コード長 169 bytes
コンパイル時間 3,433 ms
コンパイル使用メモリ 174,428 KB
実行使用メモリ 63,240 KB
最終ジャッジ日時 2023-09-19 02:33:26
合計ジャッジ時間 6,518 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 55 ms
50,316 KB
testcase_01 AC 40 ms
52,980 KB
testcase_02 AC 57 ms
50,404 KB
testcase_03 AC 53 ms
54,820 KB
testcase_04 AC 127 ms
62,132 KB
testcase_05 AC 110 ms
63,088 KB
testcase_06 AC 108 ms
63,176 KB
testcase_07 AC 110 ms
63,108 KB
testcase_08 AC 108 ms
63,104 KB
testcase_09 AC 110 ms
63,168 KB
testcase_10 AC 108 ms
63,124 KB
testcase_11 AC 110 ms
63,084 KB
testcase_12 AC 108 ms
63,240 KB
testcase_13 AC 109 ms
63,204 KB
testcase_14 AC 107 ms
63,112 KB
testcase_15 AC 110 ms
63,088 KB
testcase_16 AC 108 ms
63,160 KB
testcase_17 AC 110 ms
63,200 KB
testcase_18 AC 107 ms
63,224 KB
testcase_19 AC 110 ms
63,112 KB
testcase_20 AC 40 ms
55,032 KB
testcase_21 AC 54 ms
50,240 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

int n,l,a[1d6],b[],c[],z;string s[];wgraph<int>g;{rd(n,l,s(n));rep(i,n)rep(j,n)c[z]+=s[i][0..l]!=s[j][0..],a[z]=i,b[z++]=j;g.setEdge(n,1d6,a,b,c);wt(g.MST_Prim_cost());}
0