1065: 二级C语言-最小绝对值 摘要:本题有提到“绝对值”这个字眼大家要马上想起绝对值函数 1、abs abs函数用于整数,格式为 int a=…; a=abs(a);//a=a的绝对值 2、fabs abs函数用于实数,…… 题解列表 2023年01月31日 0 点赞 0 评论 480 浏览 评分:9.9
ikun崩溃代码 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ double x; scanf("%lf",&x); printf("%f\n",x); print…… 题解列表 2023年01月31日 0 点赞 0 评论 370 浏览 评分:0.0
1060: 二级C语言-同因查找 摘要:```cpp #include using namespace std; int main() { for(int i=42;i…… 题解列表 2023年01月31日 0 点赞 0 评论 328 浏览 评分: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 评论 427 浏览 评分: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 评论 420 浏览 评分:9.9
1056: 二级C语言-温度转换 摘要:```cpp #include #include using namespace std; int main() { double f; cin>>f; cou…… 题解列表 2023年01月31日 0 点赞 1 评论 971 浏览 评分:9.9
1223: 敲七游戏 摘要:解题思路:一行解,融入许多函数,运行很爽。注意事项:参考代码:print(len(set(list(map(lambda x : x+1 if (x % 7 == 0 or '7' i…… 题解列表 2023年01月31日 0 点赞 0 评论 656 浏览 评分:0.0
1057: 二级C语言-分段函数 摘要:```cpp #include #include using namespace std; int main() { double x; cin>>x; if(…… 题解列表 2023年01月31日 0 点赞 0 评论 446 浏览 评分:9.9
1055: 二级C语言-进制转换 摘要:```cpp #include using namespace std; int main() { int a; scanf("%d",&a); printf("…… 题解列表 2023年01月31日 0 点赞 0 评论 461 浏览 评分:9.9
ikun崩溃代码 摘要:解题思路:不会注意事项:注意看题目要求即可参考代码:#include <stdio.h>int main(){ double x; char y; float z; int w; scan…… 题解列表 2023年01月31日 0 点赞 0 评论 274 浏览 评分:0.0