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_19923967_27485.c: In function 'main':
0_0_19923967_27485.c:7:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
  for(int i=0;i<n;i++)
  ^
0_0_19923967_27485.c:7:2: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_19923967_27485.c:19:4: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
    for(int t=0;t<=m;t++)
    ^
0_0_19923967_27485.c:20:10: error: expected expression before '/' token
    b=b+t;//Ç車λÊý£¬bΪλÊý 
          ^
0_0_19923967_27485.c:20:13: error: stray '#' in program
    b=b+t;//Ç車λÊý£¬bΪλÊý 
             ^
0_0_19923967_27485.c:20:10: error: stray '\250' in program
    b=b+t;//Ç車λÊý£¬bΪλÊý 
          ^
0_0_19923967_27485.c:20:10: error: stray '\256' in program
0_0_19923967_27485.c:20:21: error: stray '#' in program
    b=b+t;//Ç車λÊý£¬bΪλÊý 
                     ^
0_0_19923967_27485.c:20:20: error: lvalue required as unary '&' operand
    b=b+t;//Ç車λÊý£¬bΪλÊý 
                    ^
0_0_19923967_27485.c:20:27: error: stray '#' in program
    b=b+t;//Ç車λÊý£¬bΪλÊý 
                           ^
0_0_19923967_27485.c:20:26: error: lvalue required as unary '&' operand
    b=b+t;//Ç車λÊý£¬bΪλÊý 
                          ^
0_0_19923967_27485.c:20:33: error: stray '#' in program
    b=b+t;//Ç車λÊý£¬bΪλÊý 
                                 ^
0_0_19923967_27485.c:20:32: error: lvalue required as unary '&' operand
    b=b+t;//Ç車λÊý£¬bΪλÊý 
                                ^
0_0_19923967_27485.c:20:39: error: stray '#' in program
    b=b+t;//Ç車λÊý£¬bΪλÊý 
                                       ^
0_0_19923967_27485.c:20:38: error: lvalue required as unary '&' operand
    b=b+t;//Ç車λÊý£¬bΪλÊý 
                                      ^
0_0_19923967_27485.c:20:45: error: stray '#' in program
    b=b+t;//Ç車λÊý£¬bΪλÊý 
                                             ^
0_0_19923967_27485.c:20:44: error: lvalue required as unary '&' operand
    b=b+t;//Ç車λÊý£¬bΪλÊý 
                                            ^
0_0_19923967_27485.c:20:51: error: stray '#' in program
    b=b+t;//Ç車λÊý£¬bΪλÊý 
                                                   ^
0_0_19923967_27485.c:20:50: error: lvalue required as unary '&' operand
    b=b+t;//Ç車λÊý£¬bΪλÊý 
                                                  ^
0_0_19923967_27485.c:20:58: error: stray '#' in program
    b=b+t;//Ç車λÊý£¬bΪλÊý 
                                                          ^
0_0_19923967_27485.c:20:64: error: stray '#' in program
    b=b+t;//Ç車λÊý£¬bΪλÊý 
                                                                ^
0_0_19923967_27485.c:20:63: error: lvalue required as unary '&' operand
    b=b+t;//Ç車λÊý£¬bΪλÊý 
                                                               ^
0_0_19923967_27485.c:20:70: error: stray '#' in program
    b=b+t;//Ç車λÊý£¬bΪλÊý 
                                                                      ^
0_0_19923967_27485.c:20:69: error: lvalue required as unary '&' operand
    b=b+t;//Ç車λÊý£¬bΪλÊý 
                                                                     ^
0_0_19923967_27485.c:20:76: error: stray '#' in program
    b=b+t;//Ç車λÊý£¬bΪλÊý 
                                                                            ^
0_0_19923967_27485.c:20:75: error: lvalue required as unary '&' operand
    b=b+t;//Ç車λÊý£¬bΪλÊý 
                                                                           ^
0_0_19923967_27485.c:20:82: error: stray '#' in program
    b=b+t;//Ç車λÊý£¬bΪλÊý 
                                                                                  ^
0_0_19923967_27485.c:20:81: error: lvalue required as unary '&' operand
    b=b+t;//Ç車λÊý£¬bΪλÊý 
                                                                                 ^
0_0_19923967_27485.c:20:88: error: stray '#' in program
    b=b+t;//Ç車λÊý£¬bΪλÊý 
                                                                                        ^
0_0_19923967_27485.c:20:87: error: lvalue required as unary '&' operand
    b=b+t;//Ç車λÊý£¬bΪλÊý 
                                                                                       ^
0_0_19923967_27485.c:21:4: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
    for(int j=0;j<m;j++)
    ^
0_0_19923967_27485.c:25:14: error: expected expression before '/' token
    while(p<m)//Ç車λÊýºÍ 
              ^
0_0_19923967_27485.c:25:17: error: stray '#' in program
    while(p<m)//Ç車λÊýºÍ 
                 ^
0_0_19923967_27485.c:25:14: error: stray '\250' in program
    while(p<m)//Ç車λÊýºÍ 
              ^
0_0_19923967_27485.c:25:14: error: stray '\256' in program
0_0_19923967_27485.c:25:25: error: stray '#' in program
    while(p<m)//Ç車λÊýºÍ 
                         ^
0_0_19923967_27485.c:25:24: error: lvalue required as unary '&' operand
    while(p<m)//Ç車λÊýºÍ 
                        ^
0_0_19923967_27485.c:25:31: error: stray '#' in program
    while(p<m)//Ç車λÊýºÍ 
                               ^
0_0_19923967_27485.c:25:30: error: lvalue required as unary '&' operand
    while(p<m)//Ç車λÊýºÍ 
                              ^
0_0_19923967_27485.c:25:37: error: stray '#' in program
    while(p<m)//Ç車λÊýºÍ 
                                     ^
0_0_19923967_27485.c:25:36: error: lvalue required as unary '&' operand
    while(p<m)//Ç車λÊýºÍ 
                                    ^
0_0_19923967_27485.c:25:43: error: stray '#' in program
    while(p<m)//Ç車λÊýºÍ 
                                           ^
0_0_19923967_27485.c:25:42: error: lvalue required as unary '&' operand
    while(p<m)//Ç車λÊýºÍ 
                                          ^
0_0_19923967_27485.c:25:49: error: stray '#' in program
    while(p<m)//Ç車λÊýºÍ 
                                                 ^
0_0_19923967_27485.c:25:48: error: lvalue required as unary '&' operand
    while(p<m)//Ç車λÊýºÍ 
                                                ^
0_0_19923967_27485.c:25:55: error: stray '#' in program
    while(p<m)//Ç車λÊýºÍ 
                                                       ^
0_0_19923967_27485.c:25:54: error: lvalue required as unary '&' operand
    while(p<m)//Ç車λÊýºÍ 
                                                      ^
0_0_19923967_27485.c:36:19: error: expected expression before '/' token
    int tmb=max[0];//Ç車maxÊý℅谷ÀïÃæµÄ℅î´車Öµ 
                   ^
0_0_19923967_27485.c:36:22: error: stray '#' in program
    int tmb=max[0];//Ç車maxÊý℅谷ÀïÃæµÄ℅î´車Öµ 
                      ^
0_0_19923967_27485.c:36:19: error: stray '\250' in program
    int tmb=max[0];//Ç車maxÊý℅谷ÀïÃæµÄ℅î´車Öµ 
                   ^
0_0_19923967_27485.c:36:19: error: stray '\256' in program
0_0_19923967_27485.c:36:33: error: stray '#' in program
    int tmb=max[0];//Ç車maxÊý℅谷ÀïÃæµÄ℅î´車Öµ 
                                 ^
0_0_19923967_27485.c:36:32: error: invalid operands to binary & (have 'int *' and 'int')
    int tmb=max[0];//Ç車maxÊý℅谷ÀïÃæµÄ℅î´車Öµ 
                                ^
0_0_19923


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-30 01:40:02, Gzip enabled