上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 22 下一页
摘要: #include#include#include#includeusing namespace std;int num[1100];int main(){ int n,k,l,r,sa,sk; int ver,yu,add,sla; int i,j; while(scanf(... 阅读全文
posted @ 2014-12-23 19:02 sola94 阅读(114) 评论(0) 推荐(0) 编辑
摘要: #include#include#include#includeusing namespace std;int bowl,plate;int n;int dish[1100];int main(){ int i,j; while(scanf("%d%d%d",&n,&bowl,&plat... 阅读全文
posted @ 2014-12-23 19:00 sola94 阅读(143) 评论(0) 推荐(0) 编辑
摘要: #include#include#include#include#includeusing namespace std;char mat[10][10];int vis[10][10];int ok,dx,dy;int m,n,d;int op[4][2]={0,1,1,0,0,-1,-1,0};b... 阅读全文
posted @ 2014-12-23 18:57 sola94 阅读(123) 评论(0) 推荐(0) 编辑
摘要: Prime Ring ProblemTime Limit: 4000/2000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 28391Accepted Submission(s): 126... 阅读全文
posted @ 2014-12-09 15:29 sola94 阅读(112) 评论(0) 推荐(0) 编辑
摘要: #includeint main(){ //int a[5]={1,2,4,7,15}; int a[5]; a[0]=1;a[1]=2;a[2]=4;a[3]=7;a[4]=15; int num,i; while(scanf("%d",&num)!=EOF) { for(i=4... 阅读全文
posted @ 2014-12-08 21:30 sola94 阅读(137) 评论(0) 推荐(0) 编辑
摘要: DescriptionThe summer training of ZJU ICPC in July is about to end. To celebrate this great and happy day, the coaches of ZJU ICPC TeamNaviandFancydec... 阅读全文
posted @ 2014-12-08 21:26 sola94 阅读(173) 评论(0) 推荐(0) 编辑
摘要: Description"Well, it seems the first problem is too easy. I will let you know how foolish you are later." feng5166 says."The second problem is, given ... 阅读全文
posted @ 2014-12-08 21:20 sola94 阅读(148) 评论(0) 推荐(0) 编辑
摘要: DescriptionConsider a football tournament wherenteams participate. Each team has two football kits: for home games, and for away games. The kit for ho... 阅读全文
posted @ 2014-12-08 21:18 sola94 阅读(166) 评论(0) 推荐(0) 编辑
摘要: DescriptionThe Saratov State University Olympiad Programmers Training Center (SSU OPTC) hasnstudents. For each student you know the number of times he... 阅读全文
posted @ 2014-12-08 21:17 sola94 阅读(211) 评论(0) 推荐(0) 编辑
摘要: ExponentiationTime Limit:1000MSMemory Limit:10000KB64bit IO Format:%I64d & %I64uSubmitStatusPracticePOJ 1251DescriptionThe Head Elder of the tropical ... 阅读全文
posted @ 2014-12-03 13:51 sola94 阅读(135) 评论(0) 推荐(0) 编辑
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 22 下一页