2018年9月的全部文章
@kidultff

解决Windows远程桌面断开后模拟按键失效

在服务器或虚拟机新建一个bat:@%windir%\System32\tscon.exe 0 /dest:console @%windir%\System32\tscon.exe 1 /dest:console @%windir%\System32\tscon.exe 2 /dest:console断开远程的时候不要直接断开,运行上 ...
  • 3
  • 0
@kidultff

PAT-A 真题 – 1147 Heaps

In computer science, a heap is a specialized tree-based data structure that satisfies the heap property: if P is a parent node of C, then the key (the value) of P is either greater than or equal to (in a max heap) or le ...
  • 0
  • 0
@kidultff

PAT-A 真题 – 1146 Topological Order

This is a problem given in the Graduate Entrance Exam in 2018: Which of the following is NOT a topological order obtained from the given directed graph? Now you are supposed to write a program to test each of the options.Input Sp ...
  • 0
  • 1
@kidultff

PAT-A 真题 – 1145 Hashing - Average Search Time

The task of this problem is simple: insert a sequence of distinct positive integers into a hash table first. Then try to find another sequence of integer keys from the table and output the average search time (the number of compa ...
  • 0
  • 0
@kidultff

PAT-A 真题 – 1144 The Missing Number

Given N integers, you are supposed to find the smallest positive integer that is NOT in the given list.Input Specification:Each input file contains one test case. For each case, the first line gives a positive integer N (≤105). T ...
  • 0
  • 0