题解(c++):1018: [编程入门]有规律的数列求和 摘要:解题思路:首先观察数列,然后找后一个分子分母与前一个分子分母之间的规律注意事项:保留两位小数参考代码:#include<iostream>#include<iomanip>using namespac…… 题解列表 2023年10月23日 0 点赞 0 评论 507 浏览 评分:9.9
2017: 猜价模拟 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { long int n; cin>>n;…… 题解列表 2023年10月23日 0 点赞 0 评论 512 浏览 评分:0.0
2012: 百分制成绩转换 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int arr[5]={0},arr1[100]…… 题解列表 2023年10月22日 0 点赞 0 评论 399 浏览 评分:0.0
2009: 第一个带类的C++程序 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; class Data { public: void Set(string…… 题解列表 2023年10月22日 0 点赞 0 评论 528 浏览 评分:0.0
苹果与虫子题解 摘要:解题思路:无注意事项:if那里要写两个等于号哦参考代码:#include<iostream>using namespace std;int main(){ int x,y,n; cin>>n>…… 题解列表 2023年10月22日 0 点赞 0 评论 523 浏览 评分:0.0
2008: C++函数重载练习 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cmath> #include<bits/stdc++.h> using namespace std; v…… 题解列表 2023年10月22日 0 点赞 0 评论 414 浏览 评分:0.0
判断第几天C++ 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;bool IsLeapYear(int year)//用来判断是否是闰年{ if (y…… 题解列表 2023年10月21日 0 点赞 0 评论 471 浏览 评分:0.0
题解 2857: 加密的病历单 摘要:解题思路:注意事项:三次遍历得出结果;注意循环格式,以及是哪个字符串;切勿弄混!参考代码:#include using namespace std; char b[60]= {'w'…… 题解列表 2023年10月21日 0 点赞 0 评论 611 浏览 评分:9.9
2332: 信息学奥赛一本通T1181-整数奇偶排序 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int a[10005];int main(){ for(int i=1; …… 题解列表 2023年10月21日 0 点赞 0 评论 567 浏览 评分:0.0
2851: 合法C标识符 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h> using namespace std; int flag[30]; int main() { str…… 题解列表 2023年10月21日 0 点赞 0 评论 595 浏览 评分:9.9