摘要: 1 #include<iostream> 2 using namespace std; 3 int main() 4 { 5 char n; 6 int i=1; 7 int s=0; 8 while(cin.get(n)) 9 { 10 if (n=='#')break; 11 if (n!='\ 阅读全文
posted @ 2017-05-04 12:56 浮华散丶 阅读(69) 评论(0) 推荐(0) 编辑
摘要: 1 #include<iostream> 2 #include<vector> 3 #include<algorithm> 4 #include<string> 5 #include<iomanip> 6 using namespace std; 7 //½á¹¹Ìå: 8 struct stude 阅读全文
posted @ 2017-05-04 12:54 浮华散丶 阅读(73) 评论(0) 推荐(0) 编辑
摘要: 1 #include<iostream> 2 #include<vector> 3 #include<string> 4 #include<algorithm> //reverse所在头文件 5 using namespace std; 6 bool Comp(const string &str1, 阅读全文
posted @ 2017-05-04 12:51 浮华散丶 阅读(67) 评论(0) 推荐(0) 编辑
摘要: 1 #include<iostream> 2 #include<set> 3 #include<string> 4 #include<algorithm> 5 using namespace std; 6 struct Comp//multiset内部排序名为Comp 7 { 8 bool oper 阅读全文
posted @ 2017-05-04 12:48 浮华散丶 阅读(62) 评论(0) 推荐(0) 编辑
摘要: 1 #include <iostream> 2 using namespace std; 3 int main() 4 { 5 bool sushu(int n); 6 long long i,n,s,t,a,b,c,d,e; 7 while (cin>>n) 8 { 9 a=n%10; 10 b= 阅读全文
posted @ 2017-05-04 12:47 浮华散丶 阅读(68) 评论(0) 推荐(0) 编辑
摘要: 1 #include<iostream> 2 #include<set> 3 using namespace std; 4 int main() 5 { 6 int s=0; 7 int F=479001600; 8 multiset<unsigned int> a; 9 int n; 10 whi 阅读全文
posted @ 2017-05-04 12:44 浮华散丶 阅读(70) 评论(0) 推荐(0) 编辑
摘要: 1 #include<stdio.h> 2 int main() 3 { 4 int n,i,s,j,a[100],w,k; 5 while(scanf("%d",&n)==1) 6 { 7 printf("%d:",n); 8 for (i=2; i<=n; i++) 9 { 10 s=1; 11 阅读全文
posted @ 2017-05-04 12:43 浮华散丶 阅读(68) 评论(0) 推荐(0) 编辑
摘要: 1 #include<stdio.h> 2 int main() 3 { 4 int i,n,j[31],s,a,b; 5 for(;scanf("%d",&n)==1;) 6 { 7 i=0; 8 if (n==0) 9 { 10 printf("%11d-->0\n",n); 11 contin 阅读全文
posted @ 2017-05-04 12:42 浮华散丶 阅读(98) 评论(0) 推荐(0) 编辑
摘要: 1 #include<stdio.h> 2 int main() 3 { 4 int x,i,n,a,c; 5 while(scanf("%d",&x)==1) 6 { 7 if (x>=100 && x<=999) 8 { 9 n=0; 10 for (i=1;i<=x;i++) 11 { 12 阅读全文
posted @ 2017-05-04 12:35 浮华散丶 阅读(61) 评论(0) 推荐(0) 编辑
摘要: 1 #include<stdio.h> 2 int main() 3 { 4 int i,j,s,b,a; 5 float t; 6 s=0; 7 for (i=1;i<=5;i++) 8 { 9 while(scanf("%d",&a)==1) 10 { 11 for (j=1;j<=a;j++) 阅读全文
posted @ 2017-05-04 12:34 浮华散丶 阅读(64) 评论(0) 推荐(1) 编辑