EFFAF
EFFAF
全部文章
分类
题解(33)
归档
标签
去牛客网
登录
/
注册
EFFAF的博客
全部文章
(共33篇)
题解 | #图像相似度#
#include<stdio.h> int main() { int arr1[100][100] = { 0 }; int arr2[100][100] = { 0 }; int n, m; int c = 0; scanf("%d%d", &a...
C
2021-10-29
0
299
题解 | #筛选法求素数#
#include<stdio.h> int main() { int n = 0; scanf("%d",&n); int arr[100] = { 0 }; int i = 2, b = 0; for (; i <= n; i++)...
C
2021-10-29
0
389
题解 | #有序序列插入一个数#
#include<stdio.h> int main() { int arr[52] = { 0 };// 思想 前后都有个0 如 N=5 0 ....... 0 这样避免插入在开头或结尾 int i = 0; int N = 0; scanf("%d"...
C
2021-10-28
0
310
题解 | #公务员面试#
#include<stdio.h> int main() { int g=0; int m=101,M=0; float c=0; while(scanf("%d",&g)!=EOF) { M=(g>M?g:M);...
C
2021-10-28
3
527
题解 | #空心三角形图案#
#include<stdio.h> int main() { int r,c,n; while(scanf("%d",&n)!=EOF) { for(r=1;r<=n;r++) { for(c=...
C
2021-10-28
0
323
题解 | #空心正方形图案#
#include<stdio.h> int main() { int c, r, n; while (scanf("%d", &n) != EOF) { for (r = 1; r <= n ;r++) { ...
C
2021-10-28
0
339
题解 | #X形图案#
#include<stdio.h> int main(){ int r,n,x,c; while(scanf("%d",&n)!=EOF){ for(r=1;r<=n;r++){ for(c=1;c<=n;c++...
C
2021-10-28
0
317
题解 | #K形图案#
#include<stdio.h> int main() { int r, c, n; while (scanf("%d", &n) != EOF) { for (r = 0; r <= n + 1; r++) {//倒直角 ...
C
2021-10-27
0
283
题解 | #菱形图案#
#include<stdio.h> int main() { int n, j, k, i; while (scanf("%d", &n) != EOF) { for (i = 1; i <= n; i...
C
2021-10-27
0
370
题解 | #带空格直角三角形图案#
#include<stdio.h> int main() { int i, j, k, c; while (scanf("%d", &k) != EOF) { for (i = 1; i <=k; i++) { ...
C
2021-10-27
0
363
首页
上一页
1
2
3
4
下一页
末页