题解列表

筛选

编写题解 1670: 拆分位数(c++)

摘要:解题思路:利用数组来进行倒序输出注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a[3]; int n; cin >> ……

2017: 猜价模拟

摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() {     long int n;     cin>>n;……

2012: 百分制成绩转换

摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() {     int arr[5]={0},arr1[100]……

2009: 第一个带类的C++程序

摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; class Data { public:     void Set(string……

苹果与虫子题解

摘要:解题思路:无注意事项:if那里要写两个等于号哦参考代码:#include<iostream>using namespace std;int main(){   int x,y,n;   cin>>n>……

2008: C++函数重载练习

摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cmath> #include<bits/stdc++.h> using namespace std; v……

判断第几天C++

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;bool IsLeapYear(int year)//用来判断是否是闰年{     if (y……

题解 2857: 加密的病历单

摘要:解题思路:注意事项:三次遍历得出结果;注意循环格式,以及是哪个字符串;切勿弄混!参考代码:#include using namespace std; char b[60]= {&#39;w&#39;……