F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_35692941_22578.cpp:6:2: error: stray '#' in program
     ans[0]=0;
  ^
0_0_35692941_22578.cpp:6:8: error: stray '#' in program
     ans[0]=0;
        ^
0_0_35692941_22578.cpp:6:14: error: stray '#' in program
     ans[0]=0;
              ^
0_0_35692941_22578.cpp:6:20: error: stray '#' in program
     ans[0]=0;
                    ^
0_0_35692941_22578.cpp:7:2: error: stray '#' in program
     ans[1]=1;
  ^
0_0_35692941_22578.cpp:7:8: error: stray '#' in program
     ans[1]=1;
        ^
0_0_35692941_22578.cpp:7:14: error: stray '#' in program
     ans[1]=1;
              ^
0_0_35692941_22578.cpp:7:20: error: stray '#' in program
     ans[1]=1;
                    ^
0_0_35692941_22578.cpp:8:2: error: stray '#' in program
     for(int i=2;i<=500;i++) ans[i]=ans[i-1]+2*i+i*(i-1)/2-1;
  ^
0_0_35692941_22578.cpp:8:8: error: stray '#' in program
     for(int i=2;i<=500;i++) ans[i]=ans[i-1]+2*i+i*(i-1)/2-1;
        ^
0_0_35692941_22578.cpp:8:14: error: stray '#' in program
     for(int i=2;i<=500;i++) ans[i]=ans[i-1]+2*i+i*(i-1)/2-1;
              ^
0_0_35692941_22578.cpp:8:20: error: stray '#' in program
     for(int i=2;i<=500;i++) ans[i]=ans[i-1]+2*i+i*(i-1)/2-1;
                    ^
0_0_35692941_22578.cpp:9:2: error: stray '#' in program
     int t;
  ^
0_0_35692941_22578.cpp:9:8: error: stray '#' in program
     int t;
        ^
0_0_35692941_22578.cpp:9:14: error: stray '#' in program
     int t;
              ^
0_0_35692941_22578.cpp:9:20: error: stray '#' in program
     int t;
                    ^
0_0_35692941_22578.cpp:10:2: error: stray '#' in program
     while(scanf("%d",&t)!=EOF) {
  ^
0_0_35692941_22578.cpp:10:8: error: stray '#' in program
     while(scanf("%d",&t)!=EOF) {
        ^
0_0_35692941_22578.cpp:10:14: error: stray '#' in program
     while(scanf("%d",&t)!=EOF) {
              ^
0_0_35692941_22578.cpp:10:20: error: stray '#' in program
     while(scanf("%d",&t)!=EOF) {
                    ^
0_0_35692941_22578.cpp:11:2: error: stray '#' in program
         ll a=ans[t];
  ^
0_0_35692941_22578.cpp:11:8: error: stray '#' in program
         ll a=ans[t];
        ^
0_0_35692941_22578.cpp:11:14: error: stray '#' in program
         ll a=ans[t];
              ^
0_0_35692941_22578.cpp:11:20: error: stray '#' in program
         ll a=ans[t];
                    ^
0_0_35692941_22578.cpp:11:26: error: stray '#' in program
         ll a=ans[t];
                          ^
0_0_35692941_22578.cpp:11:32: error: stray '#' in program
         ll a=ans[t];
                                ^
0_0_35692941_22578.cpp:11:38: error: stray '#' in program
         ll a=ans[t];
                                      ^
0_0_35692941_22578.cpp:11:44: error: stray '#' in program
         ll a=ans[t];
                                            ^
0_0_35692941_22578.cpp:12:2: error: stray '#' in program
         for(int i=3;i<t;i++) {
  ^
0_0_35692941_22578.cpp:12:8: error: stray '#' in program
         for(int i=3;i<t;i++) {
        ^
0_0_35692941_22578.cpp:12:14: error: stray '#' in program
         for(int i=3;i<t;i++) {
              ^
0_0_35692941_22578.cpp:12:20: error: stray '#' in program
         for(int i=3;i<t;i++) {
                    ^
0_0_35692941_22578.cpp:12:26: error: stray '#' in program
         for(int i=3;i<t;i++) {
                          ^
0_0_35692941_22578.cpp:12:32: error: stray '#' in program
         for(int i=3;i<t;i++) {
                                ^
0_0_35692941_22578.cpp:12:38: error: stray '#' in program
         for(int i=3;i<t;i++) {
                                      ^
0_0_35692941_22578.cpp:12:44: error: stray '#' in program
         for(int i=3;i<t;i++) {
                                            ^
0_0_35692941_22578.cpp:13:2: error: stray '#' in program
             a+=(t-i)*(t-i+1)/2;
  ^
0_0_35692941_22578.cpp:13:8: error: stray '#' in program
             a+=(t-i)*(t-i+1)/2;
        ^
0_0_35692941_22578.cpp:13:14: error: stray '#' in program
             a+=(t-i)*(t-i+1)/2;
              ^
0_0_35692941_22578.cpp:13:20: error: stray '#' in program
             a+=(t-i)*(t-i+1)/2;
                    ^
0_0_35692941_22578.cpp:13:26: error: stray '#' in program
             a+=(t-i)*(t-i+1)/2;
                          ^
0_0_35692941_22578.cpp:13:32: error: stray '#' in program
             a+=(t-i)*(t-i+1)/2;
                                ^
0_0_35692941_22578.cpp:13:38: error: stray '#' in program
             a+=(t-i)*(t-i+1)/2;
                                      ^
0_0_35692941_22578.cpp:13:44: error: stray '#' in program
             a+=(t-i)*(t-i+1)/2;
                                            ^
0_0_35692941_22578.cpp:13:50: error: stray '#' in program
             a+=(t-i)*(t-i+1)/2;
                                                  ^
0_0_35692941_22578.cpp:13:56: error: stray '#' in program
             a+=(t-i)*(t-i+1)/2;
                                                        ^
0_0_35692941_22578.cpp:13:62: error: stray '#' in program
             a+=(t-i)*(t-i+1)/2;
                                                              ^
0_0_35692941_22578.cpp:13:68: error: stray '#' in program
             a+=(t-i)*(t-i+1)/2;
                                                                    ^
0_0_35692941_22578.cpp:14:2: error: stray '#' in program
         }
  ^
0_0_35692941_22578.cpp:14:8: error: stray '#' in program
         }
        ^
0_0_35692941_22578.cpp:14:14: error: stray '#' in program
         }
              ^
0_0_35692941_22578.cpp:14:20: error: stray '#' in program
         }
                    ^
0_0_35692941_22578.cpp:14:26: error: stray '#' in program
         }
                          ^
0_0_35692941_22578.cpp:14:32: error: stray '#' in program
         }
                                ^
0_0_35692941_22578.cpp:14:38: error: stray '#' in program
         }
                                      ^
0_0_35692941_22578.cpp:14:44: error: stray '#' in program
         }
                                            ^
0_0_35692941_22578.cpp:15:2: error: stray '#' in program
         printf("%lld\n",a);
  ^
0_0_35692941_22578.cpp:15:8: error: stray '#' in program
         printf("%lld\n",a);
        ^
0_0_35692941_22578.cpp:15:14: error: stray '#' in program
         printf("%lld\n",a);
              ^
0_0_35692941_22578.cpp:15:20: error: stray '#' in program
         printf("%lld\n",a);
                    ^
0_0_35692941_22578.cpp:15:26: error: stray '#' in program
         printf("%lld\n",a);
                          ^
0_0_35692941_22578.cpp:15:32: error: stray '#' in program
         printf("%lld\n",a);
                                ^
0_0_35692941_22578.cpp:15:38: error: stray '#' in program
         printf("%lld\n",a);
                                      ^
0_0_35692941_22578.cpp:15:44: error: stray '#' in program
         printf("%lld\n",a);
                                            ^
0_0_35692941_22578.cpp:16:2: error: stray '#' in program
     }
  ^
0_0_35692941_22578.cpp:16:8: error: stray '#' in program
     }
        ^
0_0_35692941_22578.cpp:16:14: error: stray '


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-26 12:00:32, Gzip enabled