| ||||||||||
| Online Judge | Problem Set | Authors | Online Contests | User | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest | |||||||||
Re:以前写的那个高精度类今天派上大用场了。。。In Reply To:Re:以前写的那个高精度类今天派上大用场了。。。 Posted by:TheBeet at 2007-09-29 12:27:45 我的高精度就没有派上用场 \\temp\\Main.cpp: In member function `HugeInt HugeInt::operator+(int)': \\temp\\Main.cpp:114: error: no match for 'operator+' in '*(HugeInt*)this + HugeInt(((long int)op1))' \\temp\\Main.cpp:94: note: candidates are: HugeInt HugeInt::operator+(HugeInt&) \\temp\\Main.cpp:113: note: HugeInt HugeInt::operator+(int) \\temp\\Main.cpp: In member function `HugeInt HugeInt::operator-(int)': \\temp\\Main.cpp:141: error: no match for 'operator-' in '*(HugeInt*)this - HugeInt(((long int)op1))' \\temp\\Main.cpp:140: note: candidates are: HugeInt HugeInt::operator-(int) \\temp\\Main.cpp:117: note: HugeInt HugeInt::operator-(HugeInt&) \\temp\\Main.cpp: In member function `HugeInt HugeInt::operator*(int)': \\temp\\Main.cpp:165: error: no match for 'operator*' in '*(HugeInt*)this * HugeInt(((long int)op1))' \\temp\\Main.cpp:164: note: candidates are: HugeInt HugeInt::operator*(int) \\temp\\Main.cpp:144: note: HugeInt HugeInt::operator*(HugeInt&) \\temp\\Main.cpp: In member function `HugeInt HugeInt::operator/(int)': \\temp\\Main.cpp:191: error: no match for 'operator/' in '*(HugeInt*)this / HugeInt(((long int)op1))' \\temp\\Main.cpp:190: note: candidates are: HugeInt HugeInt::operator/(int) \\temp\\Main.cpp:168: note: HugeInt HugeInt::operator/(HugeInt&) \\temp\\Main.cpp: In member function `bool HugeInt::operator>(int)': \\temp\\Main.cpp:202: error: no match for 'operator>' in '*(HugeInt*)this > HugeInt(((long int)op1))' \\temp\\Main.cpp:201: note: candidates are: bool HugeInt::operator>(int) \\temp\\Main.cpp:195: note: bool HugeInt::operator>(HugeInt&) \\temp\\Main.cpp: In member function `bool HugeInt::operator>=(int)': \\temp\\Main.cpp:212: error: no match for 'operator>=' in '*(HugeInt*)this >= HugeInt(((long int)op1))' \\temp\\Main.cpp:211: note: candidates are: bool HugeInt::operator>=(int) \\temp\\Main.cpp:205: note: bool HugeInt::operator>=(HugeInt&) \\temp\\Main.cpp: In member function `bool HugeInt::operator<=(int)': \\temp\\Main.cpp:222: error: no match for 'operator<=' in '*(HugeInt*)this <= HugeInt(((long int)op1))' \\temp\\Main.cpp:221: note: candidates are: bool HugeInt::operator<=(int) \\temp\\Main.cpp:215: note: bool HugeInt::operator<=(HugeInt&) \\temp\\Main.cpp: In member function `bool HugeInt::operator<(int)': \\temp\\Main.cpp:232: error: no match for 'operator<' in '*(HugeInt*)this < HugeInt(((long int)op1))' \\temp\\Main.cpp:231: note: candidates are: bool HugeInt::operator<(int) \\temp\\Main.cpp:225: note: bool HugeInt::operator<(HugeInt&) \\temp\\Main.cpp: In member function `bool HugeInt::operator==(int)': \\temp\\Main.cpp:242: error: no match for 'operator==' in '*(HugeInt*)this == HugeInt(((long int)op1))' \\temp\\Main.cpp:241: note: candidates are: bool HugeInt::operator==(int) \\temp\\Main.cpp:235: note: bool HugeInt::operator==(HugeInt&) \\temp\\Main.cpp: In member function `bool HugeInt::operator!=(int)': \\temp\\Main.cpp:252: error: no match for 'operator!=' in '*(HugeInt*)this != HugeInt(((long int)op1))' \\temp\\Main.cpp:251: note: candidates are: bool HugeInt::operator!=(int) \\temp\\Main.cpp:245: note: bool HugeInt::operator!=(HugeInt&) Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator