首页
Python
Java
前端
数据库
Linux
Chatgpt专题
开发者工具箱
2245专题
poj 2245 lotto
题目链接:http://poj.org/problem?id=2245 本题属暴力搜索(递归)。 注意两个点:第一:每组测试数据后都要有空行,除非下次输入k=0。第二:输出结果时每一行的最后一个数的后面不能带有空格。 源代码: #include <cstdio>#include <cstring>#include <algorithm>const int p=50;int a[
阅读更多...