原创 Qt開發之QSound應用記錄

Qt開發之QSound應用記錄 頭文件 平臺:VS2019+Qt5.12.6 使用QSound類,需要添加multimedia 擴展->Qt VS Tools->Qt Project Settting->General下的

原创 PAT_A1001 A+B Format (20 分)

題目 Calculate a+b and output the sum in standard format – that is, the digits must be separated into groups of thr

原创 PAT_A1006 Sign In and Sign Out (25 分)

題目 At the beginning of every day, the first person who signs in the computer room will unlock the door, and the l

原创 PAT_A1002 A+B for Polynomials (25 分)

題目 This time, you are supposed to find A+B where A and B are two polynomials. Input Specification: Each input fil

原创 編譯原理例題

編譯原理例題 寫出算術表達式:A+B∗(C−D)+E/(C−D)↑NA+B*(C-D)+E/(C-D)↑NA+B∗(C−D)+E/(C−D)↑N(↑指乘方) (1)四元式 (2)三元式 (3)間接三元式 (4)逆波蘭記號 解

原创 PAT_A1042 Shuffling Machine (20 分)

題目 Shuffling is a procedure used to randomize a deck of playing cards. Because standard shuffling techniques are

原创 PAT_A1041 Be Unique (20 分)

題目: Being unique is so important to people on Mars that even their lottery is designed in a unique way. The rule

原创 PAT_A1065 A+B and C (64bit) (20 分)

題目 Given three integers A, B and C in [−263,263][−2^{63},2^{63}][−263,263], you are supposed to tell whether A+B&

原创 PAT_A1046 1046 Shortest Distance (20 分)

題目 The task is really simple: given N exits on a highway which forms a simple cycle, you are supposed to tell the