
Codeforces 题解
Renyuchen_
OIer & Dev
展开
-
Codeforces 1598A Computer Game 题解
题目链接 洛谷 题目翻译 给定两行字符串,求能否从左上角走到右下角(0为可走,1 为不可走)。 题目思路 我们可以读入完字符串后循环遍历,两两比较,如果有 ,说明无法通过,则 (也可以输出后直接 continue)。 代码 #include <bits/stdc++.h>//万能头万岁! using namespace std; int main() { int t; cin >> t; while (t--) {//几乎每道 CF 题都要 int ..原创 2021-10-11 20:43:21 · 318 阅读 · 1 评论 -
Codeforces 44B Cola 题解
Codeforces 44B Cola 题解原创 2021-10-06 19:53:52 · 243 阅读 · 0 评论