| ||||||||||
Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
似乎编译是有大概10秒的时间限制的。。。下面这个程序就编译超时了!//#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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator