hiho week 73 register

Ended

Participants:171

Verdict:Accepted
Score:100 / 100
Submitted:2015-11-27 10:29:47

Lang:G++

Edit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#include <iostream>
#include <string>
#include <cstring>
#include <cstdio>
#include <vector>
#include <algorithm>
using namespace std;
int N;
string input;
bool zero[26]; // 00
char pos[26]; // puzzle
int val[26]; // 
bool used[10]; // 使
vector<string> numbers; // string
int leftnum; // 
int max_digits; // 
int charnum; // 使
int sign[100]; // 
bool useful[26]; // 
vector<string> solutions; // 
// 
void init(string s){
    for (int i = 0; i<26; i++){
        zero[i] = true;
        pos[i] = '\0';
        val[i] = -1;
        useful[i] = false; // 
    }
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX