倾盆大雨

```1
3```

```1 2 3
4 5 6
1 2 5
3 4 6```

## 代码

``````#include <stdio.h>
int main() {
int list[5][6];
int k=0;

for (int a=2; a!=4; ++a) {
for (int b=a+1; b!=6; ++b) {
for (int c=2; c!=5; ++c) {
if (c==a || c==b) {
continue;
}
for (int d=c+1; d!=6; ++d) {
if (d==a || d==b) {
continue;
}
int (&ref)[6] = list[k++];

ref[0] = 1;
ref[1] = a;
ref[2] = b;
ref[3] = c;
ref[4] = d;
ref[5] = 6;
}
}
}
}
while (scanf("%d",&k)!=EOF) {
if (0<k && k<6) {//[1,6]
--k;
printf("%d %d %d\n%d %d %d\n",list[k][0],list[k][1],list[k][2],list[k][3],list[k][4],list[k][5]);
}
}
return 0;
}``````

### 倾盆大雨

Codeforces B. Too Easy Problems

07/20
0
0
Codeforces Hello 2018 D. Too Easy Problems 二分+贪心

D. Too Easy Problems 2 seconds 256 megabytes standard input standard output You are preparing for an exam on scheduling theory. The exam will last for exactly T milliseconds and......

ProLightsfxjh
2018/01/13
0
0
A problem is easy

A problem is easy http://acm.nyist.net/JudgeOnline/problem.php?pid=216 时间限制：1000 ms | 内存限制：65535 KB 难度：3 输入 The first line contain a T(T <= 2000) . followed by T ......

2017/02/09
1
0
Talk In Web Security（安全世界观）: Devleping a Secure We

Writer：BYSocket（泥沙砖瓦浆木匠） 微博：BYSocket 豆瓣：BYSocket Reprint it anywhere u want. Why to write about Web Security? A java file can hack your server.One JSP can downlo......

2015/01/04
334
7
【POJ - 2676】Sudoku（数独 dfs+回溯）

-->Sudoku 直接中文 Descriptions: Sudoku对数独非常感兴趣，今天他在书上看到了几道数独题: 给定一个由33的方块分割而成的99的表格(如图)，其中一些表格填有1-9的数字，其余的则为空白（数字...

Sky丨Star
07/16
0
0

CREATE_17

5
0
CSS盒子模型

CSS盒子模型 组成： content --> padding --> border --> margin 像现实生活中的快递： 物品 --> 填充物 --> 包装盒 --> 盒子与盒子之间的间距 content ：width、height组成的 内容区域 padd......

studywin

7
0

locbytes

8
0
jquery 添加和删除节点

8
0

ZeroBit

10
0