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_28299882_21274.cpp:6:30: error: stray '#' in program
  while((scanf("%d",&n)!=-1))     
                              ^
0_0_28299882_21274.cpp:6:37: error: stray '#' in program
  while((scanf("%d",&n)!=-1))     
                                     ^
0_0_28299882_21274.cpp:6:44: error: stray '#' in program
  while((scanf("%d",&n)!=-1))     
                                            ^
0_0_28299882_21274.cpp:6:51: error: stray '#' in program
  while((scanf("%d",&n)!=-1))     
                                                   ^
0_0_28299882_21274.cpp:6:58: error: stray '#' in program
  while((scanf("%d",&n)!=-1))     
                                                          ^
0_0_28299882_21274.cpp:7:6: error: stray '#' in program
    { 
      ^
0_0_28299882_21274.cpp:8:2: error: stray '#' in program
         sum=0; 
  ^
0_0_28299882_21274.cpp:8:9: error: stray '#' in program
         sum=0; 
         ^
0_0_28299882_21274.cpp:8:16: error: stray '#' in program
         sum=0; 
                ^
0_0_28299882_21274.cpp:8:23: error: stray '#' in program
         sum=0; 
                       ^
0_0_28299882_21274.cpp:8:30: error: stray '#' in program
         sum=0; 
                              ^
0_0_28299882_21274.cpp:8:37: error: stray '#' in program
         sum=0; 
                                     ^
0_0_28299882_21274.cpp:8:44: error: stray '#' in program
         sum=0; 
                                            ^
0_0_28299882_21274.cpp:8:51: error: stray '#' in program
         sum=0; 
                                                   ^
0_0_28299882_21274.cpp:8:64: error: stray '#' in program
         sum=0; 
                                                                ^
0_0_28299882_21274.cpp:9:2: error: stray '#' in program
         for(i=0;i<=n;i++)  
  ^
0_0_28299882_21274.cpp:9:9: error: stray '#' in program
         for(i=0;i<=n;i++)  
         ^
0_0_28299882_21274.cpp:9:16: error: stray '#' in program
         for(i=0;i<=n;i++)  
                ^
0_0_28299882_21274.cpp:9:23: error: stray '#' in program
         for(i=0;i<=n;i++)  
                       ^
0_0_28299882_21274.cpp:9:30: error: stray '#' in program
         for(i=0;i<=n;i++)  
                              ^
0_0_28299882_21274.cpp:9:37: error: stray '#' in program
         for(i=0;i<=n;i++)  
                                     ^
0_0_28299882_21274.cpp:9:44: error: stray '#' in program
         for(i=0;i<=n;i++)  
                                            ^
0_0_28299882_21274.cpp:9:51: error: stray '#' in program
         for(i=0;i<=n;i++)  
                                                   ^
0_0_28299882_21274.cpp:9:75: error: stray '#' in program
         for(i=0;i<=n;i++)  
                                                                           ^
0_0_28299882_21274.cpp:9:82: error: stray '#' in program
         for(i=0;i<=n;i++)  
                                                                                  ^
0_0_28299882_21274.cpp:10:2: error: stray '#' in program
             sum+=i; 
  ^
0_0_28299882_21274.cpp:10:9: error: stray '#' in program
             sum+=i; 
         ^
0_0_28299882_21274.cpp:10:16: error: stray '#' in program
             sum+=i; 
                ^
0_0_28299882_21274.cpp:10:23: error: stray '#' in program
             sum+=i; 
                       ^
0_0_28299882_21274.cpp:10:30: error: stray '#' in program
             sum+=i; 
                              ^
0_0_28299882_21274.cpp:10:37: error: stray '#' in program
             sum+=i; 
                                     ^
0_0_28299882_21274.cpp:10:44: error: stray '#' in program
             sum+=i; 
                                            ^
0_0_28299882_21274.cpp:10:51: error: stray '#' in program
             sum+=i; 
                                                   ^
0_0_28299882_21274.cpp:10:58: error: stray '#' in program
             sum+=i; 
                                                          ^
0_0_28299882_21274.cpp:10:65: error: stray '#' in program
             sum+=i; 
                                                                 ^
0_0_28299882_21274.cpp:10:72: error: stray '#' in program
             sum+=i; 
                                                                        ^
0_0_28299882_21274.cpp:10:79: error: stray '#' in program
             sum+=i; 
                                                                               ^
0_0_28299882_21274.cpp:10:93: error: stray '#' in program
             sum+=i; 
                                                                                             ^
0_0_28299882_21274.cpp: In function 'int main()':
0_0_28299882_21274.cpp:6:31: error: lvalue required as unary '&' operand
  while((scanf("%d",&n)!=-1))     
                               ^
0_0_28299882_21274.cpp:6:38: error: lvalue required as unary '&' operand
  while((scanf("%d",&n)!=-1))     
                                      ^
0_0_28299882_21274.cpp:6:45: error: lvalue required as unary '&' operand
  while((scanf("%d",&n)!=-1))     
                                             ^
0_0_28299882_21274.cpp:6:52: error: lvalue required as unary '&' operand
  while((scanf("%d",&n)!=-1))     
                                                    ^
0_0_28299882_21274.cpp:6:59: error: lvalue required as unary '&' operand
  while((scanf("%d",&n)!=-1))     
                                                           ^
0_0_28299882_21274.cpp:7:7: error: lvalue required as unary '&' operand
    { 
       ^
0_0_28299882_21274.cpp:8:3: error: lvalue required as unary '&' operand
         sum=0; 
   ^
0_0_28299882_21274.cpp:8:10: error: lvalue required as unary '&' operand
         sum=0; 
          ^
0_0_28299882_21274.cpp:8:17: error: lvalue required as unary '&' operand
         sum=0; 
                 ^
0_0_28299882_21274.cpp:8:24: error: lvalue required as unary '&' operand
         sum=0; 
                        ^
0_0_28299882_21274.cpp:8:31: error: lvalue required as unary '&' operand
         sum=0; 
                               ^
0_0_28299882_21274.cpp:8:38: error: lvalue required as unary '&' operand
         sum=0; 
                                      ^
0_0_28299882_21274.cpp:8:45: error: lvalue required as unary '&' operand
         sum=0; 
                                             ^
0_0_28299882_21274.cpp:8:52: error: lvalue required as unary '&' operand
         sum=0; 
                                                    ^
0_0_28299882_21274.cpp:8:65: error: lvalue required as unary '&' operand
         sum=0; 
                                                                 ^
0_0_28299882_21274.cpp:9:3: error: lvalue required as unary '&' operand
      


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-12-02 11:57:05, Gzip enabled