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_14925303_7698.cpp:2:5: error: stray '#' in program
 int main()
     ^
0_0_14925303_7698.cpp:4:5: error: stray '#' in program
 int m,n,j,o,p,q,k;
     ^
0_0_14925303_7698.cpp:5:24: error: stray '#' in program
 while(scanf("%d%d",&m, &n)!=EOF)
                        ^
0_0_14925303_7698.cpp:11:2: error: stray '#' in program
     p=j/10%10;
  ^
0_0_14925303_7698.cpp:11:8: error: stray '#' in program
     p=j/10%10;
        ^
0_0_14925303_7698.cpp:11:14: error: stray '#' in program
     p=j/10%10;
              ^
0_0_14925303_7698.cpp:11:20: error: stray '#' in program
     p=j/10%10;
                    ^
0_0_14925303_7698.cpp:15:4: error: stray '#' in program
 if (k==1)
    ^
0_0_14925303_7698.cpp:22:10: error: stray '#' in program
 if(k==0) printf("non");else printf("n");
          ^
0_0_14925303_7698.cpp:22:34: error: stray '#' in program
 if(k==0) printf("non");else printf("n");
                                  ^
0_0_14925303_7698.cpp:23:8: error: stray '#' in program
 return 0;
        ^
0_0_14925303_7698.cpp:1:1: error: 'include' does not name a type
 include
 ^
0_0_14925303_7698.cpp: In function 'int main()':
0_0_14925303_7698.cpp:4:6: error: expected unqualified-id before numeric constant
 int m,n,j,o,p,q,k;
      ^
0_0_14925303_7698.cpp:4:6: error: expected initializer before numeric constant
0_0_14925303_7698.cpp:4:10: error: 'm' was not declared in this scope
 int m,n,j,o,p,q,k;
          ^
0_0_14925303_7698.cpp:4:12: error: 'n' was not declared in this scope
 int m,n,j,o,p,q,k;
            ^
0_0_14925303_7698.cpp:4:14: error: 'j' was not declared in this scope
 int m,n,j,o,p,q,k;
              ^
0_0_14925303_7698.cpp:4:16: error: 'o' was not declared in this scope
 int m,n,j,o,p,q,k;
                ^
0_0_14925303_7698.cpp:4:18: error: 'p' was not declared in this scope
 int m,n,j,o,p,q,k;
                  ^
0_0_14925303_7698.cpp:4:20: error: 'q' was not declared in this scope
 int m,n,j,o,p,q,k;
                    ^
0_0_14925303_7698.cpp:4:22: error: 'k' was not declared in this scope
 int m,n,j,o,p,q,k;
                      ^
0_0_14925303_7698.cpp:5:25: error: lvalue required as unary '&' operand
 while(scanf("%d%d",&m, &n)!=EOF)
                         ^
0_0_14925303_7698.cpp:5:28: error: expected ')' before ';' token
 while(scanf("%d%d",&m, &n)!=EOF)
                            ^
0_0_14925303_7698.cpp:22:11: error: lvalue required as unary '&' operand
 if(k==0) printf("non");else printf("n");
           ^
0_0_14925303_7698.cpp:22:27: error: 'printf' was not declared in this scope
 if(k==0) printf("non");else printf("n");
                           ^
0_0_14925303_7698.cpp:22:29: error: 'else' without a previous 'if'
 if(k==0) printf("non");else printf("n");
                             ^
0_0_14925303_7698.cpp:22:35: error: lvalue required as unary '&' operand
 if(k==0) printf("non");else printf("n");
                                   ^
0_0_14925303_7698.cpp:23:9: 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-29 21:05:07, Gzip enabled