• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
村雨sup
自己选的路,跪着也要走完 XD
博客园    首页    新随笔    联系   管理    订阅  订阅
2021年1月12日
华为机试 迷宫问题dfs
摘要: #include<iostream> #include "bits/stdc++.h" using namespace std; int N,M; int MAP[11][11]; void dfs(int i,int j,vector<int>veci,vector<int>vecj){ if(i 阅读全文
posted @ 2021-01-12 16:35 村雨sup 阅读(215) 评论(0) 推荐(0)
华为机试 字符串加解密
摘要: #include<iostream> #include <vector> #include "bits/stdc++.h" using namespace std; char jiami(char s){ if(s >= 'a'&&s < 'z'){return char(s-31);} else 阅读全文
posted @ 2021-01-12 15:09 村雨sup 阅读(304) 评论(0) 推荐(0)
华为机试 单词倒排
摘要: #include<iostream> #include <vector> #include "bits/stdc++.h" using namespace std; int main() { string s; getline(cin,s); vector<string> vecstr; strin 阅读全文
posted @ 2021-01-12 14:28 村雨sup 阅读(119) 评论(0) 推荐(0)
华为机试-字符串分割
摘要: #include<iostream> #include <vector> #include "bits/stdc++.h" using namespace std; int main() { string s; while(cin >> s){ int lens = s.size(); while( 阅读全文
posted @ 2021-01-12 13:55 村雨sup 阅读(242) 评论(0) 推荐(0)
16位转10位写法
摘要: 题目描述 写出一个程序,接受一个十六进制的数,输出该数值的十进制表示。(多组同时输入 ) 输入描述: 输入一个十六进制的数值字符串。 输出描述: 输出该数值的十进制字符串。 1 2 3 4 5 6 7 8 #include <stdio.h> int main() { int num = 0; wh 阅读全文
posted @ 2021-01-12 01:23 村雨sup 阅读(445) 评论(0) 推荐(0)
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3