KaynGe
KaynGe
全部文章
题解
归档
标签
去牛客网
登录
/
注册
KaynGe的博客
全部文章
/ 题解
(共16篇)
过山车
#include <iostream> #include <cmath> #include <algorithm> #include <vector> using namespace std; int main(){ int n, k; ...
2021-03-16
0
622
广场维修
#include <iostream> #include <cmath> #include <algorithm> #include <vector> using namespace std; int main(){ int n, m, a...
2021-03-16
1
669
C++
使用char型数组保存数据,记得getchar()吸收换行符,其次在进行大小比较时记得将char型数据转换为整型。 #include <iostream> #include <cmath> #include <algorithm> #include <vec...
2021-03-16
0
610
C++
注意在输入char型数据时,需使用getchar()吸收换行符。 #include <iostream> #include <cmath> #include <algorithm> #include <vector> #include <cstd...
2021-03-15
0
446
空间换时间
建立一个布尔值数组,记录下每一个数是否为质数,然后累加计算。 #include <iostream> #include <cmath> #include <algorithm> #include <vector> using namespace st...
2021-03-15
1
613
C++ map
#include <iostream> #include <map> using namespace std; int main(){ string s; map<char, int> mp; while(getline(cin, s)...
2021-03-14
1
656
首页
上一页
1
2
下一页
末页