编写题解 2919: 奖学金 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct student { int id; int yw, sx, yy; int sum;};struct student a[…… 题解列表 2023年06月02日 0 点赞 0 评论 552 浏览 评分:0.0
C语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>struct student{ long int id; float score;};i…… 题解列表 2023年06月02日 0 点赞 0 评论 877 浏览 评分:0.0
编写题解 2921: 整数奇偶排序 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main() { int i, j, a[100], j_n = 0, ou_n = 0; int ji[100], ou[10…… 题解列表 2023年06月01日 0 点赞 0 评论 536 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:注意添加终止符参考代码:#include<stdio.h>#include<string.h>int main(){ char str[101],str_friend[101]; …… 题解列表 2023年06月01日 0 点赞 0 评论 494 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n, a[100], i; float sum_1 = 0.0, sum_2 = 0.0, …… 题解列表 2023年06月01日 0 点赞 0 评论 474 浏览 评分:0.0
编写题解 2917: 奇数单增序列 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int a[1000],b[500];int main(){ int n,i,j=0; scanf("%d",&n); //输入 fo…… 题解列表 2023年06月01日 0 点赞 0 评论 509 浏览 评分:0.0
蓝桥杯2022年第十三届决赛真题-取模(C/C++/Java组) 摘要:解题思路:简单暴力注意事项:用scanf能过,cin过不了参考代码:#include<iostream>#include<unordered_map>using namespace std;int t…… 题解列表 2023年06月01日 0 点赞 1 评论 958 浏览 评分:9.9
二级C语言-等差数列 摘要://sum=2+5+8+11+14+…,输入正整数n,求sum的前n项和。 #include<stdio.h> int main(){ int a = 2; int n; …… 题解列表 2023年06月01日 0 点赞 0 评论 455 浏览 评分:0.0
二级C语言-求偶数和 摘要:#include<stdio.h> int main(){ int n; scanf("%d",&n); int a[n]; int i = 0; for(i = 0;…… 题解列表 2023年06月01日 0 点赞 0 评论 423 浏览 评分:0.0
输出所有的水仙花数 摘要://判断一个数是否为"水仙花数", //所谓"水仙花数"是指这样的一个数:首先是一个三位数,其次,其各位数字的立方和等于该数本身。 //例如:371是一个"水仙花数",371=3^3+7^3+1^…… 题解列表 2023年06月01日 0 点赞 0 评论 464 浏览 评分:0.0