- 25育新暑期+秋季班笔记
第一周笔记提交(8.6-8.12)
- @ 2025-8-6 8:16:44
快来提交笔记吧
16 comments
-
李珺昊 LV 7 @ 2025-8-12 20:45:58
👍 1 -
@ 2025-8-11 19:50:01
👍 1 -
@ 2025-8-11 17:57:53
👍 1 -
@ 2025-8-11 17:36:59
👍 1 -
@ 2025-8-9 17:43:20
👍 1 -
@ 2025-8-7 20:10:35
👍 1 -
@ 2025-8-7 16:26:28
freoper("dot.in","r",stdin); fronper("dot.out","w",stdout); Cail(4.2)=5向上取整}小数 floor(4.2)=4向下取整}小数
-
@ 2025-8-7 11:12:15四合一打印:向上取整(ceil(n/4.0))与输出精度控制(fixed << setprecision(0))。 高级单词统计:利用cin返回值判断输入结束,string.length()统计长度。 矩阵转置:直接计算a[i][j] - a[j][i],避免复杂转置操作。 分数调整(第六题):打表法预处理1-100分在K次操作后的结果,优化时间复杂度。
-
@ 2025-8-7 11:07:33
👍 1 -
@ 2025-8-7 9:25:19

-
@ 2025-8-7 9:06:01
cin的返回值是成功输入的个数,AC正确 AC+数字 对了几个 TLE超时 WA错误 WA+数字 错了几个 MLE内存超限
-
@ 2025-8-7 9:04:40
freopen ()重定向 ceil 向上取整 floor 向下(保留小数)重定向:freopen(); freopen("名称.in","r",stdin); freopen("名称.out","w",stdout);
-
@ 2025-8-6 23:02:37
freopen ()重定向 ceil 向上取整 floor 向下(保留小数) cin 返回值是成功的个数 cin.getline(s.p)字符串.长度 可以读取有空格的字符串
-
@ 2025-8-6 22:27:35
👍 1 -
@ 2025-8-6 22:16:20格式 文件名:学号 再建一个文件夹 网站上不用 名字为题目编号 里面是文件 不要有.exe
重定向:freopen(); freopen("名称.in","r",stdin); freopen("名称.out","w",stdout);
AC正确 AC+数字 对了几个 TLE超时 WA错误 WA+数字 错了几个 MLE内存超限
向上取整 ceil(4.2)答案是5 向下取整 floor(4.2)答案是4 (都是小数→double,float类型)
fixed<<setprecision(0) 保留零位小数
int/int=int
cin返回值是成功读入数据的个数 cin.getline(s.10) (s→字符串名称,10→字符串长度) 可读入空格
👍 2 -
@ 2025-8-6 21:46:21
笔记: freopen("dot.in", "r", stdin); freopen("dot.out","w",stdout); (重定向) ceil()(向上取整 floorfixed << setprecision(2)(保留小数) cin的返回值是成功输入的个数
- 1
Information
- ID
- 1085
- Time
- 1000ms
- Memory
- 256MiB
- Difficulty
- 10
- Tags
- (None)
- # Submissions
- 2
- Accepted
- 0
- Uploaded By