牛客965706134号
牛客965706134号
全部文章
题解
归档
标签
去牛客网
登录
/
注册
牛客965706134号的博客
全部文章
/ 题解
(共22篇)
题解 | 有序数列插入一个数
">int main() { int n = 0; int arr[50]= {0}; int m = 0; scanf("%d",&n); for(int i =1;i<=n;i++) { scanf("%d",&...
C
2021-11-28
8
534
题解 | 统计成绩
">int main() { int n = 0; double m = 0.0; double sum = 0.0; double max = 0.0; double min = 100.0; scanf("%d",&n); whil...
C
2021-11-28
2
306
题解 | #图像相似度#
">int main() { int m = 0; int n = 0; int x = 0; double count = 0.0;//计数:相同像素个数 int arr1[100][100] = { 0 }; int arr2[100][100] ...
C
2021-11-26
0
367
筛选法求素数
#include<stdio.h> int main() { int n = 0; int count = 0; while (scanf("%d", &n)!=EOF)  ...
C
2021-11-26
0
215
题解 | #公务员面试#
#include<stdio.h> int main() { int N = 0; scanf("%d", &N); int nums[20] = { 0 }; for (int i = 1; i <= N; i++)//将待加入新数的一组数放在sums的第二个到第N个位...
C
2021-11-25
0
291
题解 | #公务员面试#
#include<stdio.h> int main() { int n = 0; double arr[7] = { 0.0 }; for (int i = 0; i < 7; i++)//获取7个数字 { scanf("%d", &n); arr[i] = n; } f...
C
2021-11-25
0
304
题解 | #竞选社长#
#include<stdio.h> int main() { int n = 0; while (scanf("%d", &n) != EOF) { for (int i = 0; i < n; i++) { if (i <= 1)//第一行和第二行打...
C
2021-11-25
0
363
空心正方形图案
#include<stdio.h> int main() { int n = 0; while (scanf("%d", &n) != EOF) { &n...
C
2021-11-24
0
205
题解 | #竞选社长#
#include<stdio.h> int main() { int n = 0; while (scanf("%d", &n) != EOF) { for (int i = 1; i <=n; i++) { for (int j ...
C
2021-11-24
0
312
题解 | #竞选社长#
#include<stdio.h> int main() { double a = 0.0; double b = 0.0; char c ='0'; scanf("%lf %c %lf",&a,&c,&b); { switch (c) { ...
C
2021-11-23
0
286
首页
上一页
1
2
3
下一页
末页