终于AC了 呜呜呜呜#includestruct mem{ char s[50]; double c; double f;} x[60];int main(){ int n; int num,i;//num为课程数量 scanf("%d",&n); w...
分类:
其他好文 时间:
2014-10-17 21:56:39
阅读次数:
264
#includestruct mem{ char s[50]; double c; double f;};int main(){ struct mem x[60]; int n; int num,i,flag;//num为课程数量 scanf("%d",&n)...
分类:
其他好文 时间:
2014-10-17 21:41:12
阅读次数:
139
#includeint main(){ int n,num,p,q,i,a[]={2,3,4,5,6,7}; scanf("%d",&n); while(n--) { int sum=0; scanf("%d%d%d",&num,&p,&q); if(num>6) { sum=num+7...
分类:
其他好文 时间:
2014-10-15 02:35:39
阅读次数:
150
#includeusing namespace std;int main(){ int n,a,b,c,i,sum,j; cin>>n; while(n--) { sum=0; getchar(); cin>>a>>b>>c; if(a>6) puts(...
分类:
其他好文 时间:
2014-10-15 02:34:59
阅读次数:
212
Milk
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 13983 Accepted Submission(s): 3447
Problem Description
Ignatius drinks milk...
分类:
其他好文 时间:
2014-10-10 10:19:34
阅读次数:
296
一定记住输出格式,最后一个输出时,不再输出换行#includeint main(){ int a,b,n,m; while(scanf("%d",&n)!=EOF) { while(n--) { int sum=0; scanf("%d",&m); while(m--) { ...
分类:
其他好文 时间:
2014-10-05 21:47:28
阅读次数:
155
为迎接10月17号清华命题的鞍山现场赛杭电上的题目Biconnected(hdu4997)Rotate(hdu4998)Overt(hdu4999)Clone(hdu5000)Walk(hdu5001)LianLianKanRescueSpy's WorkColor the TreeThe Ghos...
分类:
其他好文 时间:
2014-10-05 21:29:49
阅读次数:
221
http://acm.hdu.edu.cn/showproblem.php?pid=2059我们需要输入的有(1)l(2)n,c,t;(3)vr,v1,v2;(4)p[1],p[2],p[3], p[n];我们需要比较的是兔子的时间和乌龟的时间兔子:1.0*l/vr;乌龟:乌龟的时间由题意可得,是需...
分类:
其他好文 时间:
2014-10-04 18:21:16
阅读次数:
234
#include#include#includeusing namespace std;int max(int a,int b){ if(a>b) return a; else return b;}int main(){ int n,price[1200],i,f[1200],Max,m,j; .....
分类:
其他好文 时间:
2014-10-04 09:22:16
阅读次数:
190
/*放大的XTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 8866 Accepted Submission(s): 2678Problem De...
分类:
其他好文 时间:
2014-10-02 19:00:33
阅读次数:
224