| 比赛 | 202110省实验桐柏一中普及组联赛 | 评测结果 | WWWWWWWWWW |
|---|---|---|---|
| 题目名称 | 分配同桌 | 最终得分 | 0 |
| 用户昵称 | zhuyixin | 运行时间 | 0.000 s |
| 代码语言 | C++ | 内存使用 | 0.00 MiB |
| 提交时间 | 2021-10-18 19:03:50 | ||
#include <iostream>
#include <cstdio>
#include <algorithm>
using namespace std;
int rp=0;
int main(){
freopen("tongzhuo.in","r",stdin);
freopen("tongzhuo.out","w",stdout);
int n,m,x,y;
cin >>n>>m;
while(cin >>x>>y){
rp++;
}
int qwq=n-m;
cout<<min(qwq,m);
return 0;
}