http://poj.org/problem?id=2262 Goldbach's Conjecture Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 34323 Accepted: 13169 Description In 1742, Christian Goldbach, a German amateur mathematician, sent a letter to Leonhard Euler in whic…
题目链接: https://cn.vjudge.net/problem/POJ-2262 题目描述: In 1742, Christian Goldbach, a German amateur mathematician, sent a letter to Leonhard Euler in which he made the following conjecture: Every even number greater than 4 can be written as the sum of t…
1.Link: http://poj.org/problem?id=2262 http://bailian.openjudge.cn/practice/2262 2.Content: Goldbach's Conjecture Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 37791 Accepted: 14536 Description In 1742, Christian Goldbach, a German a…
Hangover Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 103896 Accepted: 50542 Description How far can you make a stack of cards overhang a table? If you have one card, you can create a maximum overhang of half a card length. (We're a…
http://poj.org/problem?id=1062 #include <iostream> #include <cstring> #include <queue> using namespace std; int m,n; struct adjlist{ int c[101],t[101]; }a[101]; int d[101],tm[101],l[101],r[101]; queue<int >que; int abs(int x){ retu…