摘要: Description Recently in school Alina has learned what are the persistent data structures: they are data structures that always preserves the previous 阅读全文
posted @ 2016-08-23 22:34 ljh_2000 阅读(437) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2016-08-23 19:51 ljh_2000 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 从前一个和谐的班级,有 nlnl 个是男生,有 nrnr 个是女生。编号分别为 1,…,nl1,…,nl 和 1,…,nr1,…,nr。 有若干个这样的条件:第 vv 个男生和第 uu 个女生愿意结为配偶。 请问这个班级里最多产生多少对配偶? 输入格式 第一行三个正整数,nl,nr,mnl,nr,m 阅读全文
posted @ 2016-08-23 15:09 ljh_2000 阅读(300) 评论(0) 推荐(0) 编辑