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_21600376_5943.cpp:71:17: error: stray '#' in program
         if(ch>='0'&&ch<='9')
                 ^
0_0_21600376_5943.cpp:71:23: error: stray '#' in program
         if(ch>='0'&&ch<='9')
                       ^
0_0_21600376_5943.cpp:71:34: error: stray '#' in program
         if(ch>='0'&&ch<='9')
                                  ^
0_0_21600376_5943.cpp:71:40: error: stray '#' in program
         if(ch>='0'&&ch<='9')
                                        ^
0_0_21600376_5943.cpp:74:15: error: stray '#' in program
     ans = ch-'0';
               ^
0_0_21600376_5943.cpp:74:21: error: stray '#' in program
     ans = ch-'0';
                     ^
0_0_21600376_5943.cpp:76:16: error: stray '#' in program
         if(ch<'0' || ch>'9')
                ^
0_0_21600376_5943.cpp:76:22: error: stray '#' in program
         if(ch<'0' || ch>'9')
                      ^
0_0_21600376_5943.cpp:76:34: error: stray '#' in program
         if(ch<'0' || ch>'9')
                                  ^
0_0_21600376_5943.cpp:76:40: error: stray '#' in program
         if(ch<'0' || ch>'9')
                                        ^
0_0_21600376_5943.cpp:78:26: error: stray '#' in program
         ans = ans*10+ch-'0';
                          ^
0_0_21600376_5943.cpp:78:32: error: stray '#' in program
         ans = ans*10+ch-'0';
                                ^
0_0_21600376_5943.cpp: In function 'void scanf(int&)':
0_0_21600376_5943.cpp:71:18: error: lvalue required as unary '&' operand
         if(ch>='0'&&ch<='9')
                  ^
0_0_21600376_5943.cpp:71:20: error: expected ')' before ';' token
         if(ch>='0'&&ch<='9')
                    ^
0_0_21600376_5943.cpp:71:35: error: lvalue required as unary '&' operand
         if(ch>='0'&&ch<='9')
                                   ^
0_0_21600376_5943.cpp:71:44: error: expected primary-expression before ')' token
         if(ch>='0'&&ch<='9')
                                            ^
0_0_21600376_5943.cpp:74:16: error: lvalue required as unary '&' operand
     ans = ch-'0';
                ^
0_0_21600376_5943.cpp:76:17: error: lvalue required as unary '&' operand
         if(ch<'0' || ch>'9')
                 ^
0_0_21600376_5943.cpp:76:19: error: expected ')' before ';' token
         if(ch<'0' || ch>'9')
                   ^
0_0_21600376_5943.cpp:76:27: error: expected primary-expression before '||' token
         if(ch<'0' || ch>'9')
                           ^
0_0_21600376_5943.cpp:76:35: error: lvalue required as unary '&' operand
         if(ch<'0' || ch>'9')
                                   ^
0_0_21600376_5943.cpp:76:44: error: expected primary-expression before ')' token
         if(ch<'0' || ch>'9')
                                            ^
0_0_21600376_5943.cpp:78:27: error: lvalue required as unary '&' operand
         ans = ans*10+ch-'0';
                           ^
0_0_21600376_5943.cpp:71:29: error: label 'ch' used but not defined
         if(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-23 10:05:03, Gzip enabled