提交时间:2023-08-09 12:09:55
运行 ID: 97110
#include <bits/stdc++.h> using namespace std; int n,m; int main(){ scanf("%d%d",&n,&m); printf("%d\n",min(n>>1,m)); return 0; }