- 博客(8)
- 收藏
- 关注
原创 PAT甲级 1054 The Dominant Color (20 分)
PAT甲级 1054 The Dominant Color(20分)题目Input Specification:Output Specification:Sample Input:Sample Output:题解题目大意非正规思路挫挫的代码絮絮叨叨参考博客题目Behind the scenes in the computer’s memory, color is always talked about as a series of 24 bits of information for each pixe
2021-08-01 14:35:27 184
原创 CCF计算机软件能力认证 201312-1 出现次数最多的数
CCF计算机软件能力认证 201312-1 出现次数最多的数题目输入格式:输出格式:样例输入:样例输出:题解非正规思路挫挫的代码絮絮叨叨参考博客题目给定n个正整数,找出它们中出现次数最多的数。如果这样的数有多个,请输出其中最小的一个。输入格式:输入的第一行只有一个正整数n(1 ≤ n ≤ 1000),表示数字的个数。输入的第二行有n个整数s1, s2, …, sn (1 ≤ si ≤ 10000, 1 ≤ i ≤ n)。相邻的数用空格分隔。输出格式:输出这n个次数中出现次数最多的数。如果这样的
2021-07-29 20:09:24 264
原创 PAT甲级 1011 World Cup Betting (20 分)
@[TOC](PAT甲级 1011 World Cup Betting (20 分))题目With the 2010 FIFA World Cup running, football fans the world over were becoming increasingly excited as the best players from the best teams doing battles for the World Cup trophy in South Africa. Similarly,
2021-07-14 18:25:31 130
原创 PAT甲级刷题【更新中】
PAT甲级刷题【更新中】1.简单模拟1006 Sign In and Sign Out(25分)1008 Elevator(20分)1036 Boys vs Girls(25分)
2021-07-14 13:10:08 108
原创 PAT甲级 1036 Boys vs Girls(25分)
PAT甲级 1036 Boys vs Girls(25分)题目Input Specification:Output Specification:Sample Input1:Sample Output1:Sample Input2:Sample Output2:题解题目大意非正规思路挫挫的代码絮絮叨叨参考博客题目This time you are asked to tell the difference between the lowest grade of all the male students a
2021-07-14 13:03:47 336
原创 PAT甲级 1006 Sign In and Sign Out(25分)
PAT甲级 1006 Sign In and Sign Out(25分)题目Input Specification:Output Specification:Sample Input:Sample Output:题解题目大意非正规思路挫挫的代码絮絮叨叨参考博客题目At the beginning of every day, the first person who signs in the computer room will unlock the door, and the last one who
2021-07-14 12:29:49 96
原创 PAT甲级 1008 Elevator(20分)
PAT甲级 1008 Elevator(20分)题目Input Specification:Output Specification:Sample Input:Sample Output:题解题目大意非正规思路挫挫的代码絮絮叨叨参考博客题目The highest building in our city has only one elevator. A request list is made up with N positive numbers. The numbers denote at which
2021-07-03 10:17:23 292
原创 C#背单词小程序
这一讲是关于文件及流的操作。我们来做一个综合但不太复杂的程序"背单词"。要求如下:(4分)能将英语四级单词文本文件的内容读出来及放到内存的数组或列表中(使用StreamReader的循环读ReadLine()或直接ReadToEnd(), 然后用string的Split(’\n’)分割成多行;然后对每一行Trim().Split(’\t’)得到的string[]的第0个即为英语单词,第1个即为...
2020-04-10 12:40:05 2862 8
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人