![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
笔试
时大大尚
这个作者很懒,什么都没留下…
展开
-
迷宫问题
有路障,多少种走法,0可走,1不可走。 #include<iostream> #include<vector> using namespace std; int main() { int n, m; while (cin >> n >> m) { int a[100][100]; for (int i = 0; i < n; i++) { for (int j = 0; j < m; j++) { cin >.原创 2020-08-27 10:29:17 · 117 阅读 · 0 评论 -
深信服笔试
输入字符串s和n,加下来的n行分别输出a和b,将字符串中的a替换成b。 输入: 2568982543 2 2 3 5 1 输出: 3168983143 #include<iostream> #include<vector> #include<string> using namespace std; int main() { string s; int n, a, b; while (cin >> s >> n) { vector&.原创 2020-08-26 09:20:27 · 397 阅读 · 4 评论