摘要: 谁获得了最高奖学金http://acm.nyist.net/JudgeOnline/problem.php?pid=60时间限制:1000 ms | 内存限制:65535 KB难度:2描述某校的惯例是在每学期的期末考试之后发放奖学金。发放的奖学金共有五种,获取的条件各自不同: 1) 院士奖学金,每人8000元,期末平均成绩高于80分(>80),并且在本学期内发表1篇或1篇以上论文的学生均可获得; 2) 五四奖学金,每人4000元,期末平均成绩高于85分(>85),并且班级评议成绩高于80分(>80)的学生均可获得; 3) 成绩优秀奖,每人2000元,期末平均成绩高于90分(& 阅读全文
posted @ 2013-07-31 19:40 王莜轩 阅读(972) 评论(3) 推荐(0) 编辑
摘要: 给出两个时间输出他们间隔几天如:输入:2013 1 12013 2 1输出31代码如下:#includeint main(){int y[2],m[2],d[2],i,j,t,s,yca;int lean(int year);int cou(int nian,int yue,int ri);scanf("%d %d %d",&y[0],&m[0],&d[0]);scanf("%d %d %d",&y[1],&m[1],&d[1]);if(y[0]>y[1]){t=y[1];y[1]=y[0];y[0] 阅读全文
posted @ 2013-07-31 16:34 王莜轩 阅读(210) 评论(0) 推荐(0) 编辑
摘要: Calendarhttp://poj.org/problem?id=2080Time Limit: 1000MSMemory Limit: 30000KTotal Submissions: 9858Accepted: 3696DescriptionA calendar is a system for measuring time, from hours and minutes, to months and days, and finally to years and centuries. The terms of hour, day, month, year and century are a 阅读全文
posted @ 2013-07-31 16:31 王莜轩 阅读(652) 评论(0) 推荐(0) 编辑