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_21594290_8295.cpp:25:13: error: stray '#' in program
  while (ch<'0'||ch>'9'){if (ch=='-') f=-1;ch=getchar();}
             ^
0_0_21594290_8295.cpp:25:19: error: stray '#' in program
  while (ch<'0'||ch>'9'){if (ch=='-') f=-1;ch=getchar();}
                   ^
0_0_21594290_8295.cpp:25:29: error: stray '#' in program
  while (ch<'0'||ch>'9'){if (ch=='-') f=-1;ch=getchar();}
                             ^
0_0_21594290_8295.cpp:25:35: error: stray '#' in program
  while (ch<'0'||ch>'9'){if (ch=='-') f=-1;ch=getchar();}
                                   ^
0_0_21594290_8295.cpp:25:50: error: stray '#' in program
  while (ch<'0'||ch>'9'){if (ch=='-') f=-1;ch=getchar();}
                                                  ^
0_0_21594290_8295.cpp:25:56: error: stray '#' in program
  while (ch<'0'||ch>'9'){if (ch=='-') f=-1;ch=getchar();}
                                                        ^
0_0_21594290_8295.cpp:26:14: error: stray '#' in program
  while (ch>='0'&&ch<='9'){x=x*10+ch-'0';ch=getchar();}
              ^
0_0_21594290_8295.cpp:26:20: error: stray '#' in program
  while (ch>='0'&&ch<='9'){x=x*10+ch-'0';ch=getchar();}
                    ^
0_0_21594290_8295.cpp:26:31: error: stray '#' in program
  while (ch>='0'&&ch<='9'){x=x*10+ch-'0';ch=getchar();}
                               ^
0_0_21594290_8295.cpp:26:37: error: stray '#' in program
  while (ch>='0'&&ch<='9'){x=x*10+ch-'0';ch=getchar();}
                                     ^
0_0_21594290_8295.cpp:26:54: error: stray '#' in program
  while (ch>='0'&&ch<='9'){x=x*10+ch-'0';ch=getchar();}
                                                      ^
0_0_21594290_8295.cpp:26:60: error: stray '#' in program
  while (ch>='0'&&ch<='9'){x=x*10+ch-'0';ch=getchar();}
                                                            ^
0_0_21594290_8295.cpp:110:15: error: stray '#' in program
    if (s[0]=='Q') 
               ^
0_0_21594290_8295.cpp:110:21: error: stray '#' in program
    if (s[0]=='Q') 
                     ^
0_0_21594290_8295.cpp: In function 'int read()':
0_0_21594290_8295.cpp:25:14: error: lvalue required as unary '&' operand
  while (ch<'0'||ch>'9'){if (ch=='-') f=-1;ch=getchar();}
              ^
0_0_21594290_8295.cpp:25:16: error: expected ')' before ';' token
  while (ch<'0'||ch>'9'){if (ch=='-') f=-1;ch=getchar();}
                ^
0_0_21594290_8295.cpp:25:23: error: expected primary-expression before '||' token
  while (ch<'0'||ch>'9'){if (ch=='-') f=-1;ch=getchar();}
                       ^
0_0_21594290_8295.cpp:25:30: error: lvalue required as unary '&' operand
  while (ch<'0'||ch>'9'){if (ch=='-') f=-1;ch=getchar();}
                              ^
0_0_21594290_8295.cpp:25:39: error: expected primary-expression before ')' token
  while (ch<'0'||ch>'9'){if (ch=='-') f=-1;ch=getchar();}
                                       ^
0_0_21594290_8295.cpp:26:15: error: lvalue required as unary '&' operand
  while (ch>='0'&&ch<='9'){x=x*10+ch-'0';ch=getchar();}
               ^
0_0_21594290_8295.cpp:26:17: error: expected ')' before ';' token
  while (ch>='0'&&ch<='9'){x=x*10+ch-'0';ch=getchar();}
                 ^
0_0_21594290_8295.cpp:26:32: error: lvalue required as unary '&' operand
  while (ch>='0'&&ch<='9'){x=x*10+ch-'0';ch=getchar();}
                                ^
0_0_21594290_8295.cpp:26:41: error: expected primary-expression before ')' token
  while (ch>='0'&&ch<='9'){x=x*10+ch-'0';ch=getchar();}
                                         ^
0_0_21594290_8295.cpp:26:26: error: label 'ch' used but not defined
  while (ch>='0'&&ch<='9'){x=x*10+ch-'0';ch=getchar();}
                          ^
0_0_21594290_8295.cpp: In function 'int main()':
0_0_21594290_8295.cpp:110:16: error: lvalue required as unary '&' operand
    if (s[0]=='Q') 
                ^
0_0_21594290_8295.cpp:110:18: error: expected ')' before ';' token
    if (s[0]=='Q') 
                  ^
0_0_21594290_8295.cpp:110:19: error: 'Q' was not declared in this scope
    if (s[0]=='Q') 
                   ^
0_0_21594290_8295.cpp:110:25: error: expected primary-expression before ')' token
    if (s[0]=='Q') 
                         ^
0_0_21594290_8295.cpp:115:4: error: 'else' without a previous 'if'
    else
    ^


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-01 16:22:48, Gzip enabled