摘要:
首先贴一下题目:Given a tree, you are supposed to list all the leaves in the order of top down, and left to right.Input Specification:Each input file contains... 阅读全文
摘要:
首先粘一下题目:二分法求函数根的原理为:如果连续函数f(x)在区间[a, b]的两个端点取值异号,即f(a)f(b) 2 #include 3 4 #define EPS (1e-3)// 注意事项1 5 using namespace std; 6 7 double a3, a2, a1, ... 阅读全文