A. 三连击(升级版)

    Type: RemoteJudge 1000ms 128MiB

三连击(升级版)

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

题目描述

将 1,2,…,91, 2,\ldots, 9 共 99 个数分成三组,分别组成三个三位数,且使这三个三位数的比例是 A:B:CA:B:C,试求出所有满足条件的三个三位数,若无解,输出 No!!!。

输入格式

三个数,A,B,CA,B,C。

输出格式

若干行,每行 33 个数字。按照每行第一个数字升序排列。

1 2 3
192 384 576
219 438 657
273 546 819
327 654 981

提示

保证 0≤A<B<C≤9990 \le A<B<C \le 999。


upd 2022.8.3\text{upd 2022.8.3}:新增加二组 Hack 数据。

初一从0开始学C++(期中复习)

Not Claimed
Status
Done
Problem
5
Open Since
2024-4-22 0:00
Deadline
2024-6-30 23:59
Extension
24 hour(s)