思路:二分答案 。check():检查组p套卡是否成立,即检查r卡是否足够组成p套卡。
(易错点:check的思路,开long long) #include <bits/stdc.h>
using namespace std;
long long int n, m;
long long int…
前言
Python测试框架之前一直用的是unittestHTMLTestRunner,听到有人说pytest很好用,所以这段时间就看了看pytest文档,在这里做个记录。
官方文档介绍: Pytest is a framework that makes building simple and scalable tests e…