[Offer收割]编程练习赛1 register

Ended

Participants:955

Verdict:Wrong Answer
Score:70 / 100
Submitted:2016-03-06 16:49:33

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
/* ***********************************************
Author        :axp
Created Time  :2016/3/6 16:00:31
TASK          :1.cpp
LANG          :C++
************************************************ */
#include <iostream>
#include <cstdio>
#include <cstring>
#include <algorithm>
#include <vector>
#include <queue>
#include <set>
#include <map>
#include <string>
#include <cmath>
#include <cstdlib>
#include <ctime>
using namespace std;
typedef long long ll;
const int N = 1005;
const int M = 5;
int T;
int n,m;
int need;
int ar[2][N];
int cal[M][M];
int num[2];
int boat[M*M];
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX