sizeof的大作用 摘要:```c++ #include using namespace std; int main() { cout…… 题解列表 2023年05月12日 0 点赞 0 评论 395 浏览 评分:0.0
1848: 求输入数据绝对值 摘要:```c++ #include #include #include using namespace std; int main() { double st; whil…… 题解列表 2023年05月12日 0 点赞 0 评论 358 浏览 评分:0.0
#C++1190—— 剔除相关数(map) 摘要:解题思路:对输入字符数字num进行排序,判断是否为相关数,记得保留原来的字符数字顺序,此处用tp保存,然后输出;注意事项:此题为多组输入,记得清空统计变量,恢复初始状态,对 string 类保存的数字…… 题解列表 2023年05月12日 0 点赞 0 评论 313 浏览 评分:0.0
应该考虑到判断的先后顺序也会影响到结果 摘要:解题思路:注意事项:参考代码:l2=input()l1=list(l2.split('-'))n=0s=0##print(l1[0]+l1[1]+l1[2])for i in l1[0…… 题解列表 2023年05月12日 0 点赞 0 评论 333 浏览 评分:0.0
三位数分解 摘要:```c++ #include #include using namespace std; void Print(int n) { if(n>9) { …… 题解列表 2023年05月12日 0 点赞 0 评论 242 浏览 评分:0.0
c++去除空格 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;string put(string s){ int n=s.size(); …… 题解列表 2023年05月12日 1 点赞 0 评论 259 浏览 评分:0.0
第一个带类的C++程序 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ string s,t=""; cin>>s; …… 题解列表 2023年05月12日 0 点赞 0 评论 311 浏览 评分:0.0
我是菜狗。。。。。。。。。。。。 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a[10]; int b; for(int i=0;i<10;…… 题解列表 2023年05月12日 0 点赞 0 评论 236 浏览 评分:0.0
要不断的用标签缩小,比较有这个意识了,还有借助空列表 摘要:解题思路:去年不会,今年还是不会但是至少还有点思路只是比较不完整注意事项:参考代码:n,m=map(int,input().split())l=[i+1 for i in range(n)]print…… 题解列表 2023年05月12日 0 点赞 0 评论 311 浏览 评分:0.0
别管,输出就完了c++ 摘要:解题思路:1、先定义一个字符数组2、输入n,就是输入多少个数,用for循环3、然后输入m是从哪开始取4、后面调用fun函数,把他妈的m和该死的字符串s传过去,从哪开始就从哪输出,非要纠结题目拷贝可以再…… 题解列表 2023年05月12日 0 点赞 0 评论 256 浏览 评分:0.0