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_21591786_11465.cpp:16:28: error: stray '#' in program
         x = x * 10 + ch - '0';
                            ^
0_0_21591786_11465.cpp:16:34: error: stray '#' in program
         x = x * 10 + ch - '0';
                                  ^
0_0_21591786_11465.cpp:22:25: error: stray '#' in program
     if(x == 0) putchar('0');
                         ^
0_0_21591786_11465.cpp:22:31: error: stray '#' in program
     if(x == 0) putchar('0');
                               ^
0_0_21591786_11465.cpp:26:37: error: stray '#' in program
             buffer[p++] = x % 10 + '0';
                                     ^
0_0_21591786_11465.cpp:26:43: error: stray '#' in program
             buffer[p++] = x % 10 + '0';
                                           ^
0_0_21591786_11465.cpp:31:14: error: stray '#' in program
     putchar('\n');
              ^
0_0_21591786_11465.cpp:31:5: error: stray '\' in program
     putchar('\n');
     ^
0_0_21591786_11465.cpp:31:21: error: stray '#' in program
     putchar('\n');
                     ^
0_0_21591786_11465.cpp: In function 'void scan_d(int&)':
0_0_21591786_11465.cpp:16:29: error: lvalue required as unary '&' operand
         x = x * 10 + ch - '0';
                             ^
0_0_21591786_11465.cpp: In function 'void print_d(int)':
0_0_21591786_11465.cpp:22:26: error: lvalue required as unary '&' operand
     if(x == 0) putchar('0');
                          ^
0_0_21591786_11465.cpp:22:35: error: expected primary-expression before ')' token
     if(x == 0) putchar('0');
                                   ^
0_0_21591786_11465.cpp:23:5: error: 'else' without a previous 'if'
     else {
     ^
0_0_21591786_11465.cpp:26:38: error: lvalue required as unary '&' operand
             buffer[p++] = x % 10 + '0';
                                      ^
0_0_21591786_11465.cpp:31:15: error: lvalue required as unary '&' operand
     putchar('\n');
               ^
0_0_21591786_11465.cpp:31:25: error: expected primary-expression before ')' token
     putchar('\n');
                         ^


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-26 01:53:29, Gzip enabled