数论——整式方程
Alex_McAvoy
想要成为渔夫的猎手
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
数论 —— 整式方程
【概念】 整式方程就是方程中所有的未知数均在分子上,分母只是常数且无未知数。 通常情况下,常年用字母 x、y、z 来表示未知数,方程中含有几个不同的未知数就叫做几元,未知数的最高次数是几就叫做几次。 例如:ax+b=c 就是一个一元一次整式方程 【一元一次方程求解】 对于方程 ax+b=c,有:x=(c-b)/a double calculate(double a,double b,...原创 2019-01-19 15:31:18 · 2648 阅读 · 0 评论 -
Lucky Number(HDU-4937)
Problem Description “Ladies and Gentlemen, It’s show time! ” “A thief is a creative artist who takes his prey in style... But a detective is nothing more than a critic, who follows our footsteps.....原创 2019-01-19 15:02:16 · 359 阅读 · 0 评论 -
出题
【题目描述】 小B准备出模拟赛。 她把题目按难度分为四等,分值分别为6,7,8,9。 已知小B共出了m道题,共n分。 求小B最少出了多少道6分题。 【输入描述】 两个正整数n,m 【输出描述】 一个数,表示答案。 若无解,输出"jgzjgzjgz"。 【样例】 示例1 输入 34 5 输出 1 示例2 输入 32 5 输出 3 示例3 输入 5 1 输出 jgzj...原创 2019-06-13 22:42:15 · 317 阅读 · 0 评论 -
Internet Service Providers(LightOJ-1275)
Problem Description A group of N Internet Service Provider companies (ISPs) use a private communication channel that has a maximum capacity of C traffic units per second. Each company transfers T tr...原创 2019-02-13 23:28:31 · 439 阅读 · 0 评论 -
Jzzhu and Chocolate(CF-449A)
Problem Description Jzzhu has a big rectangular chocolate bar that consists of n × m unit squares. He wants to cut this bar exactly k times. Each cut must meet the following requirements: each cut ...原创 2019-03-28 15:23:39 · 349 阅读 · 0 评论
分享