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_29070528_2904.c: In function 'main':
0_0_29070528_2904.c:37:24: error: expected expression before '/' token
  sort(str,str+len,cmp);//½µÐò 
                        ^
0_0_29070528_2904.c:37:24: error: stray '\275' in program
0_0_29070528_2904.c:37:24: error: stray '\265' in program
0_0_29070528_2904.c:37:24: error: stray '\320' in program
0_0_29070528_2904.c:37:24: error: stray '\362' in program
0_0_29070528_2904.c:41:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
  for(int a=0;a<len;a++)
  ^
0_0_29070528_2904.c:41:2: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_29070528_2904.c:47:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
   for(int b=0;b<len;b++)
   ^
0_0_29070528_2904.c:55:4: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
    for(int c=0;c<len;c++)
    ^
0_0_29070528_2904.c:65:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
     for(int d=0;d<len;d++)
     ^
0_0_29070528_2904.c:73:6: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
      for(int e=0;e<len;e++)
      ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-01-11 05:49:04, Gzip enabled