Description

$m$ 次操作，第 $i$ 次会把 $a_i$ 号瓶子全部倒入 $b_i$ 号瓶子，之后 $a_i$ 号瓶子不会再用到。

$m<n\leqslant2\times10^5,k\leqslant5\times10^5$
{"ft_lang_label":"__label__zh","ft_lang_prob":0.97020537,"math_prob":1.0000073,"size":601,"snap":"2019-43-2019-47","text_gpt3_token_len":507,"char_repetition_ratio":0.14070351,"word_repetition_ratio":0.0,"special_character_ratio":0.3560732,"punctuation_ratio":0.022988506,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.98537785,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2019-10-15T14:33:58Z\",\"WARC-Record-ID\":\"<urn:uuid:6fc11a62-9dd2-47bc-9a7b-fe70fa1e70a7>\",\"Content-Length\":\"48668\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:329e63c8-64ea-4f8f-b53e-bfdbae1fc790>\",\"WARC-Concurrent-To\":\"<urn:uuid:b13d1e8f-89c5-4b37-a7ce-b8aac5cce73a>\",\"WARC-IP-Address\":\"43.251.159.115\",\"WARC-Target-URI\":\"https://rqy.moe/Solutions/bzoj3712/\",\"WARC-Payload-Digest\":\"sha1:WHIQNIQY2FEG3JW4HNQXGCCJHPL4LLM2\",\"WARC-Block-Digest\":\"sha1:BKHP3ST74JL5QHD3DTZBAWFUZZUQWZJ7\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2019/CC-MAIN-2019-43/CC-MAIN-2019-43_segments_1570986659097.10_warc_CC-MAIN-20191015131723-20191015155223-00514.warc.gz\"}"}