摘要: #include <stdio.h> #include <stdlib.h> #include <gmp.h> int main() { mpz_t product, num; int i; // 初始化大数库 mpz_init(product); mpz_init(num); mpz_set_ui 阅读全文
posted @ 2023-05-10 09:05 棉被王Excalibur 阅读(2) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include <stdlib.h> #include <gmp.h> #define MAX_PRIME 10000 int main() { mpz_t prime, n; int i; // 初始化大数库 mpz_init(prime); mpz_ini 阅读全文
posted @ 2023-05-10 09:02 棉被王Excalibur 阅读(2) 评论(0) 推荐(0) 编辑
摘要: ''' #include <stdio.h> #include <stdlib.h> #include <string.h> #include <openssl/bn.h> int main() { BIGNUM *product, *num; char *str; int i; // 初始化大数库 阅读全文
posted @ 2023-05-10 08:26 棉被王Excalibur 阅读(5) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include <stdlib.h> #include <string.h> #include <openssl/bn.h> #define MAX_PRIME 1000 int main() { BIGNUM *product, *prime; char * 阅读全文
posted @ 2023-05-10 08:17 棉被王Excalibur 阅读(9) 评论(0) 推荐(0) 编辑