Hello, World!的大小 摘要:##Hello, World!的大小 ```c #include int main() { char a[]="Hello, World!"; printf("%d",sizeof(a…… 题解列表 2023年01月01日 0 点赞 0 评论 2239 浏览 评分:9.9
2760: 整型与布尔型的转换(细节) 摘要:####这样写,在编译器上能过,但提交后会显示编译错误 ```c #include int main() { int a,b; bool c; scanf("%d",&a); …… 题解列表 2023年01月01日 1 点赞 0 评论 949 浏览 评分:0.0
1112: C语言考试练习题_一元二次方程 摘要:解题思路:注意事项:参考代码:#include <math.h> #include <stdio.h> int main() { double a, b, c; double x1, …… 题解列表 2022年12月31日 0 点赞 0 评论 515 浏览 评分:0.0
1091: A+B for Input-Output Practice (VII) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int func(int x,int y); int main() { int n, j; int sum = 0;…… 题解列表 2022年12月31日 0 点赞 0 评论 528 浏览 评分:0.0
1054: 二级C语言-计算素数和 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int func(int x); int main() { int a,n; int sum = 0; …… 题解列表 2022年12月31日 0 点赞 0 评论 419 浏览 评分:0.0
2981: 二进制分类 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ //将1到1000的十进制转换为二进制 int a[1000]; int i,j; in…… 题解列表 2022年12月31日 0 点赞 0 评论 654 浏览 评分:9.9
2976: 字符串中最长的连续出现的字符 解题思路:先定义一个数组输入字符串然后用for循环来断句然后使用for循环来判断下插下一个字符是否与前一个字符相等如果相等则计数如果不相等则退出重新计数最后来判断输出的技术最多的一项是什么然后又输出这个字母然后再输出它的个数注意事项:先定义一个数组来断句然后用for循环来计数用If语句来判断最大的字母 题解列表 2022年12月31日 0 点赞 0 评论 733 浏览 评分:9.9
一种超简单的方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,m,sum=0; scanf("%d",&n); while(~scanf("%d",&m)) { …… 题解列表 2022年12月31日 0 点赞 0 评论 417 浏览 评分:0.0
一种超简单的方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,j,k,n; for(i=1;i<10;i++) { for(j=0…… 题解列表 2022年12月31日 0 点赞 0 评论 426 浏览 评分:0.0
一种超简单的方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,n,sum=0,m; scanf("%d",&n); m=n; for(int i=…… 题解列表 2022年12月31日 0 点赞 0 评论 504 浏览 评分:0.0