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