摘要:
DescriptionInputOutputSample Input102 13 24 35 46 17 38 39 410 1526 152 7 3 6 91848 7 10 352 9 3 5 8Sample Output1 93 1 4 1 1101 1 3 54 1 3 1 1Data Co... 阅读全文
摘要:
DescriptionInputOutputSample Input35 45 45 34 23 23 31 22 33 15 25 24 3Sample Output1 5 3 4 2Impossible!1 5 2 4 3Data Constraint题目本意是求一个拓扑序,使得1尽量靠前,1靠... 阅读全文
摘要:
DescriptionInputOutputSample Input10 10 101 22 33 44 55 66 77 88 99 103 2 21739443410 7 130222696 7 2832544856 8 3330423604 6 4421393728 3 22504559010... 阅读全文
摘要:
DescriptionInputOutputSample Input输入1:13 20.5000 20.3000 30.9000 1输入2:110 120.3668 8570.4736 2830.2321 8010.6880 5550.0225 1210.5814 7240.0456 600.982... 阅读全文