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_21596211_22492.cpp:11:16: error: stray '#' in program
     while (ch<'0'||ch>'9')
                ^
0_0_21596211_22492.cpp:11:22: error: stray '#' in program
     while (ch<'0'||ch>'9')
                      ^
0_0_21596211_22492.cpp:11:32: error: stray '#' in program
     while (ch<'0'||ch>'9')
                                ^
0_0_21596211_22492.cpp:11:38: error: stray '#' in program
     while (ch<'0'||ch>'9')
                                      ^
0_0_21596211_22492.cpp:13:18: error: stray '#' in program
         if (ch=='-') flag=1;
                  ^
0_0_21596211_22492.cpp:13:24: error: stray '#' in program
         if (ch=='-') flag=1;
                        ^
0_0_21596211_22492.cpp:18:26: error: stray '#' in program
         data=data*10+ch-'0';
                          ^
0_0_21596211_22492.cpp:18:32: error: stray '#' in program
         data=data*10+ch-'0';
                                ^
0_0_21596211_22492.cpp:20:18: error: stray '#' in program
     }while (ch>='0'&&ch<='9');
                  ^
0_0_21596211_22492.cpp:20:24: error: stray '#' in program
     }while (ch>='0'&&ch<='9');
                        ^
0_0_21596211_22492.cpp:20:35: error: stray '#' in program
     }while (ch>='0'&&ch<='9');
                                   ^
0_0_21596211_22492.cpp:20:41: error: stray '#' in program
     }while (ch>='0'&&ch<='9');
                                         ^
0_0_21596211_22492.cpp: In function 'int ReadInt()':
0_0_21596211_22492.cpp:11:17: error: lvalue required as unary '&' operand
     while (ch<'0'||ch>'9')
                 ^
0_0_21596211_22492.cpp:11:19: error: expected ')' before ';' token
     while (ch<'0'||ch>'9')
                   ^
0_0_21596211_22492.cpp:11:26: error: expected primary-expression before '||' token
     while (ch<'0'||ch>'9')
                          ^
0_0_21596211_22492.cpp:11:33: error: lvalue required as unary '&' operand
     while (ch<'0'||ch>'9')
                                 ^
0_0_21596211_22492.cpp:11:42: error: expected primary-expression before ')' token
     while (ch<'0'||ch>'9')
                                          ^
0_0_21596211_22492.cpp:18:27: error: lvalue required as unary '&' operand
         data=data*10+ch-'0';
                           ^
0_0_21596211_22492.cpp:20:19: error: lvalue required as unary '&' operand
     }while (ch>='0'&&ch<='9');
                   ^
0_0_21596211_22492.cpp:20:21: error: expected ')' before ';' token
     }while (ch>='0'&&ch<='9');
                     ^
0_0_21596211_22492.cpp:20:36: error: lvalue required as unary '&' operand
     }while (ch>='0'&&ch<='9');
                                    ^
0_0_21596211_22492.cpp:20:45: error: expected primary-expression before ')' token
     }while (ch>='0'&&ch<='9');
                                             ^
0_0_21596211_22492.cpp:20:30: error: label 'ch' used but not defined
     }while (ch>='0'&&ch<='9');
                              ^


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-25 10:28:32, Gzip enabled