Qiuqiqiu |
|
||
不管道路多么崎岖坎坷,我永远不停下追逐梦想的脚步! |
2011年12月30日
摘要:
http://acm.hdu.edu.cn/showproblem.php?pid=1050贪心写的。写完后百度发现直接记录每个走廊出现的次数就行了,巧妙的思路,没想到。View Code 1 #include <iostream> 2 #include <cstdio> 3 #include <cstdlib> 4 #include <cstring> 5 using namespace std; 6 const int N=250; 7 struct corridor 8 { 9 int b,e;10 }a[N];11 int s[N];12 阅读全文
|
Copyright © 2024 Qiuqiqiu
Powered by .NET 8.0 on Kubernetes |