题解 2754: 其他基本数据类型存储空间大小 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ cout<<sizeof(bool)<<' …… 题解列表 2023年11月25日 0 点赞 0 评论 357 浏览 评分:9.9
题解 2753: 浮点型数据类型存储空间大小 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ cout<<sizeof(float)<<'…… 题解列表 2023年11月25日 0 点赞 0 评论 160 浏览 评分:9.9
题解 2754: 其他基本数据类型存储空间大小 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ cout << sizeof(bool)<<" "<<size…… 题解列表 2023年11月25日 0 点赞 0 评论 227 浏览 评分:9.9
题解 2753: 浮点型数据类型存储空间大小 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ cout<<sizeof(float )<<" "<…… 题解列表 2023年11月25日 0 点赞 0 评论 156 浏览 评分:9.9
题解 2752: 整型数据类型存储空间大小 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ cout<<sizeof(int)<<' &…… 题解列表 2023年11月25日 0 点赞 0 评论 291 浏览 评分:9.9
题解 2760: 整型与布尔型的转换 摘要:解题思路:最好先定义两个整形,到后面麻烦。注意事项:题目有些绕,要看懂。参考代码:#include <bits/stdc++.h>using namespace std;int main(){ …… 题解列表 2023年11月25日 0 点赞 0 评论 306 浏览 评分:9.9
2758 打印ASCII码(c++) 摘要:解题思路:#include <bits/stdc++.h>using namespace std;int main(){ char a; cin>>a; co…… 题解列表 2023年11月25日 0 点赞 0 评论 266 浏览 评分:9.9
计算(a+b)*c的值 摘要:参考代码: #include<iostream>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c; …… 题解列表 2023年11月25日 0 点赞 0 评论 429 浏览 评分:9.9
编写题解 2776:A*B问题 摘要:解题思路:A*B参考代码:#include<iostream>using namespace std;int main(){ int a,b cout<<a*b; return 0;…… 题解列表 2023年11月25日 0 点赞 0 评论 236 浏览 评分:9.9
2758: 打印ASCII码 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ char a; cin>>a; cout…… 题解列表 2023年11月25日 0 点赞 0 评论 535 浏览 评分:9.9