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_21928855_11410.cpp: In function 'long long int _read()':
0_0_21928855_11410.cpp:41:16: error: call of overloaded 'nc()' is ambiguous
     char ch=nc();ll sum=0;
                ^
0_0_21928855_11410.cpp:41:16: note: candidates are:
0_0_21928855_11410.cpp:36:13: note: char nc()
 inline char nc(){
             ^
0_0_21928855_11410.cpp:10:17: note: char fastIO::nc()
     inline char nc() {  
                 ^
0_0_21928855_11410.cpp:42:37: error: call of overloaded 'nc()' is ambiguous
     while(!(ch>='0'&&ch<='9'))ch=nc();
                                     ^
0_0_21928855_11410.cpp:42:37: note: candidates are:
0_0_21928855_11410.cpp:36:13: note: char nc()
 inline char nc(){
             ^
0_0_21928855_11410.cpp:10:17: note: char fastIO::nc()
     inline char nc() {  
                 ^
0_0_21928855_11410.cpp:43:51: error: call of overloaded 'nc()' is ambiguous
     while(ch>='0'&&ch<='9')sum=sum*10+ch-48,ch=nc();
                                                   ^
0_0_21928855_11410.cpp:43:51: note: candidates are:
0_0_21928855_11410.cpp:36:13: note: char nc()
 inline char nc(){
             ^
0_0_21928855_11410.cpp:10:17: note: char fastIO::nc()
     inline char nc() {  
                 ^


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-29 09:48:26, Gzip enabled