又是一道不会的题,但是猜想答案就是n,交上去居然也过了,但是还是不理解为什么,求大牛指导……
/* * hdu1295/win.cpp * Created on: 2012-10-25 * Author : ben */ #include <cstdio> #include <cstdlib> #include <cstring> #include <cmath> #include <ctime> #include <iostream> #include <algorithm> #include <queue> #include <set> #include <map> #include <stack> #include <string> #include <vector> #include <deque> #include <list> #include <functional> #include <numeric> #include <cctype> using namespace std; int main() { #ifndef ONLINE_JUDGE freopen("data.in", "r", stdin); #endif int n; while(scanf("%d", &n) == 1) { printf("%d\n", n); } return 0; }