随笔分类 -  PAT 机试死磕篇

为了PAT 100分,其他别无所求!
摘要:1.Description: 2.Example: Input: 3 1 2 3 2 3 4 9223372036854775807 -9223372036854775808 0 Output: Case #1: false Case #2: true Case #3: false 3.soluti 阅读全文
posted @ 2020-03-01 20:01 SheepCore 阅读(261) 评论(0) 推荐(0)
摘要:1.Description: Now you are asked to solve a more general problem: find the first K-digit prime in consecutive digits of any given L-digit number. 2.Ex 阅读全文
posted @ 2020-03-01 19:51 SheepCore 阅读(235) 评论(0) 推荐(0)
摘要:1.Description: 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 阅读全文
posted @ 2020-03-01 19:41 SheepCore 阅读(230) 评论(0) 推荐(0)
摘要:1.Description: 2.Example: Input: 12345 Output: one five 3.solutions: C Version: 1 #include <stdio.h> 2 #include <string.h> 3 #include <stdlib.h> 4 5 i 阅读全文
posted @ 2020-02-28 08:02 SheepCore 阅读(244) 评论(0) 推荐(0)
摘要:1.Description: 2.Example: Input:2 1 2.4 0 3.2 2 2 1.5 1 0.5output:3 2 1.5 1 2.9 0 3.2 3.Solutions: C++ Version: 1 #include<iostream> 2 #include<map> 3 阅读全文
posted @ 2020-02-26 21:45 SheepCore 阅读(226) 评论(0) 推荐(0)
摘要:1.Description: 2.Example: Input: -100000 9 Output: -999,991 3.Solutions: C Version: // // Created by SheepCore on 2020-02-23. // #include <stdio.h> #i 阅读全文
posted @ 2020-02-25 00:11 SheepCore 阅读(270) 评论(0) 推荐(0)