12 2014 档案

摘要:#include#include#include#includeusing namespace std;typedef int State[9];const int MAXSTATE=1000000;State st[MAXSTATE],goal;//int dist[MAXSTATE];int v... 阅读全文
posted @ 2014-12-23 19:05 sola94 阅读(131) 评论(0) 推荐(0) 编辑
摘要:#include#include#include#include#includeusing namespace std;int main(){ int a,b,x; while(scanf("%d%d",&a,&b)!=EOF) { if(ab) ans++; if(c... 阅读全文
posted @ 2014-12-23 19:04 sola94 阅读(128) 评论(0) 推荐(0) 编辑
摘要:#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 阅读(116) 评论(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 阅读(145) 评论(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 阅读(125) 评论(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 阅读(113) 评论(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 阅读(138) 评论(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 阅读(174) 评论(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 阅读(170) 评论(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 阅读(136) 评论(0) 推荐(0) 编辑
摘要:HighwaysPOJ 2485so that it will be possible to drive between any pair of towns without leaving the highway system. Flatopian towns are numbered from 1... 阅读全文
posted @ 2014-12-03 13:35 sola94 阅读(167) 评论(0) 推荐(0) 编辑
摘要:Agri-NetTime Limit:1000MSMemory Limit:10000KB64bit IO Format:%I64d & %I64uSubmitStatusPracticePOJ 1258DescriptionFarmer John has been elected mayor of... 阅读全文
posted @ 2014-12-01 13:45 sola94 阅读(144) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示