传送门 题目描述 Polycarp有 x x x个红糖和 y y y个蓝糖,现在他想用这些糖果做一些礼品盒(gift set),但规定每个礼品盒里必须有 a a a个红糖、 b b b个蓝糖或 b b b个红糖、 a a a个蓝糖。现在求他最多能做成多少个礼品盒。 分析 没啥思路,借鉴的大佬的博客 代码 #pragma GCC optimize(3)#include <bits/st
* 将标准可读格式的选择题解析为GIFT格式(用于Moodle) * 标准可读格式如下: #stem-id-prefix#grammar-v-ed-exercise (A)1. The missing boys were last seen __ near the river. A. playing B. to be playing C. play D. to p
B. Madoka nd the Elegant Gift time limit per test 1 second memory limit per test 256 megabytes Madoka’s father just reached 11 million subscribers on Mathub! So the website decided to send him a