hiho week 195 register

Ended

Participants:264

Verdict:Accepted
Score:100 / 100
Submitted:2018-03-31 18:36:42

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 <cstdio>  
    #include <iostream>  
    #include <cstring>  
    #include <cmath>  
    #include <algorithm>  
    #include <string.h>  
    #include <string>  
    #include <vector>  
    #include <queue>  
      
    #define MEM(a,x) memset(a,x,sizeof a)  
    #define eps 1e-8  
    #define MOD 10009  
    #define MAXN 100010  
    #define MAXM 100010  
    #define INF 99999999  
    #define ll __int64  
    #define bug cout<<"here"<<endl  
    #define fread freopen("ceshi.txt","r",stdin)  
    #define fwrite freopen("out.txt","w",stdout)  
      
    using namespace std;  
      
    int dp[MAXN];  
    int n,m;  
    int card[20][20];  
    struct node  
    {  
        int wei,cost,num;  
    }no[110];  
      
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX