CTU Open Contest 2016 Colorful Tribune(附测试数据)

mapmp;
int n;
string s[30];
int x,y;
char a;
setst[30],st2[30];
void solve()
{
    for(int i=0;i>n)
    {
        mp.clear();
        for(int i=0;i>s[i];
        solve();
        cout<

3
AJB
BAX
XBA
4
ITQB
TQDI
QDIT
DITQ
5
ABSGE
GABES
SEGBA
BSRAG
EGASB
6
YVTZMR
ZTMVRY
VMRTYZ
MYZRVT
LZVYTM
TRYMZV
7
ETPJLRO
OJTERPL
TRLPEZJ
LEJOPTR
ROELTJP
JPRTOLE
PLORJET
8
FPGSWZAL
WAPZLFSG
PFZLAGWS
AWFGSPLZ
LSAFGWZP
ZGLAFSPW
GZSWTLFA
SLWPZAGF
9
NFWBICVHQ
CQHWNIFBV
HNQFWBIVC
QWNIUVBCH
FBICVQHNW
WIFVBHCQN
BCVQHWNFI
IVBHCNQWF
VHCNQFWIB
10
PZTWBKVXYF
VYXFPZTKWB
ZPWTHBYFVX
KBYVXFZWPT
XFZPTWKYBV
BKVYFXPTZW
YVFXZPWBTK
WTBKYVFPXZ
TWKBVYXZFP
FXPZWTBVKY


1 2 X
1 4 D
4 3 E
5 1 R
3 6 O
7 5 P
4 5 F
3 5 K


你可能感兴趣的:(==数据结构==,STL,基础)