今天没有新动态
@kidultff

使用nslookup查询DNS的A记录、TXT记录、MX记录、Cname记录

在Windows或Linux平台的命令行中直接输入nslookup即可打开nslookup。接着输入一个域名,即可查询A记录:这里的server表示DNS服务器,Non-authoritative answer表示非权威应答,即DNS服务器的缓存。输入set type=mx,就会把查询状态调整到mx,接下 ...
  • 0
  • 2
@kidultff

PAT-A 真题 – 1113 Integer Set Partition

Given a set of N (>1) positive integers, you are supposed to partition them into two disjoint sets A1 and A2 of n1 and n2 numbers, respectively. Let S1 and S2&nb ...
  • 0
  • 0
@kidultff

PAT-A 真题 – 1112 Stucked Keyboard

On a broken keyboard, some of the keys are always stucked. So when you type some sentences, the characters corresponding to those keys will appear repeatedly on screen for k times.Now given a resulting string on screen, ...
  • 0
  • 0
@kidultff

PAT-A 真题 – 1109 Group Photo

Formation is very important when taking a group photo. Given the rules of forming K rows with N people as the following:The number of people in each row must be N/K (round down to the nearest integer ...
  • 0
  • 0