摘要: #includeint main(){ int i,m,x,y,n,ans,num; while(~scanf("%d%d",&n,&m)&&n&&m) { ans=0; for(i=1; i=m) break; } ... 阅读全文
posted @ 2015-05-07 19:30 xryz 阅读(90) 评论(0) 推荐(0) 编辑
摘要: #include#includeint main(){ int n,i,ans,len,tmp,d,t,m; while(~scanf("%d",&n)) { ans=0; for(i=0;i0) { ... 阅读全文
posted @ 2015-05-07 18:49 xryz 阅读(117) 评论(0) 推荐(0) 编辑
摘要: #include#include#includeusing namespace std;int main(){ int a[20],b[20],i,len1,len2,flag,j,t,d; char s[25],s2[25]; while(~scanf("%s",... 阅读全文
posted @ 2015-05-07 18:00 xryz 阅读(126) 评论(0) 推荐(0) 编辑