fix: some format

This commit is contained in:
KirisameVanilla 2025-11-20 23:33:21 +08:00
parent f5b37a17c9
commit 6f1bdc9826
No known key found for this signature in database
GPG Key ID: 7FC750F817277AC5
2 changed files with 27 additions and 27 deletions

View File

@ -1,5 +1,5 @@
---
title: 2025-2026学年春季期期中(zq)
title: 2025-2026学年春季期期中(张泉)
---
## 一、判断16 分)
@ -12,7 +12,9 @@ title: 2025-2026学年春季期期中(zq)
## 二、读代码25 分)
1. ```c
1. a=\_\_\_\_
```c
#include<stdio.h>
int main() {
int a = 3, b = 4;
@ -21,9 +23,9 @@ title: 2025-2026学年春季期期中(zq)
}
```
a=\_\_\_\_
2. a=\_\_\_\_
2. ```c
```c
#include<stdio.h>
void Anaesthesia(int b) {
static int a = 0;
@ -36,9 +38,9 @@ title: 2025-2026学年春季期期中(zq)
}
```
a=\_\_\_\_
3. \_\_\_\_, \_\_\_\_
3. ```c
```c
#include<stdio.h>
int main() {
c = 'A' + 4 - 'Z' + 'z';
@ -47,9 +49,9 @@ title: 2025-2026学年春季期期中(zq)
}
```
\_\_\_\_, \_\_\_\_
4. \_\_\_\_, \_\_\_\_
4. ```c
```c
#include<stdio.h>
int main() {
int a = 2;
@ -59,9 +61,9 @@ title: 2025-2026学年春季期期中(zq)
}
```
\_\_\_\_, \_\_\_\_
5. \_\_\_\_
5. ```c
```c
#include<stdio.h>
int main() {
int a = 5, b = 10, c = 15;
@ -69,12 +71,11 @@ title: 2025-2026学年春季期期中(zq)
c += 5;
} else {
c -= 5;
} printf("%d", c);
}
printf("%d", c);
}
```
\_\_\_\_
## 三、选择题25分题面暂缺
函数不允许嵌套定义函数(函数里不可以定义函数)

View File

@ -1,5 +1,5 @@
---
title: 2025-2026学年春季期期中(whq)
title: 2025-2026学年春季期期中(邬海琴)
---
## 一、选择20 分) 10道
@ -14,7 +14,9 @@ title: 2025-2026学年春季期期中(whq)
1. 静态变量关键词\_\_\_\_常态变量关键词\_\_\_\_
2. ```c
2. \_\_\_\_
```c
#include<stdio.h>
int main() {
int a = 3, b = 2;
@ -22,7 +24,6 @@ title: 2025-2026学年春季期期中(whq)
printf("%.2f",c);
}
```
\_\_\_\_
3. `a = 9, b = 2``!(a * 2 % 4) && (c = 2) || (7 - 2 * b > 2)` 输出\_\_\_\_
@ -62,7 +63,6 @@ title: 2025-2026学年春季期期中(whq)
## 四、手写代码40 分)
1. 求五个数中的中位数
**Input**
@ -82,4 +82,3 @@ title: 2025-2026学年春季期期中(whq)
**Output**
> `No Such Number.`