摘要: #include<iostream> using namespace std; int main() { int cases; int k; cin>>cases; while(cases--) { int y,n; cin>>y>>n; int num=0; for(k=y;;k++) { if( 阅读全文
posted @ 2017-01-21 21:02 王坤1993 阅读(139) 评论(0) 推荐(0) 编辑
摘要: #include <map> #include <string.h> #include <iostream> using namespace std; #include<stdio.h> int main() { char s1[20],s2[20],s[3005],s3[20],c,a[100]; 阅读全文
posted @ 2017-01-21 21:00 王坤1993 阅读(155) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <string> #include <cstring> #include <stack> #include <algorithm> using namespace std; const int inf = 1<<30; struct node 阅读全文
posted @ 2017-01-21 20:56 王坤1993 阅读(158) 评论(0) 推荐(0) 编辑
摘要: #include<iostream> using namespace std; #define N 5050 char a[N],b[N],tmp[N]; void Read(char p[]) { getchar(); gets(tmp); while(gets(tmp)) { if(strcmp 阅读全文
posted @ 2017-01-21 20:54 王坤1993 阅读(250) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <cstdio> #include <cstring> #include <queue> using namespace std; class Data { public: int Etime; int x, y; int count; }; 阅读全文
posted @ 2017-01-21 20:53 王坤1993 阅读(220) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <stdio.h> using namespace std; int main() { int t; double x1,y1,x2,y2,x3,y3,a,k,s; cin>>t; while(t--) { cin>>x1>>y1>>x2>> 阅读全文
posted @ 2017-01-21 20:51 王坤1993 阅读(142) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h>#include <string.h>struct milk{ char brand[128]; int price; int volume; double value;}a[100];int main(void){ int i,t,n,d; struct mil 阅读全文
posted @ 2017-01-21 20:50 王坤1993 阅读(216) 评论(0) 推荐(0) 编辑