摘要: 此题是 2018 年 ICPC Asia Beijing Regional Contest 的 C 题。 题目大意 求斜边长度不超过 $n$($ n \le 10^9$) 的勾股数的数量。不计两直角边的顺序,即勾股数 $(a, b, c)$ 和 $(b, a, c)$ 视作同一组。 分析 这是一道颇 阅读全文
posted @ 2019-03-31 22:01 Pat 阅读(587) 评论(0) 推荐(0) 编辑
摘要: 打/补 AtCoder 比赛时遇到的一些神题。 阅读全文
posted @ 2019-03-31 10:22 Pat 阅读(1432) 评论(0) 推荐(0) 编辑