1057: 二级C语言-分段函数 摘要:```cpp #include #include using namespace std; int main() { double x; cin>>x; if(…… 题解列表 2023年01月31日 0 点赞 0 评论 470 浏览 评分:9.9
1223: 敲七游戏 摘要:解题思路:一行解,融入许多函数,运行很爽。注意事项:参考代码:print(len(set(list(map(lambda x : x+1 if (x % 7 == 0 or '7' i…… 题解列表 2023年01月31日 0 点赞 0 评论 683 浏览 评分:0.0
1056: 二级C语言-温度转换 摘要:```cpp #include #include using namespace std; int main() { double f; cin>>f; cou…… 题解列表 2023年01月31日 0 点赞 1 评论 999 浏览 评分:9.9
1058: 二级C语言-求偶数和 摘要:```cpp #include using namespace std; int main() { int n,p,x=0; cin>>n; for(int i=…… 题解列表 2023年01月31日 0 点赞 0 评论 443 浏览 评分:9.9
1059: 二级C语言-等差数列 摘要:```cpp #include using namespace std; int main() { int n,sum=0; cin>>n; for(int i=…… 题解列表 2023年01月31日 0 点赞 0 评论 440 浏览 评分:9.9
1060: 二级C语言-同因查找 摘要:```cpp #include using namespace std; int main() { for(int i=42;i…… 题解列表 2023年01月31日 0 点赞 0 评论 353 浏览 评分:9.9
ikun崩溃代码 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ double x; scanf("%lf",&x); printf("%f\n",x); print…… 题解列表 2023年01月31日 0 点赞 0 评论 394 浏览 评分:0.0
1065: 二级C语言-最小绝对值 摘要:本题有提到“绝对值”这个字眼大家要马上想起绝对值函数 1、abs abs函数用于整数,格式为 int a=…; a=abs(a);//a=a的绝对值 2、fabs abs函数用于实数,…… 题解列表 2023年01月31日 0 点赞 0 评论 503 浏览 评分:9.9
1157:亲和数(c语言) 摘要:解题思路:先求出A,B的约数,加起来看看能不能分别和另一个数相等。注意事项:参考代码:#include <stdio.h> int main () { int M, A, B; …… 题解列表 2023年01月31日 0 点赞 0 评论 343 浏览 评分:9.9
三个整数中找最大数 摘要:解题思路: 新手,适合初学者。思路很简单就三个中任挑一个比其他两个大即可 认为要懂||(或) &&(都、和) ?(非) 的知识注意事项:if语句判断时只有一条语句时可不用{ },我是为方便记忆, …… 题解列表 2023年01月31日 0 点赞 1 评论 264 浏览 评分:2.0