摘要: 试题 算法训练 印章 import java.util.Scanner; /** * @author HuaWang135608 * @date 2023.03.10 16:34:11 * @description [试题 算法训练 印章](https://lx.lanqiao.cn/problem 阅读全文
posted @ 2023-03-10 19:03 华王135608 阅读(65) 评论(0) 推荐(0)
摘要: 习题2-5 分数化小数(decimal) 输入正整数 a, b, c,输出 a/b 的小数形式,精确到小数点后c位。\(a, b ≤ 10^6, c ≤ 100\)。输入包含多组数据,结束标记为 a=b=c=0。 样例输入: 1 6 4 0 0 0 样例输出: Case 1: 0.1667 C语言实 阅读全文
posted @ 2022-02-18 23:56 华王135608 阅读(68) 评论(0) 推荐(0)
摘要: 使用gcc提供的参数:-finput-charset、-fexec-charset 设置步骤: 1.设置VSCode的文件保存格式 在settings.json中添加 "files.encoding": "utf8",此句用于指定文件的保存编码格式为UTF-8。 2.修改tasks.json中的编译 阅读全文
posted @ 2021-06-04 22:26 华王135608 阅读(2441) 评论(0) 推荐(1)