QA Official

GUID and UUID, CLSID, IID in COM

https://qaofficial.com/post/2019/04/13/70032-guid-and-uuid-clsid-iid-in-com.html 2019-04-13
(今日看到网络上关于"COM中GUID......"文章,写的好,故记录之.) 当初微软设计com规范的时候,有两种选择来保证用户的设计的co

Ladder L2-013. Red Alert (Number of Union Find /dfs Connection Maps)

https://qaofficial.com/post/2019/04/13/70005-ladder-l2-013.-red-alert-number-of-union-find-/dfs-connection-maps.html 2019-04-13
L2-013. Red Alert Time Limit 400 ms Memory Limit 65536 kB Code Length Limit 8000 B problem judging procedure Standard Author Chen Yue It is very important to maintain connectivity between cities in the war.This topic requires you to write an alarm program that will give a red alarm when the loss of a city causes the country to be divided into several disconnected areas.Note: If the country is not

Ladder Tournament-Red Alert --dfs or Union Find

https://qaofficial.com/post/2019/04/13/70007-ladder-tournament-red-alert-dfs-or-union-find.html 2019-04-13
7-9 红色警报(25 分)战争中保持各个城市间的连通性非常重要。本题要求你编写一个报警程序,当失去一个城市导致国家被分裂为多个无法连通的区域时,就

May all lovers in the world be long-lost brother and sister

https://qaofficial.com/post/2019/04/13/70010-may-all-lovers-in-the-world-be-long-lost-brother-and-sister.html 2019-04-13
hehe.Everyone knows that marriage is not allowed in Wufu,five costumes, that is, two people's closest common ancestors cannot marry if they are within five generations (i.e. themselves, parents, grandparents, great-grandparents and high-impedance parents).This topic asks you to help a pair of lovers to judge whether they can get married or not. input format: Enter the first line to give a positive integer

[PTA Exercise] 7-9 Red Alert (25 points) DFS Depth-First Traversa Method

https://qaofficial.com/post/2019/04/13/69977-pta-exercise-7-9-red-alert-25-points-dfs-depth-first-traversa-method.html 2019-04-13
7-9 Red Alert (25 points) * link to questions: https://pintia.cn/problems-sets/976477598334980096/problems/97647766661947912 # p-9 topic: It is very important to maintain connectivity between cities in the war.This topic requires you to write an alarm program that will give a red alarm when the loss of a city causes the country to be divided into several disconnected areas.Note: If the country is not completely connected and is divided into K regions, and the

poj3696 (the luckiestnumber-MulMod-primitive root-multiplicative modulo mulmod)

https://qaofficial.com/post/2019/04/13/70041-poj3696-the-luckiestnumber-mulmod-primitive-root-multiplicative-modulo-mulmod.html 2019-04-13
Description Input Output Sample Input 8 11 16 0 Sample Output Case 1: 1 Case 2: 2 Case 3: 0 Source 0. Review Euler's totient function: Phi (n) = n (1–1/P1) (1–1/P2) … (1–1/PM). euler theorem: if (a, p) = 1, then a Phi (p) ≡ 1 (modp).

60 classic inspirational stories

https://qaofficial.com/post/2019/04/11/69922-60-classic-inspirational-stories.html 2019-04-11
60 classic inspirational stories small story one, the way of choose and employ persons 去过庙的人都知道,一进庙门,首先是弥陀佛,笑脸迎客,而在他的北面,则是黑口黑脸的韦陀。但相传在很久以前,他们并不

PTA ladder race practice red alert (BFS for Connected component)

https://qaofficial.com/post/2019/04/11/69968-pta-ladder-race-practice-red-alert-bfs-for-connected-component.html 2019-04-11
PTA ladder race practice red alert (BFS for Connected component) topic connectionIt is very important to maintain connectivity between cities in the war.This topic requires you to write an alarm program that will give a red alarm when the loss of a city causes the country to be divided into several disconnected areas.Note: If the country is not completely connected and is divided into K regions, and the loss of

Union statement

https://qaofficial.com/post/2019/04/11/69965-union-statement.html 2019-04-11
UNION 指令的目的是将两个 SQL 语句的结果合并起来。从这个角度来看, UNION 跟 JOIN 有些许类似,因为这两个指令都可以由多个表格中提取资料。 UNION 的一个限制是两个SQ

Web Technology Means of Applying Firewall

https://qaofficial.com/post/2019/04/11/69907-web-technology-means-of-applying-firewall.html 2019-04-11
Web firewall, mainly to strengthen the protection of the unique intrusion methods of the Web, such as DDOS protection, SQL injection, XML injection, XSS, etc.Since it is the application layer rather than the network layer, it should be called Web IPS from a technical point of view, not web firewall.The reason why Web firewall is called here is that everyone understands it better and it is just a popular name in the industry.