随笔分类 - 数学_基础题
摘要:X章求和 X章求和 Time Limit: 2000/1000ms (Java/Others) Time Limit: 2000/1000ms (Java/Others) Problem Description: X章最喜欢求和了,他一看到什么鬼就什么鬼都加起来。one day,他得到了2个数a,b
阅读全文
摘要:题解报告:hdu 2036 改革春风吹满地 (求多边形的面积) Problem Description “ 改革春风吹满地,不会AC没关系;实在不行回老家,还有一亩三分地。谢谢!(乐队奏乐)”话说部分学生心态极好,每天就知道游戏,这次考试如此简单的题目,也是云里雾里,而且,还竟然来这么几句打油诗。好
阅读全文
摘要:题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1124 Problem Description The most important part of a GSM network is so called Base Transceiver Station
阅读全文
摘要:Desciption Consider a set of n points in a 2-D plane with integer coordinates. There are various ways of measuring distance between two points such as
阅读全文
摘要:Description The GCD of two positive integers is the largest integer that divides both the integers without any remainder. The LCM of two positive inte
阅读全文
摘要:Plants vs. Zombies Plants vs. Zombies Time Limit: 2000/1000ms (Java/Others) Time Limit: 2000/1000ms (Java/Others) Problem Description: There is a zomb
阅读全文
摘要:三元一次函数 三元一次函数 Time Limit: 2000/1000ms (Java/Others) Time Limit: 2000/1000ms (Java/Others) Problem Description: 计算三元一次函数。。如图 Problem Description: Input
阅读全文
摘要:Problem description Mr. Santa asks all the great programmers of the world to solve a trivial problem. He gives them an integer m and asks for the numb
阅读全文
摘要:Problem description Sheldon, Leonard, Penny, Rajesh and Howard are in the queue for a "Double Cola" drink vending machine; there are no other people i
阅读全文
摘要:鸡兔同笼 鸡兔同笼 Time Limit: 2000/1000ms (Java/Others) Time Limit: 2000/1000ms (Java/Others) Problem Description: 今有雉兔同笼,上有n头,下有m足,问雉兔各几何? Problem Descriptio
阅读全文
摘要:Problem description A family consisting of father bear, mother bear and son bear owns three cars. Father bear can climb into the largest car and he li
阅读全文
摘要:Problem description SmallR is an archer. SmallR is taking a match of archer with Zanoes. They try to shoot in the target in turns, and SmallR shoots f
阅读全文
摘要:Problem description Being a nonconformist, Volodya is displeased with the current state of things, particularly with the order of natural numbers (nat
阅读全文
摘要:Problem description Year 2118. Androids are in mass production for decades now, and they do all the work for humans. But androids have to go to school
阅读全文
摘要:Problem description Crazy Town is a plane on which there are n infinite line roads. Each road is defined by the equation aix + biy + ci = 0, where ai
阅读全文
摘要:Problem description Consider the infinite sequence of integers: 1, 1, 2, 1, 2, 3, 1, 2, 3, 4, 1, 2, 3, 4, 5.... The sequence is built in the following
阅读全文
摘要:Problem description The following problem is well-known: given integers n and m, calculate 2n mod m, where 2n = 2·2·...·2 (n factors), and x mod y den
阅读全文
摘要:lowbit lowbit Time Limit: 2000/1000ms (Java/Others) Time Limit: 2000/1000ms (Java/Others) Problem Description: long long ans = 0; for(int i = 1; i < =
阅读全文
摘要:圆的面积 圆的面积 Time Limit: 2000/1000ms (Java/Others) Time Limit: 2000/1000ms (Java/Others) Problem Description: AB是圆O的一条直径,CD、EF是两条垂直于AB的弦,并且以CD为直径的半圆和以EF为
阅读全文
摘要:NNNNN NNNNN Time Limit: 2000/1000ms (Java/Others) Time Limit: 2000/1000ms (Java/Others) Problem Description: 对于整数N,求N^N的前5位和后5位(1057题加强版) Problem Desc
阅读全文