l16656
l16656
全部文章
分类
题解(3)
归档
标签
去牛客网
登录
/
注册
l16656的博客
全部文章
(共4篇)
题解 | #字母收集#
#include <iostream> #include <map> #include <vector> using namespace std; int main() { int n,m; cin>>n>>m; ...
2024-11-10
0
40
子数组累加最大
class Solution { public: /** * max sum of the subarray ...
2021-02-11
1
472
递归求进制数
class Solution { public: /** * 进制转换 * @param&n...
2021-02-11
0
448
接受一个十六进制的数,输出该数值的十进制表示
1、借用map做映射集,使得0-f的字符对应的数字是0-15 2、接受字符串从后往前遍历借助中间变量sum通过十六进制转十进制公式 3、输出结果 #include<iostream> #include<map> #include<math.h> u...
进制转换
2021-02-06
1
882