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_21600787_25592.cpp:14:18: error: stray '#' in program
     while (c != '-' && (c<'0' || c>'9')) c = getchar();
                  ^
0_0_21600787_25592.cpp:14:24: error: stray '#' in program
     while (c != '-' && (c<'0' || c>'9')) c = getchar();
                        ^
0_0_21600787_25592.cpp:14:36: error: stray '#' in program
     while (c != '-' && (c<'0' || c>'9')) c = getchar();
                                    ^
0_0_21600787_25592.cpp:14:42: error: stray '#' in program
     while (c != '-' && (c<'0' || c>'9')) c = getchar();
                                          ^
0_0_21600787_25592.cpp:14:53: error: stray '#' in program
     while (c != '-' && (c<'0' || c>'9')) c = getchar();
                                                     ^
0_0_21600787_25592.cpp:14:59: error: stray '#' in program
     while (c != '-' && (c<'0' || c>'9')) c = getchar();
                                                           ^
0_0_21600787_25592.cpp:15:18: error: stray '#' in program
     sgn = (c == '-') ? -1 : 1;
                  ^
0_0_21600787_25592.cpp:15:24: error: stray '#' in program
     sgn = (c == '-') ? -1 : 1;
                        ^
0_0_21600787_25592.cpp:16:18: error: stray '#' in program
     ret = (c == '-') ? 0 : (c - '0');
                  ^
0_0_21600787_25592.cpp:16:24: error: stray '#' in program
     ret = (c == '-') ? 0 : (c - '0');
                        ^
0_0_21600787_25592.cpp:16:42: error: stray '#' in program
     ret = (c == '-') ? 0 : (c - '0');
                                          ^
0_0_21600787_25592.cpp:16:48: error: stray '#' in program
     ret = (c == '-') ? 0 : (c - '0');
                                                ^
0_0_21600787_25592.cpp:17:33: error: stray '#' in program
     while (c = getchar(), c >= '0'&&c <= '9') ret = ret * 10 + (c - '0');
                                 ^
0_0_21600787_25592.cpp:17:39: error: stray '#' in program
     while (c = getchar(), c >= '0'&&c <= '9') ret = ret * 10 + (c - '0');
                                       ^
0_0_21600787_25592.cpp:17:51: error: stray '#' in program
     while (c = getchar(), c >= '0'&&c <= '9') ret = ret * 10 + (c - '0');
                                                   ^
0_0_21600787_25592.cpp:17:57: error: stray '#' in program
     while (c = getchar(), c >= '0'&&c <= '9') ret = ret * 10 + (c - '0');
                                                         ^
0_0_21600787_25592.cpp:17:86: error: stray '#' in program
     while (c = getchar(), c >= '0'&&c <= '9') ret = ret * 10 + (c - '0');
                                                                                      ^
0_0_21600787_25592.cpp:17:92: error: stray '#' in program
     while (c = getchar(), c >= '0'&&c <= '9') ret = ret * 10 + (c - '0');
                                                                                            ^
0_0_21600787_25592.cpp:24:18: error: stray '#' in program
         putchar('-');
                  ^
0_0_21600787_25592.cpp:24:24: error: stray '#' in program
         putchar('-');
                        ^
0_0_21600787_25592.cpp:28:23: error: stray '#' in program
     putchar(x % 10 + '0');
                       ^
0_0_21600787_25592.cpp:28:29: error: stray '#' in program
     putchar(x % 10 + '0');
                             ^
0_0_21600787_25592.cpp: In function 'bool rd(T&)':
0_0_21600787_25592.cpp:14:19: error: lvalue required as unary '&' operand
     while (c != '-' && (c<'0' || c>'9')) c = getchar();
                   ^
0_0_21600787_25592.cpp:14:21: error: expected ')' before ';' token
     while (c != '-' && (c<'0' || c>'9')) c = getchar();
                     ^
0_0_21600787_25592.cpp:14:25: error: lvalue required as unary '&' operand
     while (c != '-' && (c<'0' || c>'9')) c = getchar();
                         ^
0_0_21600787_25592.cpp:14:32: error: expected identifier before '(' token
     while (c != '-' && (c<'0' || c>'9')) c = getchar();
                                ^
0_0_21600787_25592.cpp:14:47: error: expected primary-expression before '||' token
     while (c != '-' && (c<'0' || c>'9')) c = getchar();
                                               ^
0_0_21600787_25592.cpp:14:54: error: lvalue required as unary '&' operand
     while (c != '-' && (c<'0' || c>'9')) c = getchar();
                                                      ^
0_0_21600787_25592.cpp:14:63: error: expected primary-expression before ')' token
     while (c != '-' && (c<'0' || c>'9')) c = getchar();
                                                               ^
0_0_21600787_25592.cpp:15:19: error: lvalue required as unary '&' operand
     sgn = (c == '-') ? -1 : 1;
                   ^
0_0_21600787_25592.cpp:15:21: error: expected ')' before ';' token
     sgn = (c == '-') ? -1 : 1;
                     ^
0_0_21600787_25592.cpp:15:25: error: lvalue required as unary '&' operand
     sgn = (c == '-') ? -1 : 1;
                         ^
0_0_21600787_25592.cpp:15:28: error: expected primary-expression before ')' token
     sgn = (c == '-') ? -1 : 1;
                            ^
0_0_21600787_25592.cpp:16:19: error: lvalue required as unary '&' operand
     ret = (c == '-') ? 0 : (c - '0');
                   ^
0_0_21600787_25592.cpp:16:21: error: expected ')' before ';' token
     ret = (c == '-') ? 0 : (c - '0');
                     ^
0_0_21600787_25592.cpp:16:25: error: lvalue required as unary '&' operand
     ret = (c == '-') ? 0 : (c - '0');
                         ^
0_0_21600787_25592.cpp:16:28: error: expected primary-expression before ')' token
     ret = (c == '-') ? 0 : (c - '0');
                            ^
0_0_21600787_25592.cpp:16:52: error: expected primary-expression before ')' token
     ret = (c == '-') ? 0 : (c - '0');
                                                    ^
0_0_21600787_25592.cpp:17:34: error: lvalue required as unary '&' operand
     while (c = getchar(), c >= '0'&&c <= '9') ret = ret * 10 + (c - '0');
                                  ^
0_0_21600787_25592.cpp:17:36: error: expected ')' before ';' token
     while (c = getchar(), c >= '0'&&c <= '9') ret = ret * 10 + (c - '0');
                                    ^
0_0_21600787_25592.cpp:17:52: error: lvalue required as unary '&' operand
     while (c = getchar(), c >= '0'&&c <= '9') ret = ret * 10 + (c - '0');
                                                    ^
0_0_21600787_25592.cpp:17:61: error: expected primary-expression before ')' token
     while (c = getchar(), c >= '0'&&c <= '9') ret = ret * 10 + (c - '0');
                                                             ^
0_0_21600787_25592.cpp:17:96: error: expected primary-expression before ')' token
     while (c = getchar(), c >= '0'&&c <= '9') ret = ret * 10 + (c - '0');
                                                                                                ^
0_0_21600787_25592.cpp: In function 'void pt(T)':
0_0_21600787_25592.cpp:24:19: error: lvalue required as unary '&' operand
         putchar('-');
                   ^
0_0_21600787_25592.cpp:24:25: error: lvalue required as unary '&' operand
         putchar('-');
                         ^
0_0_21600787_25592.cpp:24:28: error: expected primary-expression before ')' token
         putchar('-');
                            ^
0_0_21600787_25592.cpp:28:24: error: lvalue required as unary '&' operand
     putchar(x % 10 + '0');
                        ^
0_0_21600787_25592.cpp:28:26: error: expected ')' before ';' token
     putchar(x % 10 + '0');
                          ^
0_0_21600787_25592.cpp:28:33: error: expected primary-expression before ')' token
     putchar(x % 10 + '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-12-02 11:34:34, Gzip enabled