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_37805332_11478.cpp: In instantiation of 'T read() [with T = int]':
0_0_37805332_11478.cpp:120:20:   required from here
0_0_37805332_11478.cpp:18:21: error: 'sum' cannot be used as a function
   sum = sum(sum << 1) + (sum << 3) + (ch ^ 48);
                     ^
0_0_37805332_11478.cpp: In instantiation of 'void read(T&) [with T = int]':
0_0_37805332_11478.cpp:42:8:   required from 'void read(T&, Args& ...) [with T = int; Args = {int}]'
0_0_37805332_11478.cpp:72:11:   required from here
0_0_37805332_11478.cpp:35:21: error: expression cannot be used as a function
   sum = sum(sum << 1) + (sum << 3) + (ch ^ 48);
                     ^


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-19 00:24:19, Gzip enabled