ZOJ 3314 CAPTCHA 模拟

这篇博客主要介绍了如何解决ZOJ 3314题目的CAPTCHA模拟问题,内容涉及复杂的算法和逻辑处理,对提高编程技巧具有一定的挑战性。
摘要由CSDN通过智能技术生成

没什么好说的,很麻烦的模拟而已

//#pragma comment(linker, "/STACK:102400000,102400000")
#include<cstdio>
#include<cstring>
#include<vector>
#include<queue>
#include<cmath>
#include<cctype>
#include<string>
#include<algorithm>
#include<iostream>
#include<ctime>
#include<map>
#include<set>
using namespace std;
#define MP(x,y) make_pair((x),(y))
#define PB(x) push_back(x)
//typedef __int64 LL;
//typedef unsigned __int64 ULL;
/* ****************** */
const int INF=100011122;
const double INFF=1e100;
const double eps=1e-8;
const int mod=1000000007;
const int NN=210;
const int MM=5000010;
/* ****************** */

char zi[26][7][17]={
//a
{
{"111111MMM1111111"},
{"11111MM1MM111111"},
{"1111MM111MM11111"},
{"111MMMMMMMMM1111"},
{"11MM1111111MM111"},
{"1MMM11111111MM11"},
{"1MM1111111111MM1"}
},
//b
{
{"1MMMMMMMMMMM1111"},
{"1MM11111111MM111"},
{"1MM11111111MM111"},
{"1MMMMMMMMMMM1111"},
{"1MM11111111MM111"},
{"1MM11111111MM111"},
{"1MMMMMMMMMMM1111"}
},
//c
{
{"11111MMMMMMMM111"},
{"111MM1111111MM11"},
{"11MM111111111MM1"},
{"11MM111111111111"},
{"11MM111111111MM1"},
{"111MM1111111MM11"},
{"11111MMMMMMMM111"}
},
//d
{
{"1MMMMMMMMMMM1111"},
{"1MM111111111MM11"},
{"1MM1111111111MM1"},
{"1MM1111111111MM1"},
{"1MM1111111111MM1"},
{"1MM111111111MM11"},
{"1MMMMMMMMMMM1111"}
},
//e
{
{"1MMMMMMMMMMMM111"},
{"1MM1111111111111"},
{"1MM1111111111111"},
{
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值