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_21601552_583.cpp:60:19: error: stray '#' in program
     while ( c != '-' && ( c < '0' || c > '9' ) ) c = getchar();
                   ^
0_0_21601552_583.cpp:60:25: error: stray '#' in program
     while ( c != '-' && ( c < '0' || c > '9' ) ) c = getchar();
                         ^
0_0_21601552_583.cpp:60:40: error: stray '#' in program
     while ( c != '-' && ( c < '0' || c > '9' ) ) c = getchar();
                                        ^
0_0_21601552_583.cpp:60:46: error: stray '#' in program
     while ( c != '-' && ( c < '0' || c > '9' ) ) c = getchar();
                                              ^
0_0_21601552_583.cpp:60:59: error: stray '#' in program
     while ( c != '-' && ( c < '0' || c > '9' ) ) c = getchar();
                                                           ^
0_0_21601552_583.cpp:60:65: error: stray '#' in program
     while ( c != '-' && ( c < '0' || c > '9' ) ) c = getchar();
                                                                 ^
0_0_21601552_583.cpp:61:19: error: stray '#' in program
     sgn = ( c == '-' ) ? -1 : 1;
                   ^
0_0_21601552_583.cpp:61:25: error: stray '#' in program
     sgn = ( c == '-' ) ? -1 : 1;
                         ^
0_0_21601552_583.cpp:62:19: error: stray '#' in program
     ret = ( c == '-' ) ? 0 : ( c - '0' );
                   ^
0_0_21601552_583.cpp:62:25: error: stray '#' in program
     ret = ( c == '-' ) ? 0 : ( c - '0' );
                         ^
0_0_21601552_583.cpp:62:45: error: stray '#' in program
     ret = ( c == '-' ) ? 0 : ( c - '0' );
                                             ^
0_0_21601552_583.cpp:62:51: error: stray '#' in program
     ret = ( c == '-' ) ? 0 : ( c - '0' );
                                                   ^
0_0_21601552_583.cpp:63:35: error: stray '#' in program
     while ( c = getchar() , c >= '0' && c <= '9' ) ret = ret * 10 + ( c - '0' );
                                   ^
0_0_21601552_583.cpp:63:41: error: stray '#' in program
     while ( c = getchar() , c >= '0' && c <= '9' ) ret = ret * 10 + ( c - '0' );
                                         ^
0_0_21601552_583.cpp:63:55: error: stray '#' in program
     while ( c = getchar() , c >= '0' && c <= '9' ) ret = ret * 10 + ( c - '0' );
                                                       ^
0_0_21601552_583.cpp:63:61: error: stray '#' in program
     while ( c = getchar() , c >= '0' && c <= '9' ) ret = ret * 10 + ( c - '0' );
                                                             ^
0_0_21601552_583.cpp:63:92: error: stray '#' in program
     while ( c = getchar() , c >= '0' && c <= '9' ) ret = ret * 10 + ( c - '0' );
                                                                                            ^
0_0_21601552_583.cpp:63:98: error: stray '#' in program
     while ( c = getchar() , c >= '0' && c <= '9' ) ret = ret * 10 + ( c - '0' );
                                                                                                  ^
0_0_21601552_583.cpp:70:25: error: stray '#' in program
     putchar ( x % 10 + '0' );
                         ^
0_0_21601552_583.cpp:70:31: error: stray '#' in program
     putchar ( x % 10 + '0' );
                               ^
0_0_21601552_583.cpp: In function 'bool RD(T&)':
0_0_21601552_583.cpp:60:20: error: lvalue required as unary '&' operand
     while ( c != '-' && ( c < '0' || c > '9' ) ) c = getchar();
                    ^
0_0_21601552_583.cpp:60:22: error: expected ')' before ';' token
     while ( c != '-' && ( c < '0' || c > '9' ) ) c = getchar();
                      ^
0_0_21601552_583.cpp:60:26: error: lvalue required as unary '&' operand
     while ( c != '-' && ( c < '0' || c > '9' ) ) c = getchar();
                          ^
0_0_21601552_583.cpp:60:33: error: expected identifier before '(' token
     while ( c != '-' && ( c < '0' || c > '9' ) ) c = getchar();
                                 ^
0_0_21601552_583.cpp:60:51: error: expected primary-expression before '||' token
     while ( c != '-' && ( c < '0' || c > '9' ) ) c = getchar();
                                                   ^
0_0_21601552_583.cpp:60:60: error: lvalue required as unary '&' operand
     while ( c != '-' && ( c < '0' || c > '9' ) ) c = getchar();
                                                            ^
0_0_21601552_583.cpp:60:70: error: expected primary-expression before ')' token
     while ( c != '-' && ( c < '0' || c > '9' ) ) c = getchar();
                                                                      ^
0_0_21601552_583.cpp:61:20: error: lvalue required as unary '&' operand
     sgn = ( c == '-' ) ? -1 : 1;
                    ^
0_0_21601552_583.cpp:61:22: error: expected ')' before ';' token
     sgn = ( c == '-' ) ? -1 : 1;
                      ^
0_0_21601552_583.cpp:61:26: error: lvalue required as unary '&' operand
     sgn = ( c == '-' ) ? -1 : 1;
                          ^
0_0_21601552_583.cpp:61:30: error: expected primary-expression before ')' token
     sgn = ( c == '-' ) ? -1 : 1;
                              ^
0_0_21601552_583.cpp:62:20: error: lvalue required as unary '&' operand
     ret = ( c == '-' ) ? 0 : ( c - '0' );
                    ^
0_0_21601552_583.cpp:62:22: error: expected ')' before ';' token
     ret = ( c == '-' ) ? 0 : ( c - '0' );
                      ^
0_0_21601552_583.cpp:62:26: error: lvalue required as unary '&' operand
     ret = ( c == '-' ) ? 0 : ( c - '0' );
                          ^
0_0_21601552_583.cpp:62:30: error: expected primary-expression before ')' token
     ret = ( c == '-' ) ? 0 : ( c - '0' );
                              ^
0_0_21601552_583.cpp:62:56: error: expected primary-expression before ')' token
     ret = ( c == '-' ) ? 0 : ( c - '0' );
                                                        ^
0_0_21601552_583.cpp:63:36: error: lvalue required as unary '&' operand
     while ( c = getchar() , c >= '0' && c <= '9' ) ret = ret * 10 + ( c - '0' );
                                    ^
0_0_21601552_583.cpp:63:38: error: expected ')' before ';' token
     while ( c = getchar() , c >= '0' && c <= '9' ) ret = ret * 10 + ( c - '0' );
                                      ^
0_0_21601552_583.cpp:63:56: error: lvalue required as unary '&' operand
     while ( c = getchar() , c >= '0' && c <= '9' ) ret = ret * 10 + ( c - '0' );
                                                        ^
0_0_21601552_583.cpp:63:66: error: expected primary-expression before ')' token
     while ( c = getchar() , c >= '0' && c <= '9' ) ret = ret * 10 + ( c - '0' );
                                                                  ^
0_0_21601552_583.cpp:63:103: error: expected primary-expression before ')' token
     while ( c = getchar() , c >= '0' && c <= '9' ) ret = ret * 10 + ( c - '0' );
                                                                                                       ^
0_0_21601552_583.cpp: In function 'void PD(int)':
0_0_21601552_583.cpp:70:26: error: lvalue required as unary '&' operand
     putchar ( x % 10 + '0' );
                          ^
0_0_21601552_583.cpp:70:36: error: expected primary-expression before ')' token
     putchar ( x % 10 + '0' );
                                    ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-02-18 18:31:20, Gzip enabled