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_14925297_12050.c:2:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
 int main()
 ^
0_0_14925297_12050.c:2:5: error: stray '#' in program
 int main()
     ^
0_0_14925297_12050.c: In function 'main':
0_0_14925297_12050.c:4:4: error: expected identifier or '(' before '&' token
 int m,n,j,o,p,q,k;
    ^
0_0_14925297_12050.c:4:5: error: stray '#' in program
 int m,n,j,o,p,q,k;
     ^
0_0_14925297_12050.c:4:10: error: 'm' undeclared (first use in this function)
 int m,n,j,o,p,q,k;
          ^
0_0_14925297_12050.c:4:10: note: each undeclared identifier is reported only once for each function it appears in
0_0_14925297_12050.c:4:12: error: 'n' undeclared (first use in this function)
 int m,n,j,o,p,q,k;
            ^
0_0_14925297_12050.c:4:14: error: 'j' undeclared (first use in this function)
 int m,n,j,o,p,q,k;
              ^
0_0_14925297_12050.c:4:16: error: 'o' undeclared (first use in this function)
 int m,n,j,o,p,q,k;
                ^
0_0_14925297_12050.c:4:18: error: 'p' undeclared (first use in this function)
 int m,n,j,o,p,q,k;
                  ^
0_0_14925297_12050.c:4:20: error: 'q' undeclared (first use in this function)
 int m,n,j,o,p,q,k;
                    ^
0_0_14925297_12050.c:4:22: error: 'k' undeclared (first use in this function)
 int m,n,j,o,p,q,k;
                      ^
0_0_14925297_12050.c:5:24: error: stray '#' in program
 while(scanf("%d%d",&m, &n)!=EOF)
                        ^
0_0_14925297_12050.c:5:23: error: lvalue required as unary '&' operand
 while(scanf("%d%d",&m, &n)!=EOF)
                       ^
0_0_14925297_12050.c:5:28: error: expected ')' before ';' token
 while(scanf("%d%d",&m, &n)!=EOF)
                            ^
0_0_14925297_12050.c:5:34: error: 'EOF' undeclared (first use in this function)
 while(scanf("%d%d",&m, &n)!=EOF)
                                  ^
0_0_14925297_12050.c:11:2: error: stray '#' in program
     p=j/10%10;
  ^
0_0_14925297_12050.c:11:1: error: lvalue required as unary '&' operand
     p=j/10%10;
 ^
0_0_14925297_12050.c:11:8: error: stray '#' in program
     p=j/10%10;
        ^
0_0_14925297_12050.c:11:7: error: lvalue required as unary '&' operand
     p=j/10%10;
       ^
0_0_14925297_12050.c:11:14: error: stray '#' in program
     p=j/10%10;
              ^
0_0_14925297_12050.c:11:13: error: lvalue required as unary '&' operand
     p=j/10%10;
             ^
0_0_14925297_12050.c:11:20: error: stray '#' in program
     p=j/10%10;
                    ^
0_0_14925297_12050.c:11:19: error: lvalue required as unary '&' operand
     p=j/10%10;
                   ^
0_0_14925297_12050.c:15:3: error: expected '(' before '&' token
 if (k==1)
   ^
0_0_14925297_12050.c:15:4: error: stray '#' in program
 if (k==1)
    ^
0_0_14925297_12050.c:15:3: error: lvalue required as unary '&' operand
 if (k==1)
   ^
0_0_14925297_12050.c:16:1: error: expected ';' before 'printf'
 printf(" ");
 ^
0_0_14925297_12050.c:22:10: error: stray '#' in program
 if(k==0) printf("non");else printf("n");
          ^
0_0_14925297_12050.c:22:9: error: lvalue required as unary '&' operand
 if(k==0) printf("non");else printf("n");
         ^
0_0_14925297_12050.c:22:29: error: 'else' without a previous 'if'
 if(k==0) printf("non");else printf("n");
                             ^
0_0_14925297_12050.c:22:34: error: stray '#' in program
 if(k==0) printf("non");else printf("n");
                                  ^
0_0_14925297_12050.c:22:33: error: lvalue required as unary '&' operand
 if(k==0) printf("non");else printf("n");
                                 ^
0_0_14925297_12050.c:23:8: error: stray '#' in program
 return 0;
        ^
0_0_14925297_12050.c:23:7: error: lvalue required as unary '&' operand
 return 0;
       ^


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 08:27:40, Gzip enabled