首页
Python
Java
前端
数据库
Linux
Chatgpt专题
开发者工具箱
2189nbsp专题
HDOJnbsp;nbsp;2189nbsp;nbsp;nbsp;悼念512汶川大地震遇…
题目:http://acm.hdu.edu.cn/showproblem.php?pid=2189 题目的大意为:有一些人要进行分组,但每一组的人数必须是素数#include <stdio.h> #include <string.h> int p[155],a[50],len; int c1[450],c2[450]; void pirm() //先将能用的到的素数都求出来 {
阅读更多...