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_21660422_1277.cpp:23:20: error: 'scan_d' declared as an 'inline' variable
 inline bool scan_d(T &ret){char c;int sgn;if (c = getchar(), c == EOF){return 0;}
                    ^
0_0_21660422_1277.cpp:23:20: error: 'T' was not declared in this scope
0_0_21660422_1277.cpp:23:23: error: 'ret' was not declared in this scope
 inline bool scan_d(T &ret){char c;int sgn;if (c = getchar(), c == EOF){return 0;}
                       ^
0_0_21660422_1277.cpp:23:27: error: expected ',' or ';' before '{' token
 inline bool scan_d(T &ret){char c;int sgn;if (c = getchar(), c == EOF){return 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-11-16 20:52:05, Gzip enabled