饥饿的大魔王
饥饿的大魔王
全部文章
分类
归档
标签
去牛客网
登录
/
注册
饥饿的大魔王的博客
全部文章
(共31篇)
题解 | #KiKi判断上三角矩阵#
#include <stdio.h> int main() { int n = 0; scanf("%d", &n); int s = 0; int count = 0; int arr[100][100] = { 0 }; for (int i = 0; i < ...
2023-05-22
1
271
题解 | #序列中整数去重#
void sortedDel(int n) { int count = 0; int arr[100] = { 0 }; for (int i = 0; i < n; i++) { scanf("%d", &arr[i]); } for (int i = 0; i < ...
2023-05-10
1
181
题解 | #有序序列插入一个整数#
#include <stdio.h> void SortedPrint(int n) { int tmp = 0; int arr[999] = { 0 }; for (int i = 0; i < n; i++) { scanf("%d", &arr[i]); }...
2023-05-09
1
222
题解 | #有序序列判断#
#include <stdio.h> void SortedPrint(const int n) { int count1 = 0; int count2 = 0; int count3 = 0; int arr[100] = { 0 }; for (int i = 0; i...
2023-05-09
1
243
题解 | #争夺前五名#
void printStu(const int n) { int tmp = 0; int arr[100] = {0}; for (int i = 0; i < n; i++) { scanf("%d", &arr[i]); } ...
2023-05-07
1
251
题解 | #空心三角形图案#
#include <stdio.h> /* * * * * * * * * * */ int main() { int n = 0; while (scanf("%d", &n) != EOF) { for (int i = 0; i < n; i++)//行循环...
2023-04-30
1
197
题解 | #空心正方形图案#
#include <stdio.h> int main() { int n = 0; while (scanf("%d", &n) != EOF) { for (int i = 0; i < n - 1; i++) { for (int j = 0;...
2023-04-30
1
213
题解 | #箭形图案#
#include <stdio.h> /* * ** *** ** * */ int main() { int i = 0; int j = 0; int n = 0; while (scanf("%d", &n) != EOF...
2023-04-23
1
196
题解 | #K形图案#
#include <stdio.h> int main() { int i = 0; int j = 0; int n = 0; while(scanf("%d",&n)!=EOF) { //先打印上半部分 fo...
2023-04-23
1
201
题解 | #菱形图案#
#include <stdio.h> int main() { int i = 0; int n = 0; int j = 0; int tmp = 0; int t = 0; while (scanf("%d", &n) != EOF)...
2023-04-22
1
290
首页
上一页
1
2
3
4
下一页
末页