![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
简单题
struggling2018
在代码的路上
展开
-
poj3094-Quicksum
A checksum is an algorithm that scans a packet of data and returns a single number. The idea is that if the packet is changed, the checksum will also change, so checksums are often used for detecting ...原创 2018-11-02 20:14:10 · 228 阅读 · 0 评论 -
hdu1859____最小长方形
Problem Description给定一系列2维平面点的坐标(x, y),其中x和y均为整数,要求用一个最小的长方形框将所有点框在内。长方形框的边分别平行于x和y坐标轴,点落在边上也算是被框在内。Input测试输入包含若干测试用例,每个测试用例由一系列坐标组成,每对坐标占一行,其中|x|和|y|小于 231;一对0 坐标标志着一个测试用例的结束。注意(0, 0)不作为任何一个测试用...原创 2018-11-18 20:21:42 · 357 阅读 · 0 评论 -
hdu1563-----Find your present!
Problem DescriptionIn the new year party, everybody will get a "special present".Now it's your turn to get your special present, a lot of presents now putting on the desk, and only one of them will ...原创 2018-11-11 14:39:16 · 181 阅读 · 0 评论 -
hdu1017_____A Mathematical Curiosity
Problem DescriptionGiven two integers n and m, count the number of pairs of integers (a,b) such that 0 < a < b < n and (a^2+b^2 +m)/(ab) is an integer.This problem contains multiple test ...原创 2018-11-21 11:35:36 · 152 阅读 · 0 评论 -
hdu1213——How Many Tables(并查集)
Problem DescriptionToday is Ignatius' birthday. He invites a lot of friends. Now it's dinner time. Ignatius wants to know how many tables he needs at least. You have to notice that not all the frie...原创 2018-12-03 14:11:53 · 121 阅读 · 0 评论 -
hdu1702——ACboy needs your help again!
Problem DescriptionACboy was kidnapped!!he miss his mother very much and is very scare now.You can't image how dark the room he was put into is, so poor :(.As a smart ACMer, you want to get ACbo...原创 2018-12-08 11:15:39 · 207 阅读 · 0 评论 -
完数
Write a program to output the first 555 perfect numbers. A perfect number is defined to be a positive integer where the sum of its positive integer divisors excluding the number itself equals the numb...原创 2019-06-02 22:00:22 · 235 阅读 · 0 评论