
-> 暴力出奇迹 <-
文章平均质量分 87
Joefery
生命不息,战斗不止。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
CSU 1803 2016 【枚举】
Description 给出正整数 n 和 m,统计满足以下条件的正整数对 (a,b) 的数量: 1. 1≤a≤n,1≤b≤m; 2. a×b 是 2016 的倍数。 Input 输入包含不超过 30 组数据。 每组数据包含两个整数 n,m (1≤n,m≤10 9).原创 2016-09-05 00:00:19 · 857 阅读 · 0 评论 -
codeforces 599D. Spongebob and Squares【推公式+暴力枚举】
D. Spongebob and Squares time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Spongebob is already tired trying原创 2016-08-30 20:26:39 · 721 阅读 · 0 评论 -
Gym 100531A Alarm Clock 【水题】【暴力】
题目连接 /******************************************************** 题意:给你一个n表示显示屏中的节段数,如果存在则输出时间, 否则输出Impossible。 类型:暴力、水题 分析:开个数组存一下每种数字的节段数,然后对每一位暴力枚 举即可。 *******************************************原创 2016-08-06 18:49:49 · 555 阅读 · 0 评论 -
Gym 100531 D Digits 【暴力】
题目连接 /******************************************************** 题意:给你一个n表示需要你找n个数字,每个数字的各个位数之 和必须相等,求最小的n个数字之和 类型:暴力 分析:因为n个数字都必须是正整数,由n<=5000, 暴力测试发现 1~100000以内可以得到5000个正解,由1~100000每个数字最大分 解次原创 2016-08-06 22:06:07 · 495 阅读 · 0 评论 -
Codeforces 246D Colorful Graph【STL瞎暴力】
D. Colorful Graph time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output You've got an undirected graph, consistin原创 2017-01-08 13:50:28 · 526 阅读 · 0 评论