计算(a+b)*c的值 摘要:参考代码: #include<iostream>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c; …… 题解列表 2023年11月25日 0 点赞 0 评论 465 浏览 评分:9.9
2758 打印ASCII码(c++) 摘要:解题思路:#include <bits/stdc++.h>using namespace std;int main(){ char a; cin>>a; co…… 题解列表 2023年11月25日 0 点赞 0 评论 301 浏览 评分:9.9
题解 2760: 整型与布尔型的转换 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int a; cin>>a; cout<<(boo…… 题解列表 2023年11月25日 0 点赞 0 评论 236 浏览 评分:9.0
题解 2760: 整型与布尔型的转换 摘要:解题思路:最好先定义两个整形,到后面麻烦。注意事项:题目有些绕,要看懂。参考代码:#include <bits/stdc++.h>using namespace std;int main(){ …… 题解列表 2023年11月25日 0 点赞 0 评论 337 浏览 评分:9.9
详细代码,数学问题不大,就是理解问题 摘要:解题思路:这个首先真的细心读题目,题目说每行测试后悔空一行,这说明什么 ——听我到来;这是一个求字符众数的题,首先得遍历每个字符串吧,遍历字符串就得用循环吧遍历字符串得数一下字符串中每个字符出现多少次…… 题解列表 2023年11月25日 0 点赞 0 评论 258 浏览 评分:0.0
题解 2752: 整型数据类型存储空间大小 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ cout<<sizeof(int)<<' &…… 题解列表 2023年11月25日 0 点赞 0 评论 322 浏览 评分:9.9
题解 2753: 浮点型数据类型存储空间大小 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ cout<<sizeof(float )<<" "<…… 题解列表 2023年11月25日 0 点赞 0 评论 184 浏览 评分:9.9
题解 2754: 其他基本数据类型存储空间大小 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ cout << sizeof(bool)<<" "<<size…… 题解列表 2023年11月25日 0 点赞 0 评论 258 浏览 评分:9.9
你怎么知道我单抽出金 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ cout<<sizeof(bool)<<" "<<s…… 题解列表 2023年11月25日 0 点赞 0 评论 251 浏览 评分:0.0
题解 2753: 浮点型数据类型存储空间大小 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ cout<<sizeof(float)<<'…… 题解列表 2023年11月25日 0 点赞 0 评论 196 浏览 评分:9.9