08 2019 档案

摘要:术语表 第 3 章 字符串, 向量和数组 begin: 是 string 和 vector 的成员,返回指向第一个元素的迭代器。也是一个标准库函数,输入一个数字,返回指向该数字首元素的指针。    缓冲区溢出(buffer overflow): 一种严重的程序故障,主要的原因是试 阅读全文
posted @ 2019-08-25 14:35 哨音 阅读(136) 评论(0) 推荐(0) 编辑
摘要:术语表 第 2 章 变量和基本类型 地址(address): 是一个数字,根据它可以找到内存中的一个字节    别名生命(alias declaration): 为另一种类型定义一个同义词:使用 ”名字 = 类型“ 的格式将名字作为该类型的同义词。    算术 阅读全文
posted @ 2019-08-24 20:10 哨音 阅读(346) 评论(0) 推荐(0) 编辑
摘要:术语表 第 1 章 开始 参数(实参, argument): 向函数传递值    赋值(assignment): 抹去一个对象当前值一个新值取代之    缓冲区(buffer): 一个存储区域, 用于保存数据。IO 设施通常将输入(或输出)数据保存在一个缓冲区 阅读全文
posted @ 2019-08-24 19:59 哨音 阅读(308) 评论(0) 推荐(0) 编辑
摘要:晴神书中AC代码 阅读全文
posted @ 2019-08-23 15:36 哨音 阅读(140) 评论(0) 推荐(0) 编辑
摘要:AC代码 注意创造函数条件中使用引用 输出语句注意单复数 阅读全文
posted @ 2019-08-18 22:10 哨音 阅读(165) 评论(0) 推荐(0) 编辑
摘要:书中AC代码 阅读全文
posted @ 2019-08-17 22:28 哨音 阅读(88) 评论(0) 推荐(0) 编辑
摘要:术语表 目录 "第 1 章 开始" 第 I 部分 C++基础 "第 2 章 变量和基本类型" "第 3 章 字符串, 向量和数组" "第 4 章 表达式" "第 5 章 语句" "第 6 章 函数" "第 7 章 类" 第 II 部分 C++标准库 "第 8 章 IO库" "第 9 章 顺序容器" 阅读全文
posted @ 2019-08-16 19:22 哨音 阅读(729) 评论(0) 推荐(0) 编辑
摘要:AC代码 阅读全文
posted @ 2019-08-14 16:24 哨音 阅读(141) 评论(0) 推荐(0) 编辑
摘要:AC代码 include include include include using namespace std; const int max_n = 110; int main() { ifdef ONLINE_JUDGE else freopen("1.txt", "r", stdin); en 阅读全文
posted @ 2019-08-14 10:44 哨音 阅读(151) 评论(0) 推荐(0) 编辑
摘要:书中AC代码 include include include include const int max_n = 10100; using namespace std; void Print(bool a) { if(!a) printf(" "); } int main() { ifdef ONL 阅读全文
posted @ 2019-08-10 15:33 哨音 阅读(224) 评论(0) 推荐(0) 编辑
摘要:书中AC代码 include include include using namespace std; int main() { ifdef ONLINE_JUDGE else freopen("1.txt", "r", stdin); //char DD; //日期 endif // ONLINE 阅读全文
posted @ 2019-08-10 09:45 哨音 阅读(179) 评论(0) 推荐(0) 编辑
摘要:AC代码 阅读全文
posted @ 2019-08-08 10:31 哨音 阅读(155) 评论(0) 推荐(0) 编辑
摘要:AC代码 include include using namespace std; const int max_n = 110; //权重 int W[17] = {7, 9, 10, 5, 8, 4, 2, 1, 6, 3, 7, 9, 10, 5, 8, 4, 2}; //验证码 char M[ 阅读全文
posted @ 2019-08-08 10:11 哨音 阅读(150) 评论(0) 推荐(0) 编辑
摘要:AC代码 include include include using namespace std; const int max_n = 1010; char ans[max_n]; int count[10][2] = {0}; int main() { ifdef ONLINE_JUDGE els 阅读全文
posted @ 2019-08-05 23:05 哨音 阅读(105) 评论(0) 推荐(0) 编辑
摘要:AC代码 阅读全文
posted @ 2019-08-05 17:39 哨音 阅读(117) 评论(0) 推荐(0) 编辑
摘要:AC代码 阅读全文
posted @ 2019-08-05 17:14 哨音 阅读(116) 评论(0) 推荐(0) 编辑
摘要:AC代码 include const int max_n = 1000; int ans[max_n]; char result[max_n]; char radix[13] = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 阅读全文
posted @ 2019-08-05 15:34 哨音 阅读(85) 评论(0) 推荐(0) 编辑
摘要:AC代码 阅读全文
posted @ 2019-08-04 23:46 哨音 阅读(137) 评论(0) 推荐(0) 编辑
摘要:课本AC代码 自己写的, 一个错误,找了几个小时找不到 阅读全文
posted @ 2019-08-04 23:22 哨音 阅读(154) 评论(0) 推荐(0) 编辑
摘要:AC代码 include include using namespace std; char flag = 0; //判断付钱数是否大于价格 struct Money { int Galleon, Sickle, Knut; } price, pay, temp, sub; void init() 阅读全文
posted @ 2019-08-04 18:03 哨音 阅读(149) 评论(0) 推荐(0) 编辑
摘要:课本AC代码 include include const int nowyear = 2014; const int nowmonth = 9; const int nowday = 6; const int oldyear = 2014 200; struct People { char name 阅读全文
posted @ 2019-08-04 16:33 哨音 阅读(301) 评论(0) 推荐(0) 编辑
摘要:AC代码 阅读全文
posted @ 2019-08-03 21:59 哨音 阅读(114) 评论(0) 推荐(0) 编辑
摘要:AC代码 阅读全文
posted @ 2019-08-03 21:58 哨音 阅读(144) 评论(0) 推荐(0) 编辑
摘要:AC代码 include include include using namespace std; struct Sign { char SignInNumber[20]; int h, m, s; }earlist, least, temp; / struct Time { int h, m, s 阅读全文
posted @ 2019-08-03 21:55 哨音 阅读(144) 评论(0) 推荐(0) 编辑
摘要:AC代码 阅读全文
posted @ 2019-08-02 21:06 哨音 阅读(111) 评论(0) 推荐(0) 编辑
摘要:思路: 读取数组 计算边长 输出 AC代码 include include int const max_n = 85; using namespace std; int main() { ifdef ONLINE_JUDGE else freopen("1.txt", "r", stdin); en 阅读全文
posted @ 2019-08-02 18:08 哨音 阅读(119) 评论(0) 推荐(0) 编辑
摘要:思路: 1. 使用数组保存每一行沙漏的最大符号数 2. 输入一个正整数和一个符号 3. 遍历数组,找到大于正整数的数组下标 j。 4. 三角形底边的字符数为 (j 1) 2 1 5. 打印沙漏 6. 打印剩余字符:x n[j 1] AC代码 include const int max_n = 200 阅读全文
posted @ 2019-08-02 15:58 哨音 阅读(148) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示