結果
| 問題 |
No.1390 Get together
|
| コンテスト | |
| ユーザー |
tails
|
| 提出日時 | 2021-02-12 21:31:28 |
| 言語 | cLay (20241019-1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 160 bytes |
| コンパイル時間 | 2,592 ms |
| コンパイル使用メモリ | 173,492 KB |
| 実行使用メモリ | 6,016 KB |
| 最終ジャッジ日時 | 2024-07-05 15:03:33 |
| 合計ジャッジ時間 | 3,945 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 20 WA * 9 |
ソースコード
unionFind u;
int d[3d5];
{
int @n,@m;
int z=0;
u.walloc(n+1,1);
rep(n){
int @b,@c;
if(d[c]==0){
d[c]=b;
}else{
z+=u(d[c],b);
}
}
wt(z);
}
tails