2839. The last digit
// 2839. The last digit.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include<iostream> using namespace std; int main() { long int i,sum; sum = 7; for (i = 1; i < 66; i++…
2838. 元音字母
// 2838. 元音字母.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include<iostream> #include<cstring> #include<cstdio> using namespace std; int main() { //string str; //int …
2837. The total number of teams
// 2837. The total number of teams.cpp : 定义控制台应用程序的入口点。 // //#include "stdafx.h" #include<iostream> using namespace std; int main() { int N, i,x, y,sum=0; cin >> N; for (i …
2788.Cifera
// 2788.Cifera.cpp : ¶¨Òå¿ØÖÆ̨ӦÓóÌÐòµÄÈë¿Úµã¡£ // //#include "stdafx.h" #include<iostream> using namespace std; int main() { double k, l, sum; int count; count = 0; cin …
2342
// 2342.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include<cstdio> using namespace std; int main() { double a, b, c, s, v; printf("Input a b c:\n"); scanf("%lf%lf%lf", &a…
2280.Cupboards
// 2280.Cupboards.cpp : 定义控制台应用程序的入口点。 // //#include "stdafx.h" #include<iostream> using namespace std; int main() { //int s1[200], s2[200]; int n,i,x,a0=0,a1=0,b0=0,b1=0,t…
1002_20181019
// 1002_20181019.cpp : 定义控制台应用程序的入口点。 // //#include "stdafx.h" #include<iostream> #include<cmath> using namespace std; int main() { int N,i,max1=0; double x, y,r=0,max=0…
100人成绩的平均
#include "stdafx.h" #include<cstdio> using namespace std; int main() { int i, sum=0,s[100]; for (i = 0; i < 100; i++) { int k = i + 1; printf("请输入第%d位同学的成绩\n",k); scanf(…