| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 46435 | liusiyu | 组合 | C++ | Accepted | 0 MS | 248 KB | 170 | 2024-05-03 20:37:46 |
#include<bits/stdc++.h> using namespace std; int main() { int n,m; cin>>n>>m; int a=max(n,m),b=min(n,m); if(b+1==a) cout<<b-1; else cout<<a-1; return 0; }