07 2019 档案

摘要:AC代码 include using namespace std; int main(){ int n = 0, m = 0; char a; scanf("%d %c", &n, &a); m = n%2==1?(n/2+1):(n/2); //printf("%d", m); for(int i 阅读全文
posted @ 2019-07-30 22:11 哨音 阅读(90) 评论(0) 推荐(0) 编辑
摘要:AC代码 include include using namespace std; const int max_n = 11000; struct Stu { char name[20]; char gender; char id[20]; char grade; } boys_l, girls_h 阅读全文
posted @ 2019-07-30 21:48 哨音 阅读(203) 评论(0) 推荐(0) 编辑
摘要:AC代码 include include const int max_n = 3; using namespace std; / struct Bet { double W, T, L }bet[3]; void init() { for(int i = 0; i T)?(W L?W:L):(T L 阅读全文
posted @ 2019-07-29 23:33 哨音 阅读(155) 评论(0) 推荐(0) 编辑
摘要:题目AC汇总 甲级AC PAT A1001 A+B Format (20 分) PAT A1002 A+B for Polynomials(25) PAT A1005 Spell It Right (20) PAT A1006 Sign In and Sign Out (25) PAT A1009 阅读全文
posted @ 2019-07-29 17:26 哨音 阅读(284) 评论(0) 推荐(0) 编辑
摘要:AC代码 阅读全文
posted @ 2019-07-29 17:23 哨音 阅读(166) 评论(0) 推荐(0) 编辑
摘要:解题要点: 1. 使用结构体保存准考证号,考试座位号 2. 试机座位号作考生数组下标 3. 通过试机座位号获取考生号,座位号 4. 考生号使用long long存放 //课本AC代码 include const int maxn = 1010; struct Student { long long 阅读全文
posted @ 2019-07-26 18:04 哨音 阅读(223) 评论(0) 推荐(0) 编辑
摘要:课本AC代码 自己代码,调试还总是出错 阅读全文
posted @ 2019-07-24 20:48 哨音 阅读(174) 评论(0) 推荐(0) 编辑
摘要:AC代码 转载自https://www.cnblogs.com/zjutJY/p/9413766.html 自己写的, 一个都没有通过 阅读全文
posted @ 2019-07-24 20:41 哨音 阅读(229) 评论(0) 推荐(0) 编辑
摘要:题目提交一直出现段错误,经过在网上搜索得知是数组溢出,故将数组设置的大一点 AC代码 include include define N 11000 using namespace std; int main(){ ifdef ONLINE_JUDGE else freopen("1.txt", "r 阅读全文
posted @ 2019-07-19 15:36 哨音 阅读(244) 评论(0) 推荐(0) 编辑
摘要:AC代码 阅读全文
posted @ 2019-07-19 15:21 哨音 阅读(220) 评论(0) 推荐(0) 编辑
摘要:自己思路,没通过 include define N 54 int main() { ifdef ONLINE_JUDGE else freopen("1.txt", "r", stdin); endif int start[N + 1] = {0}, end[N + 1] = {0}, sequen 阅读全文
posted @ 2019-07-17 22:04 哨音 阅读(252) 评论(0) 推荐(0) 编辑
摘要:一个没有通过,不知道为何 全部AC 阅读全文
posted @ 2019-07-15 21:37 哨音 阅读(213) 评论(0) 推荐(0) 编辑
摘要:全部AC 阅读全文
posted @ 2019-07-15 10:56 哨音 阅读(267) 评论(0) 推荐(0) 编辑
摘要:课本AC 阅读全文
posted @ 2019-07-14 21:45 哨音 阅读(195) 评论(0) 推荐(0) 编辑
摘要:B1016.部分A+B(15) 阅读全文
posted @ 2019-07-14 15:49 哨音 阅读(189) 评论(0) 推荐(0) 编辑
摘要:数据库数据如下: 学生表(student):学生id,学生姓名和性别 sid | sname | gender | | 1 | Tom | male 2 | Jack | male 3 | Rose | female 课程表:课程id和课程名 cid | cname | 1 | math 2 | p 阅读全文
posted @ 2019-07-14 10:59 哨音 阅读(209) 评论(0) 推荐(0) 编辑

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