hiho week 87 register

Ended

Participants:392

Verdict:Accepted
Score:100 / 100
Submitted:2016-03-04 10:31:44

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 <cstdio>
#include <cstdlib>
#include <cstring>
#include <cstring>
#include <string>
#include <algorithm>
using namespace std;
const int maxn = 210;
const int Sys = 137;
const int rod = 961211;
const char opr[10][4] = {"", "+", "-", "*", "/", "if", "let", "<", ">", "="};
const int Count[10] = {0, 2, 2, 2, 2, 3, 2, 2, 2, 2};
int n, top, topvar;
char s[maxn];
struct Data {
    int num, flag;
    Data(int _num = 0, int _flag = 0) {
        num = _num;
        flag = _flag;
    }
};
struct Stack {
    int k, d;
    Data v[4];
} stk[maxn], stkvar[maxn];
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX