在哪你都看得到我记住这句话 摘要:解题思路:用几个if else判断一下走哪个分支就行注意事项:参考代码:#include<iostream>usingnamespacestd;…… 题解列表 2026年03月19日 0 点赞 0 评论 114 浏览 评分:0.0
C++简单解法 摘要:解题思路:属于基础题目注意事项:参考代码:一般做法#include<iostream>using namespace std;int main(void…… 题解列表 2025年03月04日 1 点赞 0 评论 1330 浏览 评分:0.0
分段函数求值 摘要: #include using namespace std; int main() { int x, y; cin >> x; …… 题解列表 2022年10月10日 0 点赞 0 评论 388 浏览 评分:0.0
[编程入门]分段函数求值 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long n;int main(){ cin>>n; if(n<1…… 题解列表 2022年05月24日 0 点赞 0 评论 341 浏览 评分:0.0
分段函数求值 题解(c++so easy!) 摘要:解题思路:就是按照题目的意思,先自定义个函数,再判段属于哪个,最后按要求返回正确的值输出。上程序!注意事项:无。参考代码:#include<bits/stdc++.h>using namespace …… 题解列表 2022年05月08日 0 点赞 0 评论 454 浏览 评分:0.0
编写题解 1007: [编程入门]分段函数求值 摘要:#include<iostream> using namespace std; int main() { int x,y; cin>>x; if(x<1){ …… 题解列表 2022年05月07日 0 点赞 0 评论 370 浏览 评分:0.0
分段函数求值 from beiqiao (C++) 摘要:#include<iostream> using namespace std; int main() { int x; cin>>x; if(x<1) cout<<x<<…… 题解列表 2022年01月23日 0 点赞 0 评论 370 浏览 评分:0.0
分段函数求值 from beiqiao (C++) 摘要:#include<iostream> using namespace std; int main() { int x; cin>>x; if(x<1) cout<<x<<…… 题解列表 2022年01月23日 0 点赞 0 评论 339 浏览 评分:0.0
使用函数的定义和调用 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int x=0,y;void cst();/* run this program using…… 题解列表 2021年12月17日 0 点赞 0 评论 350 浏览 评分:0.0