Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

似乎编译是有大概10秒的时间限制的。。。下面这个程序就编译超时了!

Posted by NeverWin at 2011-08-01 18:01:32 on Problem 1000
//#warning "haha"
#ifndef x
#define x 0
#include <cstdio>
using namespace std;int main(){int a,b;scanf("%d%d",&a,&b);printf("%d\n",a+b);return 0;}
#endif
#if x==0
#undef x
#define x 1
#include __FILE__
#undef x
#define x 1
#include __FILE__
#undef x
#define x 1
#include __FILE__
#else
#if x==1
#undef x
#define x 2
#include __FILE__
#undef x
#define x 2
#include __FILE__
#undef x
#define x 2
#include __FILE__
#else
#if x==2
#undef x
#define x 3
#include __FILE__
#undef x
#define x 3
#include __FILE__
#undef x
#define x 3
#include __FILE__
#else
#if x==3
#undef x
#define x 4
#include __FILE__
#undef x
#define x 4
#include __FILE__
#undef x
#define x 4
#include __FILE__
#else
#if x==4
#undef x
#define x 5
#include __FILE__
#undef x
#define x 5
#include __FILE__
#undef x
#define x 5
#include __FILE__
#else
#if x==5
#undef x
#define x 6
#include __FILE__
#undef x
#define x 6
#include __FILE__
#undef x
#define x 6
#include __FILE__
#else
#if x==6
#undef x
#define x 7
#include __FILE__
#undef x
#define x 7
#include __FILE__
#undef x
#define x 7
#include __FILE__
#else
#if x==7
#undef x
#define x 8
#include __FILE__
#undef x
#define x 8
#include __FILE__
#undef x
#define x 8
#include __FILE__
#else
#if x==8
#undef x
#define x 9
#include __FILE__
#undef x
#define x 9
#include __FILE__
#undef x
#define x 9
#include __FILE__
#else
#if x==9
#undef x
#define x 10
#include __FILE__
#undef x
#define x 10
#include __FILE__
#undef x
#define x 10
#include __FILE__
#else
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif
#endif

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator