# hdu 5974 LCM+求方程

Given two positive integers a and b,find suitable X and Y to meet the conditions: X+Y=a ...

# poj 1222 poj 1830高斯消元解决开关问题

In an extended version of the game Lights Out, is a puzzle with 5 rows of 6 buttons each (the actual puzzle has 5 rows of 5 buttons each). Each butto...

# CodeForces - 801D 凸多边形的性质

You are given a convex polygon P with n distinct vertices p1, p2, ..., pn. Vertex pi has coordinates (xi, yi) in the 2D plane. These vertices are li...

# sdnu第一场选拔赛--Miller_Rabin算法判断是否为素数

Description Give you a lot of positive integers, just to find out how many prime numbers there are. Input There are a lot of cas...

# sdut 2603 向量的旋转变换与旋转角的关系（山东第4届省赛）

Problem Description     Several days ago, a beast caught a beautiful princess and the princess was put in prison. To rescue the princess, a prin...

# fzu 2213 通过圆心坐标和半径判断两圆的关系

Two different circles can have at most four common tangents. The picture below is an illustration of two circles with four common tangents. ...

# hdu 2552 三角函数数学公式使用

MCA山中人才辈出，洞悉外界战火纷纷，山中各路豪杰决定出山拯救百姓于水火，曾以题数扫全场的威士忌，曾经高数九十九的天外来客，曾以一剑铸十年的亦纷菲，歃血为盟，盘踞全国各个要塞（简称全国赛）遇敌杀敌，遇佛杀佛，终于击退辽军，暂时平定外患，三人位置也处于稳态。 可惜辽誓不甘心，辽国征南大将军...

# poj 3146 Lucas定理的使用

Harry is a Junior middle student. He is very interested in the story told by his mathematics teacher about the Yang Hui triangle in the class yesterd...

# poj 1328 区间，贪心

Assume the coasting is an infinite straight line. Land is in one side of coasting, sea in the other. Each small island is a point locating in the sea...

# poj 2773 容斥原理+二分

Two positive integers are said to be relatively prime to each other if the Great Common Divisor (GCD) is 1. For instance, 1, 3, 5, 7, 9...are all rel...

# hdu 4565 矩阵快速幂+共轭的应用

Description 　　A sequence S n is defined as:  Where a, b, n, m are positive integers.┌x┐is the ceil of x. For example, ┌3.14┐=4. You are to ca...

# hdu 3483 矩阵快速幂+二项式定理

Description This is a very simple problem. Given three integers N, x, and M, your task is to calculate out the following value:  ...

个人资料
等级：
访问量： 13万+
积分： 4265
排名： 8865
赞助一下
如果您觉得我的文章对您有帮助的话，不妨小额赞助一下，激励我写出更多的好文章，谢谢大家！

以下是我的支付宝和微信账户