题解 2765: 计算分数的浮点数值 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double a,b; cin>>a>>b; …… 题解列表 2023年10月28日 0 点赞 0 评论 704 浏览 评分:9.9
题解 1808: [编程基础]输入输出练习之精度控制1 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double a; cin>>a; pr…… 题解列表 2023年10月28日 0 点赞 0 评论 877 浏览 评分:9.9
字符串比较! 摘要:#include<stdio.h>#include <string.h>int main(){ char c[100],q[100]; scanf("%s",c); scanf("%s",…… 题解列表 2023年10月28日 0 点赞 0 评论 771 浏览 评分:9.9
最简单写法c++ 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int h = 1189; int t = h; int w = 84…… 题解列表 2023年10月28日 1 点赞 0 评论 458 浏览 评分:0.0
[编程入门]第一个HelloWorld程序 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ printf("**************************\n"); printf("He…… 题解列表 2023年10月28日 0 点赞 0 评论 257 浏览 评分:0.0
寻找奇整数(使用sizeof()函数计算数组长度) 摘要:参考代码: ```c #include int main() { int a[]={3,7,5,13,25,45,78,23,8,33,9,19,28,41,50}; int len=…… 题解列表 2023年10月28日 0 点赞 0 评论 358 浏览 评分:0.0
去除空格(C语言) 摘要:参考代码: ```c #include void Spacebar(char *a,int len) { for(int i=0;i…… 题解列表 2023年10月28日 0 点赞 0 评论 486 浏览 评分:0.0
计算输入数据的和与乘积(用char数组存) 摘要:参考代码: ```c #include #include int main() { char a[100]; gets(a); int len=strlen(a); int …… 题解列表 2023年10月28日 0 点赞 0 评论 439 浏览 评分:10.0
统计字符个数(靠,真就只要10个,多一个都不行是吧) 摘要:参考代码: ```c #include #include #include int main() { char a[200]; gets(a); int len=strlen(…… 题解列表 2023年10月28日 0 点赞 0 评论 405 浏览 评分:0.0
Sn公式求和记录 摘要:解题思路:用了math.h头文件里的pow()函数来求n次方注意事项:参考代码:#include<stdio.h> #include<math.h> int main() { int m=2…… 题解列表 2023年10月27日 0 点赞 0 评论 275 浏览 评分:0.0