题解列表

筛选

1267: A+B Problem

摘要:```cpp #include using namespace std; int main() { int a,b; cin>>a>>b; cout……

1761: 学习ASCII码

摘要:只要进行int和char之间的的转换就行了 ```cpp #include using namespace std; int main() { cout……

水题目,只需一个bool

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;bool is_leap(int y){ return y%4 == 0 && y % 100……

3种方法教你求最大值-C++语言

摘要:> ***解题思路:设置变量 第一种:使用if条件判断语句 第二种:引入布尔常量 第三种:使用三目运算符【~~划重点~~】* **参考代码:第一种:使用if条件判断语句 注:这是初学者最常……

简简单单无脑列举

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;void GetReal(float x){ cout << x << endl;}void ……

c++语言解决电报加密

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstdio>#include<string.h>using namespace std;void get(char……