Codeforces Beta Round #86 (Div. 2 Only) B PFAST Inc.

Petya不满意ACM竞赛的团队规模限制,所以他创办了PFAST Inc.比赛,允许无限人数的团队参赛。在准备比赛的过程中,他选择了16名志愿者,并需要组建一个互相和睦的团队。题目给出了志愿者数量和不和睦的对数,要求组建最大和睦团队。解答需输出团队人数及成员名单。
摘要由CSDN通过智能技术生成
B. PFAST Inc.
time limit per test
2 seconds
memory limit per test
256 megabytes
input
standard input
output
standard output

When little Petya grew up and entered the university, he started to take part in АСМ contests. Later he realized that he doesn't like how the АСМ contests are organised: the team could only have three members (and he couldn't take all his friends to the competitions and distribute the tasks between the team members efficiently), so he decided to organize his own contests PFAST Inc. — Petr and Friends Are Solving Tasks Corporation. PFAST Inc. rules allow a team to have unlimited number of members.

To make this format of contests popular he o

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值