
枚举
文章平均质量分 91
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 · 836 阅读 · 0 评论 -
Gym 101138C Stickmen【枚举+排列组合】
Description standard input/output Statements Limak is a little bear who loves to play with graphs. Recently, he defined a new structure in a graph and called it a stickman. A stickman is a set原创 2016-10-28 11:52:06 · 788 阅读 · 0 评论