原文:PAT 2019-3 7-1 Sexy Primes

Description: Sexy primes are pairs of primes of the form p,p , so named since sex is the Latin word for six . Quoted fromhttp: mathworld.wolfram.com SexyPrimes.html Now given an integer, you are suppo ...

2019-09-01 19:57 0 635 推薦指數:

查看詳情

PAT 2019-3 7-3 Telefraud Detection

Description: Telefraud(電信詐騙) remains a common and persistent problem in our society. In some cas ...

Mon Sep 02 03:49:00 CST 2019 0 357
PAT甲級】1015 Reversible Primes (20 分)

題意: 每次輸入兩個正整數N,D直到N是負數停止輸入(N<1e5,1<D<=10),如果N是一個素數並且將N轉化為D進制后逆轉再轉化為十進制后依然是個素數的話輸出Yes,否則輸出N ...

Sun Jul 28 01:10:00 CST 2019 0 378
2019年春PAT甲級考試

  這次考試不是很理想,一道題目沒能做完。   自己原因差不多三條:     1.自己實力不夠,准備時間也有點倉促,自己沒能做到每道題目都有清晰的思路。     2.考試的心理素質不行,因為設備 ...

Mon Mar 04 04:02:00 CST 2019 0 920
PAT(甲級)2019年春季考試

7-1 Sexy Primes 判斷素數 一個點沒過17/20分 錯因:輸出i-6寫成了輸出i,當時寫的很亂,可以參考其他人的寫法 修改后的代碼: 7-2 Anniversary 集合、查找排序 25分 7-3 Telefraud Detection 圖論 15/25 ...

Wed Sep 25 02:10:00 CST 2019 0 476
2019冬季PAT甲級心得&建議

!雖然你抵完上機之后差距縮小了,但是軟院沒有筆試啊!!啊!!!沒有英面啊!!啊!! 太香了啊 牛客網上刷20題可以有pat-50代金券,直達鏈接:https://www.nowcoder.com/pat 題目集我不是很能和pta對上,嫌麻煩也可以閑魚花10塊買一張券 更於2020.5.17 ...

Mon Dec 16 08:25:00 CST 2019 0 428
PAT(甲級)2019年秋季考試

7-1 Forever (20 分) 時間限制:3000 ms 內存限制:64 MB "Forever number" is a positive integer A with K digits, satisfying the following constrains: the sum ...

Wed Apr 07 06:23:00 CST 2021 4 211
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM