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_37707105_29869.cpp: In function 'void solve()':
0_0_37707105_29869.cpp:39:8: error: call of overloaded 'read(int&)' is ambiguous
  read(n);read(m);
        ^
0_0_37707105_29869.cpp:39:8: note: candidates are:
0_0_37707105_29869.cpp:32:5: note: int read(int&)
 int read(int &a){
     ^
0_0_37707105_29869.cpp:23:14: note: void fastIO::read(int&)
  inline void read(int &x) {
              ^
0_0_37707105_29869.cpp:39:16: error: call of overloaded 'read(int&)' is ambiguous
  read(n);read(m);
                ^
0_0_37707105_29869.cpp:39:16: note: candidates are:
0_0_37707105_29869.cpp:32:5: note: int read(int&)
 int read(int &a){
     ^
0_0_37707105_29869.cpp:23:14: note: void fastIO::read(int&)
  inline void read(int &x) {
              ^
0_0_37707105_29869.cpp:45:17: error: call of overloaded 'read(int&)' is ambiguous
   int w,v;read(w);read(v);
                 ^
0_0_37707105_29869.cpp:45:17: note: candidates are:
0_0_37707105_29869.cpp:32:5: note: int read(int&)
 int read(int &a){
     ^
0_0_37707105_29869.cpp:23:14: note: void fastIO::read(int&)
  inline void read(int &x) {
              ^
0_0_37707105_29869.cpp:45:25: error: call of overloaded 'read(int&)' is ambiguous
   int w,v;read(w);read(v);
                         ^
0_0_37707105_29869.cpp:45:25: note: candidates are:
0_0_37707105_29869.cpp:32:5: note: int read(int&)
 int read(int &a){
     ^
0_0_37707105_29869.cpp:23:14: note: void fastIO::read(int&)
  inline void read(int &x) {
              ^
0_0_37707105_29869.cpp: In function 'int main()':
0_0_37707105_29869.cpp:64:14: error: call of overloaded 'read(int&)' is ambiguous
  int t;read(t);while(t--)
              ^
0_0_37707105_29869.cpp:64:14: note: candidates are:
0_0_37707105_29869.cpp:32:5: note: int read(int&)
 int read(int &a){
     ^
0_0_37707105_29869.cpp:23:14: note: void fastIO::read(int&)
  inline void read(int &x) {
              ^


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-30 06:37:15, Gzip enabled