stl
逃课去学习:)
读万卷书,行万里路。
展开
-
PAT(stl)——1039. Course List for Student (25)
Zhejiang University has 40000 students and provides 2500 courses. Now given the student name lists of all the courses, you are supposed to output the registered course list for each student who comes ...原创 2019-02-01 16:58:05 · 120 阅读 · 0 评论 -
PAT(stl)——1047. Student List for Course (25)-PAT甲级真题
Zhejiang University has 40000 students and provides 2500 courses. Now given the registered course list of each student, you are supposed to output the student name lists of all the courses.Input Spec...原创 2019-02-01 17:46:18 · 149 阅读 · 0 评论 -
PAT(stl)——1054. The Dominant Color (20)
Behind the scenes in the computer’s memory, color is always talked about as a series of 24 bits of information for each pixel. In an image, the color with the largest proportional area is called the d...原创 2019-02-01 20:34:31 · 118 阅读 · 0 评论 -
PAT(stl)——1063. Set Similarity (25)
Given two sets of integers, the similarity of the sets is defined to be Nc/Nt*100%, where Nc is the number of distinct common numbers shared by the two sets, and Nt is the total number of distinct num...原创 2019-02-01 21:39:57 · 118 阅读 · 0 评论 -
PAT(stl)——1071. Speech Patterns (25)
People often have a preference among synonyms of the same word. For example, some may prefer “the police”, while others may prefer “the cops”. Analyzing such patterns can help to narrow down a speaker...原创 2019-02-01 22:11:27 · 102 阅读 · 0 评论 -
PAT(stl)——1100 Mars Numbers (20 分)
People on Mars count their numbers with base 13:Zero on Earth is called “tret” on Mars.The numbers 1 to 12 on Earch is called “jan, feb, mar, apr, may, jun, jly, aug, sep, oct, nov, dec” on Mars, re...原创 2019-02-02 11:56:16 · 126 阅读 · 0 评论