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_21596219_29261.cpp:25:34: error: stray '#' in program
  while ((c = getchar()) && (c < '0' || c > '9')) ;
                                  ^
0_0_21596219_29261.cpp:25:40: error: stray '#' in program
  while ((c = getchar()) && (c < '0' || c > '9')) ;
                                        ^
0_0_21596219_29261.cpp:25:53: error: stray '#' in program
  while ((c = getchar()) && (c < '0' || c > '9')) ;
                                                     ^
0_0_21596219_29261.cpp:25:59: error: stray '#' in program
  while ((c = getchar()) && (c < '0' || c > '9')) ;
                                                           ^
0_0_21596219_29261.cpp:26:11: error: stray '#' in program
  x = c - '0';
           ^
0_0_21596219_29261.cpp:26:17: error: stray '#' in program
  x = c - '0';
                 ^
0_0_21596219_29261.cpp:27:35: error: stray '#' in program
  while ((c = getchar()) && (c >= '0' && c <= '9'))
                                   ^
0_0_21596219_29261.cpp:27:41: error: stray '#' in program
  while ((c = getchar()) && (c >= '0' && c <= '9'))
                                         ^
0_0_21596219_29261.cpp:27:55: error: stray '#' in program
  while ((c = getchar()) && (c >= '0' && c <= '9'))
                                                       ^
0_0_21596219_29261.cpp:27:61: error: stray '#' in program
  while ((c = getchar()) && (c >= '0' && c <= '9'))
                                                             ^
0_0_21596219_29261.cpp:28:21: error: stray '#' in program
   x = x * 10 + c - '0';
                     ^
0_0_21596219_29261.cpp:28:27: error: stray '#' in program
   x = x * 10 + c - '0';
                           ^
0_0_21596219_29261.cpp:34:16: error: stray '#' in program
  putchar(x%10+'0');
                ^
0_0_21596219_29261.cpp:34:22: error: stray '#' in program
  putchar(x%10+'0');
                      ^
0_0_21596219_29261.cpp: In function 'void scan(ll&)':
0_0_21596219_29261.cpp:25:35: error: lvalue required as unary '&' operand
  while ((c = getchar()) && (c < '0' || c > '9')) ;
                                   ^
0_0_21596219_29261.cpp:25:37: error: expected ')' before ';' token
  while ((c = getchar()) && (c < '0' || c > '9')) ;
                                     ^
0_0_21596219_29261.cpp:25:37: error: expected ')' before ';' token
0_0_21596219_29261.cpp:25:45: error: expected primary-expression before '||' token
  while ((c = getchar()) && (c < '0' || c > '9')) ;
                                             ^
0_0_21596219_29261.cpp:25:54: error: lvalue required as unary '&' operand
  while ((c = getchar()) && (c < '0' || c > '9')) ;
                                                      ^
0_0_21596219_29261.cpp:25:63: error: expected primary-expression before ')' token
  while ((c = getchar()) && (c < '0' || c > '9')) ;
                                                               ^
0_0_21596219_29261.cpp:26:12: error: lvalue required as unary '&' operand
  x = c - '0';
            ^
0_0_21596219_29261.cpp:27:36: error: lvalue required as unary '&' operand
  while ((c = getchar()) && (c >= '0' && c <= '9'))
                                    ^
0_0_21596219_29261.cpp:27:38: error: expected ')' before ';' token
  while ((c = getchar()) && (c >= '0' && c <= '9'))
                                      ^
0_0_21596219_29261.cpp:27:38: error: expected ')' before ';' token
0_0_21596219_29261.cpp:27:56: error: lvalue required as unary '&' operand
  while ((c = getchar()) && (c >= '0' && c <= '9'))
                                                        ^
0_0_21596219_29261.cpp:27:65: error: expected primary-expression before ')' token
  while ((c = getchar()) && (c >= '0' && c <= '9'))
                                                                 ^
0_0_21596219_29261.cpp:27:49: error: label 'c' used but not defined
  while ((c = getchar()) && (c >= '0' && c <= '9'))
                                                 ^
0_0_21596219_29261.cpp: In function 'void out(ll)':
0_0_21596219_29261.cpp:34:17: error: lvalue required as unary '&' operand
  putchar(x%10+'0');
                 ^
0_0_21596219_29261.cpp:34:26: 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.001000(s) query 1, Server time : 2025-02-16 23:42:38, Gzip enabled