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_21600433_24686.cpp:29:32: error: stray '#' in program
  while (ch = getchar(), (ch < '0' || ch > '9'));
                                ^
0_0_21600433_24686.cpp:29:38: error: stray '#' in program
  while (ch = getchar(), (ch < '0' || ch > '9'));
                                      ^
0_0_21600433_24686.cpp:29:52: error: stray '#' in program
  while (ch = getchar(), (ch < '0' || ch > '9'));
                                                    ^
0_0_21600433_24686.cpp:29:58: error: stray '#' in program
  while (ch = getchar(), (ch < '0' || ch > '9'));
                                                          ^
0_0_21600433_24686.cpp:30:12: error: stray '#' in program
  x = ch - '0';
            ^
0_0_21600433_24686.cpp:30:18: error: stray '#' in program
  x = ch - '0';
                  ^
0_0_21600433_24686.cpp:31:32: error: stray '#' in program
  while (ch = getchar(), ch >= '0' && ch <= '9') x = x * 10 + ch - '0';
                                ^
0_0_21600433_24686.cpp:31:38: error: stray '#' in program
  while (ch = getchar(), ch >= '0' && ch <= '9') x = x * 10 + ch - '0';
                                      ^
0_0_21600433_24686.cpp:31:53: error: stray '#' in program
  while (ch = getchar(), ch >= '0' && ch <= '9') x = x * 10 + ch - '0';
                                                     ^
0_0_21600433_24686.cpp:31:59: error: stray '#' in program
  while (ch = getchar(), ch >= '0' && ch <= '9') x = x * 10 + ch - '0';
                                                           ^
0_0_21600433_24686.cpp:31:84: error: stray '#' in program
  while (ch = getchar(), ch >= '0' && ch <= '9') x = x * 10 + ch - '0';
                                                                                    ^
0_0_21600433_24686.cpp:31:90: error: stray '#' in program
  while (ch = getchar(), ch >= '0' && ch <= '9') x = x * 10 + ch - '0';
                                                                                          ^
0_0_21600433_24686.cpp:37:24: error: stray '#' in program
  hc[len++] = x % 10 + '0';
                        ^
0_0_21600433_24686.cpp:37:30: error: stray '#' in program
  hc[len++] = x % 10 + '0';
                              ^
0_0_21600433_24686.cpp:38:40: error: stray '#' in program
  while (x /= 10) hc[len++] = x % 10 + '0';
                                        ^
0_0_21600433_24686.cpp:38:46: error: stray '#' in program
  while (x /= 10) hc[len++] = x % 10 + '0';
                                              ^
0_0_21600433_24686.cpp: In function 'void in(int&)':
0_0_21600433_24686.cpp:29:33: error: lvalue required as unary '&' operand
  while (ch = getchar(), (ch < '0' || ch > '9'));
                                 ^
0_0_21600433_24686.cpp:29:35: error: expected ')' before ';' token
  while (ch = getchar(), (ch < '0' || ch > '9'));
                                   ^
0_0_21600433_24686.cpp:29:35: error: expected ')' before ';' token
0_0_21600433_24686.cpp:29:43: error: expected primary-expression before '||' token
  while (ch = getchar(), (ch < '0' || ch > '9'));
                                           ^
0_0_21600433_24686.cpp:29:53: error: lvalue required as unary '&' operand
  while (ch = getchar(), (ch < '0' || ch > '9'));
                                                     ^
0_0_21600433_24686.cpp:29:62: error: expected primary-expression before ')' token
  while (ch = getchar(), (ch < '0' || ch > '9'));
                                                              ^
0_0_21600433_24686.cpp:30:13: error: lvalue required as unary '&' operand
  x = ch - '0';
             ^
0_0_21600433_24686.cpp:31:33: error: lvalue required as unary '&' operand
  while (ch = getchar(), ch >= '0' && ch <= '9') x = x * 10 + ch - '0';
                                 ^
0_0_21600433_24686.cpp:31:35: error: expected ')' before ';' token
  while (ch = getchar(), ch >= '0' && ch <= '9') x = x * 10 + ch - '0';
                                   ^
0_0_21600433_24686.cpp:31:54: error: lvalue required as unary '&' operand
  while (ch = getchar(), ch >= '0' && ch <= '9') x = x * 10 + ch - '0';
                                                      ^
0_0_21600433_24686.cpp:31:63: error: expected primary-expression before ')' token
  while (ch = getchar(), ch >= '0' && ch <= '9') x = x * 10 + ch - '0';
                                                               ^
0_0_21600433_24686.cpp:31:46: error: label 'ch' used but not defined
  while (ch = getchar(), ch >= '0' && ch <= '9') x = x * 10 + ch - '0';
                                              ^
0_0_21600433_24686.cpp: In function 'void out(int)':
0_0_21600433_24686.cpp:37:25: error: lvalue required as unary '&' operand
  hc[len++] = x % 10 + '0';
                         ^
0_0_21600433_24686.cpp:38:41: error: lvalue required as unary '&' operand
  while (x /= 10) hc[len++] = 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.001000(s) query 1, Server time : 2025-02-18 19:45:35, Gzip enabled