摘要:
#include<string.h> #include<cstdio> #include<iostream> #include<algorithm> #include<cmath> #include<string> #include<cstring> #include<vector> using n 阅读全文
posted @ 2023-08-06 19:55
徐星凯
阅读(76)
评论(0)
推荐(0)
摘要:
#include<stdio.h> int main() { int N; scanf("%d",&N); int queue[N]; //记录每个轨道的最小序号 int queueNum=0; //轨道数量 int num; for (int i = 0; i < N; i++) { scanf( 阅读全文
posted @ 2023-08-05 21:46
徐星凯
阅读(86)
评论(0)
推荐(0)
摘要:
#include<stdio.h> #include<stdlib.h> typedef struct node{ //自己父母和孩子的编号 int master; int fa; int mu; int kidn; int kids[10]; double sum,area; }node; nod 阅读全文
posted @ 2023-08-05 17:05
徐星凯
阅读(81)
评论(0)
推荐(0)
摘要:
#include<iostream> #include<stdio.h> int main() { int clock[24], n = 0;//储存大本钟的心情指数 for (int i = 0; i < 24; i++) { scanf("%d", &clock[i]);//输入心情指数 } s 阅读全文
posted @ 2023-08-03 20:56
徐星凯
阅读(30)
评论(0)
推荐(0)
摘要:
#include<stdio.h> #include<string.h> int main() { char s[10];//输入数据 scanf("%s", s); int len = strlen(s), num; //将长度为四的生日补全 if (len == 4) { num = (s[0] 阅读全文
posted @ 2023-08-02 21:14
徐星凯
阅读(59)
评论(0)
推荐(0)
摘要:
#include<math.h> #include<stdio.h> #include<stdlib.h> #include<string.h> int main() { int i; //用于循环 int k; //表示平局的间隔次数 int index; //标记平局次数 char name[2 阅读全文
posted @ 2023-08-01 21:18
徐星凯
阅读(84)
评论(0)
推荐(0)
浙公网安备 33010602011771号