这名用户暂未设置签名。
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
w, q = map(int, input().strip().split()) count = 0 def cow(n, k): global count if (n - k) % 2 != 0 or n <= k: count += 1 return else: cow((n - k) / 2, k) cow((n…
```python #pseudocode 士兵位置减去最大值加一和0去取min 和 max w = int(input()) q = int(input()) if q > 0: l = list(map(int, input().split())) h = w / 2 low = 0 high = 0 for i…