// ZOJ1251 Box of Bricks(POJ1477) 很简单 数学题.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include<iostream> using namespace std; int main() { int n3,b=1; while (1) { int n4 = …
#include "stdafx.h" #include<stdio.h> #include<string.h> int main() { char chars[81]; int num = 0; int i, temp; while (scanf("%s", chars) != EOF) { if (strcmp(chars, "&l…
// ZOJ Problem Set - 1016-S (((()()()))).cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include<iostream> using namespace std; int main() { int n; cin >> n; while (n) { int s…
// 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++…