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_15233234_25531.c: In function 'move':
0_0_15233234_25531.c:27:41: error: expected expression before '/' token
 void move(int num[],int a,int b,int mi){//move(A,0,n-m,mi)
                                         ^
0_0_15233234_25531.c:30:9: error: 'i' undeclared (first use in this function)
     for(i = mi;i < b;i++){
         ^
0_0_15233234_25531.c:30:9: note: each undeclared identifier is reported only once for each function it appears in
0_0_15233234_25531.c:31:11: error: 'j' undeclared (first use in this function)
         A[j] = num[i];
           ^
0_0_15233234_25531.c:34:4: error: expected expression before '/' token
    // for(i = 0;i < j;i++){
    ^
0_0_15233234_25531.c:46:5: error: expected expression before '/' token
     //printf("endfdg\n");
     ^
0_0_15233234_25531.c:47:4: error: expected expression before '/' token
    // getchar();
    ^
0_0_15233234_25531.c:48:5: error: expected expression before '/' token
     //getchar();
     ^
0_0_15233234_25531.c: In function 'main':
0_0_15233234_25531.c:78:12: error: expected expression before '/' token
            // printf("x\n");
            ^
0_0_15233234_25531.c:90:12: error: expected expression before '/' token
            //  for(i = 0;i < n;i++){
            ^
0_0_15233234_25531.c:95:15: error: expected expression before '/' token
               //  printf("end   \n");
               ^
0_0_15233234_25531.c:98:13: error: expected expression before '/' token
             //digit += n-mi-1;
             ^
0_0_15233234_25531.c:100:10: error: expected expression before '/' token
          //   for(i = 0;i<n;i++){
          ^
0_0_15233234_25531.c:106:11: error: expected expression before '/' token
           //  printf("%d\n",digit);
           ^
0_0_15233234_25531.c:108:14: error: expected expression before '/' token
              //for(i = 0;i < n;i++){
              ^


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-29 23:48:44, Gzip enabled