Home STD Contest Notification Clarification Problems Ranklist Status Print Sign Out

View Compilation Error

1_374_546_20899.cpp: In function `high_precision operator+(high_precision, high_precision)':
1_374_546_20899.cpp:352: error: no matching function for call to `high_precision::high_precision(high_precision)'
1_374_546_20899.cpp:59: note: candidates are: high_precision::high_precision(int)
1_374_546_20899.cpp:47: note:                 high_precision::high_precision(std::string)
1_374_546_20899.cpp:18: note:                 high_precision::high_precision(high_precision&)
1_374_546_20899.cpp:364: error: no matching function for call to `high_precision::high_precision(high_precision)'
1_374_546_20899.cpp:59: note: candidates are: high_precision::high_precision(int)
1_374_546_20899.cpp:47: note:                 high_precision::high_precision(std::string)
1_374_546_20899.cpp:18: note:                 high_precision::high_precision(high_precision&)
1_374_546_20899.cpp: In function `high_precision operator-(high_precision, high_precision)':
1_374_546_20899.cpp:439: error: no matching function for call to `high_precision::high_precision(high_precision)'
1_374_546_20899.cpp:59: note: candidates are: high_precision::high_precision(int)
1_374_546_20899.cpp:47: note:                 high_precision::high_precision(std::string)
1_374_546_20899.cpp:18: note:                 high_precision::high_precision(high_precision&)
1_374_546_20899.cpp:440: error: no matching function for call to `high_precision::high_precision(high_precision)'
1_374_546_20899.cpp:59: note: candidates are: high_precision::high_precision(int)
1_374_546_20899.cpp:47: note:                 high_precision::high_precision(std::string)
1_374_546_20899.cpp:18: note:                 high_precision::high_precision(high_precision&)
1_374_546_20899.cpp: In function `int main()':
1_374_546_20899.cpp:450: error: no matching function for call to `high_precision::high_precision(high_precision)'
1_374_546_20899.cpp:59: note: candidates are: high_precision::high_precision(int)
1_374_546_20899.cpp:47: note:                 high_precision::high_precision(std::string)
1_374_546_20899.cpp:18: note:                 high_precision::high_precision(high_precision&)
1_374_546_20899.cpp:450: error:   initializing temporary from result of `high_precision::high_precision(std::string)'
1_374_546_20899.cpp:450: error: no matching function for call to `high_precision::high_precision(high_precision)'
1_374_546_20899.cpp:59: note: candidates are: high_precision::high_precision(int)
1_374_546_20899.cpp:47: note:                 high_precision::high_precision(std::string)
1_374_546_20899.cpp:18: note:                 high_precision::high_precision(high_precision&)
1_374_546_20899.cpp:450: error:   initializing temporary from result of `high_precision::high_precision(std::string)'
1_374_546_20899.cpp:451: error: no matching function for call to `high_precision::high_precision(high_precision)'
1_374_546_20899.cpp:59: note: candidates are: high_precision::high_precision(int)
1_374_546_20899.cpp:47: note:                 high_precision::high_precision(std::string)
1_374_546_20899.cpp:18: note:                 high_precision::high_precision(high_precision&)


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.001000(s) query 1, Server time : 2025-01-05 08:17:53, Gzip enabled