@[hhyz100413](/user/876418) 输入在一行里,你可以这样。
```cpp
m, n = input().split(' ')
m, n = int(m), int(n)
```
by yzm0325 @ 2023-08-13 16:19:56
@[zym0325](/user/804115) 谢谢大佬
by HHYQ_07 @ 2023-08-13 16:23:07
@[hhyz100413](/user/876418)
```python
n, m = map(int, input().split())
```
by ForgotDream_CHN @ 2023-08-13 16:24:30