hiho week 137 register

Ended

Participants:293

Verdict:Accepted
Score:100 / 100
Submitted:2017-02-11 20:05:05

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 <algorithm>
#include <cstring>
#include <string>
#include <cstdio>
#include <cmath>
#include <queue>
#include <stack>
#include <map>
#include <set>
#include<math.h>
#include<iostream>
#include<cstdio>
#include<string>
#include<vector>
#include<queue>
#include<map>
#include <climits>
using namespace std;
#define TEST_FILE_PATH "/Users/DQMac/Desktop/hiho/hiho/1.txt"
typedef long long LL;
int Q,N,M,K,T;
int A[101];
int B[101];
int Bpie[101];
LL f[10001];
void generateTestData() {
    freopen(TEST_FILE_PATH, "w", stdout);
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX