摘要: 配置文件读写系统方法和测试函数 #include"readConfig.h" #define CFGNAME "./test.txt" void mymenu() { printf(" \n"); printf("1 Test Write Config file\n"); printf("2 Tes 阅读全文
posted @ 2019-11-23 22:56 王清河 阅读(347) 评论(0) 推荐(0) 编辑
摘要: The ranklist of PAT is generated from the status list, which shows the scores of the submissions. This time you are supposed to generate the ranklist 阅读全文
posted @ 2019-11-23 10:46 王清河 阅读(213) 评论(0) 推荐(0) 编辑
摘要: 给定公司N名员工的工龄,要求按工龄增序输出每个工龄段有多少员工。 输入格式: 输入首先给出正整数N(≤10​^5),即员工总人数;随后给出N个整数,即每个员工的工龄,范围在[0, 50]。 输出格式: 按工龄的递增顺序输出每个工龄的员工个数,格式为:“工龄:人数”。每项占一行。如果人数为0则不输出该 阅读全文
posted @ 2019-11-23 09:18 王清河 阅读(172) 评论(0) 推荐(0) 编辑