Codeforces Round 913 (Div. 3)A~F
# Codeforces Round 913 (Div. 3)A~F 比赛链接 # A. Rook # 题目大意 给出国际棋盘中车的位置,求该车一步能走到的位置(车可以横向或纵向移动任意步数) # 思路 模拟 # 代码 #include<bits/stdc++.h>#define int long long#define in inline#define ri register#define _123hh2 0using namespace std;in int read(){ int x=0,f=1;char...
more...