2015年12月13日

【C++】计算所有小于N的勾股数组合,可以写入txt文件保存,每组占一行。

摘要: 1 #ifndef PYTHAGOREAN_H_ 2 #define PYTHAGOREAN_H_ 3 #include 4 class Pythagorean { 5 public: 6 // 打印出边长小于 n 的符合勾股定理的三角形的三边长度 7 // print righ... 阅读全文

posted @ 2015-12-13 21:51 RuriGokou 阅读(919) 评论(0) 推荐(0) 编辑

导航