编写题解 1848: 求输入数据绝对值 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ double a; while(cin>>a) {…… 题解列表 2024年07月18日 0 点赞 0 评论 206 浏览 评分:9.9
题解 1848: 求输入数据绝对值 摘要:#include <stdio.h> #include <math.h> int main() { double num; while (scanf("%lf", &num…… 题解列表 2024年04月09日 0 点赞 0 评论 190 浏览 评分:0.0
1848: 求输入数据绝对值 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<bits/stdc++.h> using namespace std; int main() { …… 题解列表 2023年09月27日 0 点赞 0 评论 136 浏览 评分:0.0
1848: 求输入数据绝对值 摘要:```c++ #include #include #include using namespace std; int main() { double st; whil…… 题解列表 2023年05月12日 0 点赞 0 评论 180 浏览 评分:0.0
最简单解法,一看就会,不会的找我。 摘要:解题思路:无脑解法注意事项:if(n%3!=0||n%2!=0||n%7!=0),要用||,不能用&&参考代码:#include<stdio.h>int main(){ int n; fo…… 题解列表 2022年10月22日 0 点赞 2 评论 402 浏览 评分:9.9
c语言:求输入数据绝对值----菜鸟级别 摘要:# 求输入数据绝对值--菜鸟级别 两种方法 1.使用if循环语句 2.使用math.h文件 第一种 #include int main() { float i; …… 题解列表 2022年07月27日 0 点赞 1 评论 861 浏览 评分:9.9
求输入数据绝对值,简单 摘要:解题思路:注意事项:1.整型用abs,浮点型用fabs.参考代码:#include<stdio.h>#include<math.h>int main(){ double a; while(scanf(…… 题解列表 2022年07月19日 0 点赞 0 评论 164 浏览 评分:0.0
摩西摩西!! 摘要:```cpp #include using namespace std; int main(){ double n; while(cin >> n){ …… 题解列表 2022年03月19日 0 点赞 0 评论 250 浏览 评分:0.0
c++代码求绝对值 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath>#include<iomanip>using namespace std;int main(){ …… 题解列表 2022年02月21日 0 点赞 0 评论 255 浏览 评分:0.0
1848: 求输入数据绝对值 摘要:#include <bits/stdc++.h> using namespace std; int main(){ double x; while(cin>>x){ …… 题解列表 2022年01月11日 0 点赞 0 评论 119 浏览 评分:0.0