Hex Artifact Content
Not logged in

Artifact 502bd2f362b9242bbea689d307f697c9f0ff9183:


0000: 23 69 6e 63 6c 75 64 65 20 3c 69 6f 73 74 72 65  #include <iostre
0010: 61 6d 3e 0d 0a 23 69 6e 63 6c 75 64 65 20 3c 73  am>..#include <s
0020: 73 74 72 65 61 6d 3e 0d 0a 23 69 6e 63 6c 75 64  stream>..#includ
0030: 65 20 3c 69 6f 6d 61 6e 69 70 3e 0d 0a 23 69 6e  e <iomanip>..#in
0040: 63 6c 75 64 65 20 3c 76 65 63 74 6f 72 3e 0d 0a  clude <vector>..
0050: 23 69 6e 63 6c 75 64 65 20 3c 73 74 72 69 6e 67  #include <string
0060: 3e 0d 0a 23 69 6e 63 6c 75 64 65 20 3c 6d 61 70  >..#include <map
0070: 3e 0d 0a 23 69 6e 63 6c 75 64 65 20 3c 73 65 74  >..#include <set
0080: 3e 0d 0a 23 69 6e 63 6c 75 64 65 20 3c 61 6c 67  >..#include <alg
0090: 6f 72 69 74 68 6d 3e 0d 0a 23 69 6e 63 6c 75 64  orithm>..#includ
00a0: 65 20 3c 6e 75 6d 65 72 69 63 3e 0d 0a 23 69 6e  e <numeric>..#in
00b0: 63 6c 75 64 65 20 3c 69 74 65 72 61 74 6f 72 3e  clude <iterator>
00c0: 0d 0a 23 69 6e 63 6c 75 64 65 20 3c 66 75 6e 63  ..#include <func
00d0: 74 69 6f 6e 61 6c 3e 0d 0a 23 69 6e 63 6c 75 64  tional>..#includ
00e0: 65 20 3c 63 6f 6d 70 6c 65 78 3e 0d 0a 23 69 6e  e <complex>..#in
00f0: 63 6c 75 64 65 20 3c 71 75 65 75 65 3e 0d 0a 23  clude <queue>..#
0100: 69 6e 63 6c 75 64 65 20 3c 73 74 61 63 6b 3e 0d  include <stack>.
0110: 0a 23 69 6e 63 6c 75 64 65 20 3c 63 6d 61 74 68  .#include <cmath
0120: 3e 0d 0a 23 69 6e 63 6c 75 64 65 20 3c 63 61 73  >..#include <cas
0130: 73 65 72 74 3e 0d 0a 23 69 6e 63 6c 75 64 65 20  sert>..#include 
0140: 3c 74 75 70 6c 65 3e 0d 0a 75 73 69 6e 67 20 6e  <tuple>..using n
0150: 61 6d 65 73 70 61 63 65 20 73 74 64 3b 0d 0a 74  amespace std;..t
0160: 79 70 65 64 65 66 20 6c 6f 6e 67 20 6c 6f 6e 67  ypedef long long
0170: 20 4c 4c 3b 0d 0a 74 79 70 65 64 65 66 20 63 6f   LL;..typedef co
0180: 6d 70 6c 65 78 3c 64 6f 75 62 6c 65 3e 20 43 4d  mplex<double> CM
0190: 50 3b 0d 0a 0d 0a 73 74 61 74 69 63 20 63 6f 6e  P;....static con
01a0: 73 74 20 75 6e 73 69 67 6e 65 64 20 4d 4f 44 56  st unsigned MODV
01b0: 41 4c 20 3d 20 31 30 30 30 30 30 30 30 30 37 3b  AL = 1000000007;
01c0: 0d 0a 73 74 72 75 63 74 20 6d 69 6e 74 0d 0a 7b  ..struct mint..{
01d0: 0d 0a 09 75 6e 73 69 67 6e 65 64 20 76 61 6c 3b  ...unsigned val;
01e0: 0d 0a 09 6d 69 6e 74 28 29 20 3a 76 61 6c 28 30  ...mint() :val(0
01f0: 29 20 7b 7d 0d 0a 09 6d 69 6e 74 28 69 6e 74 20  ) {}...mint(int 
0200: 20 20 20 20 20 78 29 20 3a 76 61 6c 28 78 25 4d       x) :val(x%M
0210: 4f 44 56 41 4c 29 20 7b 7d 0d 0a 09 6d 69 6e 74  ODVAL) {}...mint
0220: 28 75 6e 73 69 67 6e 65 64 20 78 29 20 3a 76 61  (unsigned x) :va
0230: 6c 28 78 25 4d 4f 44 56 41 4c 29 20 7b 7d 0d 0a  l(x%MODVAL) {}..
0240: 09 6d 69 6e 74 28 4c 4c 20 20 20 20 20 20 20 78  .mint(LL       x
0250: 29 20 3a 76 61 6c 28 78 25 4d 4f 44 56 41 4c 29  ) :val(x%MODVAL)
0260: 20 7b 7d 0d 0a 7d 3b 0d 0a 6d 69 6e 74 26 20 6f   {}..};..mint& o
0270: 70 65 72 61 74 6f 72 2b 3d 28 6d 69 6e 74 26 20  perator+=(mint& 
0280: 78 2c 20 6d 69 6e 74 20 79 29 20 7b 20 72 65 74  x, mint y) { ret
0290: 75 72 6e 20 78 20 3d 20 78 2e 76 61 6c 20 2b 20  urn x = x.val + 
02a0: 79 2e 76 61 6c 3b 20 7d 0d 0a 6d 69 6e 74 26 20  y.val; }..mint& 
02b0: 6f 70 65 72 61 74 6f 72 2d 3d 28 6d 69 6e 74 26  operator-=(mint&
02c0: 20 78 2c 20 6d 69 6e 74 20 79 29 20 7b 20 72 65   x, mint y) { re
02d0: 74 75 72 6e 20 78 20 3d 20 78 2e 76 61 6c 20 2d  turn x = x.val -
02e0: 20 79 2e 76 61 6c 20 2b 20 4d 4f 44 56 41 4c 3b   y.val + MODVAL;
02f0: 20 7d 0d 0a 6d 69 6e 74 26 20 6f 70 65 72 61 74   }..mint& operat
0300: 6f 72 2a 3d 28 6d 69 6e 74 26 20 78 2c 20 6d 69  or*=(mint& x, mi
0310: 6e 74 20 79 29 20 7b 20 72 65 74 75 72 6e 20 78  nt y) { return x
0320: 20 3d 20 4c 4c 28 78 2e 76 61 6c 29 2a 79 2e 76   = LL(x.val)*y.v
0330: 61 6c 3b 20 7d 0d 0a 6d 69 6e 74 20 6f 70 65 72  al; }..mint oper
0340: 61 74 6f 72 2b 28 6d 69 6e 74 20 78 2c 20 6d 69  ator+(mint x, mi
0350: 6e 74 20 79 29 20 7b 20 72 65 74 75 72 6e 20 78  nt y) { return x
0360: 20 2b 3d 20 79 3b 20 7d 0d 0a 6d 69 6e 74 20 6f   += y; }..mint o
0370: 70 65 72 61 74 6f 72 2d 28 6d 69 6e 74 20 78 2c  perator-(mint x,
0380: 20 6d 69 6e 74 20 79 29 20 7b 20 72 65 74 75 72   mint y) { retur
0390: 6e 20 78 20 2d 3d 20 79 3b 20 7d 0d 0a 6d 69 6e  n x -= y; }..min
03a0: 74 20 6f 70 65 72 61 74 6f 72 2a 28 6d 69 6e 74  t operator*(mint
03b0: 20 78 2c 20 6d 69 6e 74 20 79 29 20 7b 20 72 65   x, mint y) { re
03c0: 74 75 72 6e 20 78 20 2a 3d 20 79 3b 20 7d 0d 0a  turn x *= y; }..
03d0: 0d 0a 6d 69 6e 74 20 50 4f 57 28 6d 69 6e 74 20  ..mint POW(mint 
03e0: 78 2c 20 4c 4c 20 65 29 20 7b 20 6d 69 6e 74 20  x, LL e) { mint 
03f0: 76 20 3d 20 31 3b 20 66 6f 72 20 28 3b 20 65 3b  v = 1; for (; e;
0400: 20 78 20 2a 3d 20 78 2c 20 65 20 3e 3e 3d 20 31   x *= x, e >>= 1
0410: 29 20 69 66 20 28 65 20 26 20 31 29 20 76 20 2a  ) if (e & 1) v *
0420: 3d 20 78 3b 20 72 65 74 75 72 6e 20 76 3b 20 7d  = x; return v; }
0430: 0d 0a 6d 69 6e 74 26 20 6f 70 65 72 61 74 6f 72  ..mint& operator
0440: 2f 3d 28 6d 69 6e 74 26 20 78 2c 20 6d 69 6e 74  /=(mint& x, mint
0450: 20 79 29 20 7b 20 72 65 74 75 72 6e 20 78 20 2a   y) { return x *
0460: 3d 20 50 4f 57 28 79 2c 20 4d 4f 44 56 41 4c 20  = POW(y, MODVAL 
0470: 2d 20 32 29 3b 20 7d 0d 0a 6d 69 6e 74 20 6f 70  - 2); }..mint op
0480: 65 72 61 74 6f 72 2f 28 6d 69 6e 74 20 78 2c 20  erator/(mint x, 
0490: 6d 69 6e 74 20 79 29 20 7b 20 72 65 74 75 72 6e  mint y) { return
04a0: 20 78 20 2f 3d 20 79 3b 20 7d 0d 0a 0d 0a 76 65   x /= y; }....ve
04b0: 63 74 6f 72 3c 6d 69 6e 74 3e 20 46 41 43 5f 28  ctor<mint> FAC_(
04c0: 31 2c 20 31 29 3b 0d 0a 6d 69 6e 74 20 46 41 43  1, 1);..mint FAC
04d0: 28 4c 4c 20 6e 29 20 7b 20 77 68 69 6c 65 20 28  (LL n) { while (
04e0: 46 41 43 5f 2e 73 69 7a 65 28 29 20 3c 3d 20 6e  FAC_.size() <= n
04f0: 29 20 46 41 43 5f 2e 70 75 73 68 5f 62 61 63 6b  ) FAC_.push_back
0500: 28 46 41 43 5f 2e 62 61 63 6b 28 29 2a 4c 4c 28  (FAC_.back()*LL(
0510: 46 41 43 5f 2e 73 69 7a 65 28 29 29 29 3b 20 72  FAC_.size())); r
0520: 65 74 75 72 6e 20 46 41 43 5f 5b 6e 5d 3b 20 7d  eturn FAC_[n]; }
0530: 0d 0a 0d 0a 76 65 63 74 6f 72 3c 20 76 65 63 74  ....vector< vect
0540: 6f 72 3c 6d 69 6e 74 3e 20 3e 20 43 50 5f 3b 0d  or<mint> > CP_;.
0550: 0a 6d 69 6e 74 20 43 28 69 6e 74 20 6e 2c 20 69  .mint C(int n, i
0560: 6e 74 20 6b 29 20 7b 0d 0a 09 77 68 69 6c 65 20  nt k) {...while 
0570: 28 43 50 5f 2e 73 69 7a 65 28 29 20 3c 3d 20 6e  (CP_.size() <= n
0580: 29 20 7b 0d 0a 09 09 69 6e 74 20 6e 6e 20 3d 20  ) {....int nn = 
0590: 43 50 5f 2e 73 69 7a 65 28 29 3b 0d 0a 09 09 43  CP_.size();....C
05a0: 50 5f 2e 70 75 73 68 5f 62 61 63 6b 28 76 65 63  P_.push_back(vec
05b0: 74 6f 72 3c 6d 69 6e 74 3e 28 6e 6e 20 2b 20 31  tor<mint>(nn + 1
05c0: 2c 20 31 29 29 3b 0d 0a 09 09 66 6f 72 20 28 69  , 1));....for (i
05d0: 6e 74 20 6b 6b 20 3d 20 31 3b 20 6b 6b 3c 6e 6e  nt kk = 1; kk<nn
05e0: 3b 20 2b 2b 6b 6b 29 0d 0a 09 09 09 43 50 5f 5b  ; ++kk).....CP_[
05f0: 6e 6e 5d 5b 6b 6b 5d 20 3d 20 43 50 5f 5b 6e 6e  nn][kk] = CP_[nn
0600: 20 2d 20 31 5d 5b 6b 6b 20 2d 20 31 5d 20 2b 20   - 1][kk - 1] + 
0610: 43 50 5f 5b 6e 6e 20 2d 20 31 5d 5b 6b 6b 5d 3b  CP_[nn - 1][kk];
0620: 0d 0a 09 7d 0d 0a 09 72 65 74 75 72 6e 20 6b 3c  ...}...return k<
0630: 30 20 7c 7c 20 6e 3c 6b 20 3f 20 30 20 3a 20 43  0 || n<k ? 0 : C
0640: 50 5f 5b 6e 5d 5b 6b 5d 3b 0d 0a 7d 0d 0a 0d 0a  P_[n][k];..}....
0650: 76 65 63 74 6f 72 3c 20 76 65 63 74 6f 72 3c 6d  vector< vector<m
0660: 69 6e 74 3e 20 3e 20 53 50 5f 3b 0d 0a 6d 69 6e  int> > SP_;..min
0670: 74 20 53 28 69 6e 74 20 6e 2c 20 69 6e 74 20 6b  t S(int n, int k
0680: 29 20 7b 0d 0a 09 77 68 69 6c 65 20 28 53 50 5f  ) {...while (SP_
0690: 2e 73 69 7a 65 28 29 20 3c 3d 20 6e 29 20 7b 0d  .size() <= n) {.
06a0: 0a 09 09 69 6e 74 20 6e 6e 20 3d 20 53 50 5f 2e  ...int nn = SP_.
06b0: 73 69 7a 65 28 29 3b 0d 0a 09 09 53 50 5f 2e 70  size();....SP_.p
06c0: 75 73 68 5f 62 61 63 6b 28 76 65 63 74 6f 72 3c  ush_back(vector<
06d0: 6d 69 6e 74 3e 28 6e 6e 20 2b 20 31 2c 20 31 29  mint>(nn + 1, 1)
06e0: 29 3b 0d 0a 09 09 66 6f 72 20 28 69 6e 74 20 6b  );....for (int k
06f0: 6b 20 3d 20 32 3b 20 6b 6b 3c 6e 6e 3b 20 2b 2b  k = 2; kk<nn; ++
0700: 6b 6b 29 0d 0a 09 09 09 53 50 5f 5b 6e 6e 5d 5b  kk).....SP_[nn][
0710: 6b 6b 5d 20 3d 20 53 50 5f 5b 6e 6e 20 2d 20 31  kk] = SP_[nn - 1
0720: 5d 5b 6b 6b 20 2d 20 31 5d 20 2b 20 6b 6b 2a 53  ][kk - 1] + kk*S
0730: 50 5f 5b 6e 6e 20 2d 20 31 5d 5b 6b 6b 5d 3b 0d  P_[nn - 1][kk];.
0740: 0a 09 7d 0d 0a 09 72 65 74 75 72 6e 20 6b 3c 3d  ..}...return k<=
0750: 30 20 7c 7c 20 6e 3c 6b 20 3f 20 30 20 3a 20 53  0 || n<k ? 0 : S
0760: 50 5f 5b 6e 5d 5b 6b 5d 3b 0d 0a 7d 0d 0a 0d 0a  P_[n][k];..}....
0770: 63 6c 61 73 73 20 46 61 6d 69 6c 79 53 65 61 74  class FamilySeat
0780: 69 6e 67 41 72 72 61 6e 67 65 6d 65 6e 74 20 7b  ingArrangement {
0790: 20 70 75 62 6c 69 63 3a 0d 0a 09 69 6e 74 20 63   public:...int c
07a0: 6f 75 6e 74 57 61 79 73 28 76 65 63 74 6f 72 20  ountWays(vector 
07b0: 3c 69 6e 74 3e 20 61 2c 20 69 6e 74 20 6b 29 0d  <int> a, int k).
07c0: 0a 09 7b 0d 0a 09 09 63 6f 6e 73 74 20 69 6e 74  ..{....const int
07d0: 20 66 20 3d 20 69 6e 74 28 61 2e 73 69 7a 65 28   f = int(a.size(
07e0: 29 29 3b 0d 0a 09 09 63 6f 6e 73 74 20 69 6e 74  ));....const int
07f0: 20 6e 63 20 3d 20 61 63 63 75 6d 75 6c 61 74 65   nc = accumulate
0800: 28 61 2e 62 65 67 69 6e 28 29 2c 20 61 2e 65 6e  (a.begin(), a.en
0810: 64 28 29 2c 20 30 29 3b 0d 0a 09 09 6d 69 6e 74  d(), 0);....mint
0820: 20 61 6e 73 20 3d 20 30 3b 0d 0a 09 09 66 6f 72   ans = 0;....for
0830: 20 28 69 6e 74 20 70 61 72 65 6e 74 54 61 62 6c   (int parentTabl
0840: 65 20 3d 20 31 3b 20 70 61 72 65 6e 74 54 61 62  e = 1; parentTab
0850: 6c 65 20 3c 3d 20 6d 69 6e 28 66 2c 20 6b 29 3b  le <= min(f, k);
0860: 20 2b 2b 70 61 72 65 6e 74 54 61 62 6c 65 29 0d   ++parentTable).
0870: 0a 09 09 09 61 6e 73 20 2b 3d 20 50 4f 57 28 6b  ....ans += POW(k
0880: 20 2d 20 70 61 72 65 6e 74 54 61 62 6c 65 20 2b   - parentTable +
0890: 20 31 2c 20 6e 63 29 20 2a 20 43 28 6b 2c 20 70   1, nc) * C(k, p
08a0: 61 72 65 6e 74 54 61 62 6c 65 29 20 2a 20 63 6f  arentTable) * co
08b0: 75 6e 74 50 61 72 65 6e 74 57 61 79 73 28 66 2c  untParentWays(f,
08c0: 20 70 61 72 65 6e 74 54 61 62 6c 65 29 3b 0d 0a   parentTable);..
08d0: 09 09 72 65 74 75 72 6e 20 61 6e 73 2e 76 61 6c  ..return ans.val
08e0: 3b 0d 0a 09 7d 0d 0a 0d 0a 09 2f 2f 20 7c 70 7c  ;...}.....// |p|
08f0: 20 70 65 6f 70 6c 65 20 74 6f 20 7c 74 7c 20 74   people to |t| t
0900: 61 62 6c 65 73 0d 0a 09 6d 69 6e 74 20 63 6f 75  ables...mint cou
0910: 6e 74 50 61 72 65 6e 74 57 61 79 73 28 69 6e 74  ntParentWays(int
0920: 20 70 2c 20 69 6e 74 20 74 29 0d 0a 09 7b 0d 0a   p, int t)...{..
0930: 09 09 72 65 74 75 72 6e 20 53 28 70 2c 20 74 29  ..return S(p, t)
0940: 20 2a 20 46 41 43 28 74 29 3b 0d 0a 09 7d 0d 0a   * FAC(t);...}..
0950: 7d 3b 0d 0a 0d 0a 2f 2f 20 42 45 47 49 4e 20 43  };....// BEGIN C
0960: 55 54 20 48 45 52 45 0d 0a 23 69 6e 63 6c 75 64  UT HERE..#includ
0970: 65 20 3c 63 74 69 6d 65 3e 0d 0a 64 6f 75 62 6c  e <ctime>..doubl
0980: 65 20 73 74 61 72 74 5f 74 69 6d 65 3b 20 73 74  e start_time; st
0990: 72 69 6e 67 20 74 69 6d 65 72 28 29 0d 0a 20 7b  ring timer().. {
09a0: 20 6f 73 74 72 69 6e 67 73 74 72 65 61 6d 20 6f   ostringstream o
09b0: 73 3b 20 6f 73 20 3c 3c 20 22 20 28 22 20 3c 3c  s; os << " (" <<
09c0: 20 69 6e 74 28 28 63 6c 6f 63 6b 28 29 2d 73 74   int((clock()-st
09d0: 61 72 74 5f 74 69 6d 65 29 2f 43 4c 4f 43 4b 53  art_time)/CLOCKS
09e0: 5f 50 45 52 5f 53 45 43 2a 31 30 30 30 29 20 3c  _PER_SEC*1000) <
09f0: 3c 20 22 20 6d 73 65 63 29 22 3b 20 72 65 74 75  < " msec)"; retu
0a00: 72 6e 20 6f 73 2e 73 74 72 28 29 3b 20 7d 0d 0a  rn os.str(); }..
0a10: 74 65 6d 70 6c 61 74 65 3c 74 79 70 65 6e 61 6d  template<typenam
0a20: 65 20 54 3e 20 6f 73 74 72 65 61 6d 26 20 6f 70  e T> ostream& op
0a30: 65 72 61 74 6f 72 3c 3c 28 6f 73 74 72 65 61 6d  erator<<(ostream
0a40: 26 20 6f 73 2c 20 63 6f 6e 73 74 20 76 65 63 74  & os, const vect
0a50: 6f 72 3c 54 3e 26 20 76 29 0d 0a 20 7b 20 6f 73  or<T>& v).. { os
0a60: 20 3c 3c 20 22 7b 20 22 3b 0d 0a 20 20 20 66 6f   << "{ ";..   fo
0a70: 72 28 74 79 70 65 6e 61 6d 65 20 76 65 63 74 6f  r(typename vecto
0a80: 72 3c 54 3e 3a 3a 63 6f 6e 73 74 5f 69 74 65 72  r<T>::const_iter
0a90: 61 74 6f 72 20 69 74 3d 76 2e 62 65 67 69 6e 28  ator it=v.begin(
0aa0: 29 3b 20 69 74 21 3d 76 2e 65 6e 64 28 29 3b 20  ); it!=v.end(); 
0ab0: 2b 2b 69 74 29 0d 0a 20 20 20 6f 73 20 3c 3c 20  ++it)..   os << 
0ac0: 27 5c 22 27 20 3c 3c 20 2a 69 74 20 3c 3c 20 27  '\"' << *it << '
0ad0: 5c 22 27 20 3c 3c 20 28 69 74 2b 31 3d 3d 76 2e  \"' << (it+1==v.
0ae0: 65 6e 64 28 29 20 3f 20 22 22 20 3a 20 22 2c 20  end() ? "" : ", 
0af0: 22 29 3b 20 6f 73 20 3c 3c 20 22 20 7d 22 3b 20  "); os << " }"; 
0b00: 72 65 74 75 72 6e 20 6f 73 3b 20 7d 0d 0a 76 6f  return os; }..vo
0b10: 69 64 20 76 65 72 69 66 79 5f 63 61 73 65 28 63  id verify_case(c
0b20: 6f 6e 73 74 20 69 6e 74 26 20 45 78 70 65 63 74  onst int& Expect
0b30: 65 64 2c 20 63 6f 6e 73 74 20 69 6e 74 26 20 52  ed, const int& R
0b40: 65 63 65 69 76 65 64 29 20 7b 0d 0a 20 62 6f 6f  eceived) {.. boo
0b50: 6c 20 6f 6b 20 3d 20 28 45 78 70 65 63 74 65 64  l ok = (Expected
0b60: 20 3d 3d 20 52 65 63 65 69 76 65 64 29 3b 0d 0a   == Received);..
0b70: 20 69 66 28 6f 6b 29 20 63 65 72 72 20 3c 3c 20   if(ok) cerr << 
0b80: 22 50 41 53 53 45 44 22 20 3c 3c 20 74 69 6d 65  "PASSED" << time
0b90: 72 28 29 20 3c 3c 20 65 6e 64 6c 3b 20 20 65 6c  r() << endl;  el
0ba0: 73 65 20 7b 20 63 65 72 72 20 3c 3c 20 22 46 41  se { cerr << "FA
0bb0: 49 4c 45 44 22 20 3c 3c 20 74 69 6d 65 72 28 29  ILED" << timer()
0bc0: 20 3c 3c 20 65 6e 64 6c 3b 0d 0a 20 63 65 72 72   << endl;.. cerr
0bd0: 20 3c 3c 20 22 5c 74 6f 3a 20 5c 22 22 20 3c 3c   << "\to: \"" <<
0be0: 20 45 78 70 65 63 74 65 64 20 3c 3c 20 27 5c 22   Expected << '\"
0bf0: 27 20 3c 3c 20 65 6e 64 6c 20 3c 3c 20 22 5c 74  ' << endl << "\t
0c00: 78 3a 20 5c 22 22 20 3c 3c 20 52 65 63 65 69 76  x: \"" << Receiv
0c10: 65 64 20 3c 3c 20 27 5c 22 27 20 3c 3c 20 65 6e  ed << '\"' << en
0c20: 64 6c 3b 20 7d 20 7d 0d 0a 23 64 65 66 69 6e 65  dl; } }..#define
0c30: 20 43 41 53 45 28 4e 29 20 7b 63 65 72 72 20 3c   CASE(N) {cerr <
0c40: 3c 20 22 54 65 73 74 20 43 61 73 65 20 23 22 20  < "Test Case #" 
0c50: 3c 3c 20 4e 20 3c 3c 20 22 2e 2e 2e 22 20 3c 3c  << N << "..." <<
0c60: 20 66 6c 75 73 68 3b 20 73 74 61 72 74 5f 74 69   flush; start_ti
0c70: 6d 65 3d 63 6c 6f 63 6b 28 29 3b 0d 0a 23 64 65  me=clock();..#de
0c80: 66 69 6e 65 20 45 4e 44 09 20 76 65 72 69 66 79  fine END. verify
0c90: 5f 63 61 73 65 28 5f 2c 20 46 61 6d 69 6c 79 53  _case(_, FamilyS
0ca0: 65 61 74 69 6e 67 41 72 72 61 6e 67 65 6d 65 6e  eatingArrangemen
0cb0: 74 28 29 2e 63 6f 75 6e 74 57 61 79 73 28 61 2c  t().countWays(a,
0cc0: 20 6b 29 29 3b 7d 0d 0a 69 6e 74 20 6d 61 69 6e   k));}..int main
0cd0: 28 29 7b 0d 0a 0d 0a 43 41 53 45 28 30 29 0d 0a  (){....CASE(0)..
0ce0: 09 69 6e 74 20 61 5f 5b 5d 20 3d 20 7b 32 2c 31  .int a_[] = {2,1
0cf0: 7d 09 3b 0d 0a 09 20 20 76 65 63 74 6f 72 20 3c  }.;...  vector <
0d00: 69 6e 74 3e 20 61 28 61 5f 2c 20 61 5f 2b 73 69  int> a(a_, a_+si
0d10: 7a 65 6f 66 28 61 5f 29 2f 73 69 7a 65 6f 66 28  zeof(a_)/sizeof(
0d20: 2a 61 5f 29 29 3b 20 0d 0a 09 69 6e 74 20 6b 20  *a_)); ...int k 
0d30: 3d 20 32 3b 20 0d 0a 09 69 6e 74 20 5f 20 3d 20  = 2; ...int _ = 
0d40: 31 38 3b 20 0d 0a 45 4e 44 0d 0a 43 41 53 45 28  18; ..END..CASE(
0d50: 31 29 0d 0a 09 69 6e 74 20 61 5f 5b 5d 20 3d 20  1)...int a_[] = 
0d60: 7b 32 2c 31 7d 3b 0d 0a 09 20 20 76 65 63 74 6f  {2,1};...  vecto
0d70: 72 20 3c 69 6e 74 3e 20 61 28 61 5f 2c 20 61 5f  r <int> a(a_, a_
0d80: 2b 73 69 7a 65 6f 66 28 61 5f 29 2f 73 69 7a 65  +sizeof(a_)/size
0d90: 6f 66 28 2a 61 5f 29 29 3b 20 0d 0a 09 69 6e 74  of(*a_)); ...int
0da0: 20 6b 20 3d 20 33 3b 20 0d 0a 09 69 6e 74 20 5f   k = 3; ...int _
0db0: 20 3d 20 31 32 39 3b 20 0d 0a 45 4e 44 0d 0a 43   = 129; ..END..C
0dc0: 41 53 45 28 32 29 0d 0a 09 69 6e 74 20 61 5f 5b  ASE(2)...int a_[
0dd0: 5d 20 3d 20 7b 32 2c 31 7d 3b 0d 0a 09 20 20 76  ] = {2,1};...  v
0de0: 65 63 74 6f 72 20 3c 69 6e 74 3e 20 61 28 61 5f  ector <int> a(a_
0df0: 2c 20 61 5f 2b 73 69 7a 65 6f 66 28 61 5f 29 2f  , a_+sizeof(a_)/
0e00: 73 69 7a 65 6f 66 28 2a 61 5f 29 29 3b 20 0d 0a  sizeof(*a_)); ..
0e10: 09 69 6e 74 20 6b 20 3d 20 31 30 30 30 3b 20 0d  .int k = 1000; .
0e20: 0a 09 69 6e 74 20 5f 20 3d 20 39 38 39 30 32 31  ..int _ = 989021
0e30: 39 36 35 3b 20 0d 0a 45 4e 44 0d 0a 43 41 53 45  965; ..END..CASE
0e40: 28 33 29 0d 0a 09 69 6e 74 20 61 5f 5b 5d 20 3d  (3)...int a_[] =
0e50: 20 7b 31 2c 31 2c 31 2c 31 2c 31 2c 31 2c 31 2c   {1,1,1,1,1,1,1,
0e60: 31 2c 31 2c 31 2c 31 2c 31 7d 3b 0d 0a 09 20 20  1,1,1,1,1};...  
0e70: 76 65 63 74 6f 72 20 3c 69 6e 74 3e 20 61 28 61  vector <int> a(a
0e80: 5f 2c 20 61 5f 2b 73 69 7a 65 6f 66 28 61 5f 29  _, a_+sizeof(a_)
0e90: 2f 73 69 7a 65 6f 66 28 2a 61 5f 29 29 3b 20 0d  /sizeof(*a_)); .
0ea0: 0a 09 69 6e 74 20 6b 20 3d 20 38 3b 20 0d 0a 09  ..int k = 8; ...
0eb0: 69 6e 74 20 5f 20 3d 20 36 30 34 33 30 36 38 33  int _ = 60430683
0ec0: 39 3b 20 0d 0a 45 4e 44 0d 0a 43 41 53 45 28 34  9; ..END..CASE(4
0ed0: 29 0d 0a 09 69 6e 74 20 61 5f 5b 5d 20 3d 20 7b  )...int a_[] = {
0ee0: 31 2c 32 2c 33 2c 34 2c 35 2c 36 2c 37 2c 38 2c  1,2,3,4,5,6,7,8,
0ef0: 39 2c 31 30 2c 31 31 2c 31 32 2c 31 33 2c 31 34  9,10,11,12,13,14
0f00: 2c 31 35 2c 31 36 2c 31 37 2c 31 38 2c 31 39 2c  ,15,16,17,18,19,
0f10: 32 30 7d 09 3b 0d 0a 09 20 20 76 65 63 74 6f 72  20}.;...  vector
0f20: 20 3c 69 6e 74 3e 20 61 28 61 5f 2c 20 61 5f 2b   <int> a(a_, a_+
0f30: 73 69 7a 65 6f 66 28 61 5f 29 2f 73 69 7a 65 6f  sizeof(a_)/sizeo
0f40: 66 28 2a 61 5f 29 29 3b 20 0d 0a 09 69 6e 74 20  f(*a_)); ...int 
0f50: 6b 20 3d 20 32 31 31 3b 20 0d 0a 09 69 6e 74 20  k = 211; ...int 
0f60: 5f 20 3d 20 37 37 35 39 33 37 38 30 31 3b 20 0d  _ = 775937801; .
0f70: 0a 45 4e 44 0d 0a 43 41 53 45 28 35 29 0d 0a 69  .END..CASE(5)..i
0f80: 6e 74 20 61 5f 5b 5d 20 3d 20 7b 20 31 20 7d 3b  nt a_[] = { 1 };
0f90: 0d 0a 76 65 63 74 6f 72 20 3c 69 6e 74 3e 20 61  ..vector <int> a
0fa0: 28 61 5f 2c 20 61 5f 20 2b 20 73 69 7a 65 6f 66  (a_, a_ + sizeof
0fb0: 28 61 5f 29 20 2f 20 73 69 7a 65 6f 66 28 2a 61  (a_) / sizeof(*a
0fc0: 5f 29 29 3b 0d 0a 69 6e 74 20 6b 20 3d 20 32 3b  _));..int k = 2;
0fd0: 0d 0a 69 6e 74 20 5f 20 3d 20 34 3b 0d 0a 45 4e  ..int _ = 4;..EN
0fe0: 44 0d 0a 43 41 53 45 28 36 29 0d 0a 69 6e 74 20  D..CASE(6)..int 
0ff0: 61 5f 5b 5d 20 3d 20 7b 20 31 20 7d 3b 0d 0a 76  a_[] = { 1 };..v
1000: 65 63 74 6f 72 20 3c 69 6e 74 3e 20 61 28 61 5f  ector <int> a(a_
1010: 2c 20 61 5f 20 2b 20 73 69 7a 65 6f 66 28 61 5f  , a_ + sizeof(a_
1020: 29 20 2f 20 73 69 7a 65 6f 66 28 2a 61 5f 29 29  ) / sizeof(*a_))
1030: 3b 0d 0a 69 6e 74 20 6b 20 3d 20 31 3b 0d 0a 69  ;..int k = 1;..i
1040: 6e 74 20 5f 20 3d 20 31 3b 0d 0a 45 4e 44 0d 0a  nt _ = 1;..END..
1050: 43 41 53 45 28 37 29 0d 0a 69 6e 74 20 61 5f 5b  CASE(7)..int a_[
1060: 5d 20 3d 20 7b 0d 0a 31 30 30 30 2c 31 30 30 30  ] = {..1000,1000
1070: 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c  ,1000,1000,1000,
1080: 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31  1000,1000,1000,1
1090: 30 30 30 2c 31 30 30 30 2c 0d 0a 31 30 30 30 2c  000,1000,..1000,
10a0: 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31  1000,1000,1000,1
10b0: 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30  000,1000,1000,10
10c0: 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 0d 0a 31  00,1000,1000,..1
10d0: 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30  000,1000,1000,10
10e0: 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30  00,1000,1000,100
10f0: 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30  0,1000,1000,1000
1100: 2c 0d 0a 31 30 30 30 2c 31 30 30 30 2c 31 30 30  ,..1000,1000,100
1110: 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30  0,1000,1000,1000
1120: 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c  ,1000,1000,1000,
1130: 31 30 30 30 2c 0d 0a 31 30 30 30 2c 31 30 30 30  1000,..1000,1000
1140: 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c  ,1000,1000,1000,
1150: 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31  1000,1000,1000,1
1160: 30 30 30 2c 31 30 30 30 2c 0d 0a 31 30 30 30 2c  000,1000,..1000,
1170: 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31  1000,1000,1000,1
1180: 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30  000,1000,1000,10
1190: 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 0d 0a 31  00,1000,1000,..1
11a0: 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30  000,1000,1000,10
11b0: 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30  00,1000,1000,100
11c0: 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30  0,1000,1000,1000
11d0: 2c 0d 0a 31 30 30 30 2c 31 30 30 30 2c 31 30 30  ,..1000,1000,100
11e0: 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30  0,1000,1000,1000
11f0: 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c  ,1000,1000,1000,
1200: 31 30 30 30 2c 0d 0a 31 30 30 30 2c 31 30 30 30  1000,..1000,1000
1210: 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c  ,1000,1000,1000,
1220: 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31  1000,1000,1000,1
1230: 30 30 30 2c 31 30 30 30 2c 0d 0a 31 30 30 30 2c  000,1000,..1000,
1240: 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31  1000,1000,1000,1
1250: 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30  000,1000,1000,10
1260: 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 0d 0a 31  00,1000,1000,..1
1270: 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30  000,1000,1000,10
1280: 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30  00,1000,1000,100
1290: 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30  0,1000,1000,1000
12a0: 2c 0d 0a 31 30 30 30 2c 31 30 30 30 2c 31 30 30  ,..1000,1000,100
12b0: 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30  0,1000,1000,1000
12c0: 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c  ,1000,1000,1000,
12d0: 31 30 30 30 2c 0d 0a 31 30 30 30 2c 31 30 30 30  1000,..1000,1000
12e0: 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c  ,1000,1000,1000,
12f0: 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31  1000,1000,1000,1
1300: 30 30 30 2c 31 30 30 30 2c 0d 0a 31 30 30 30 2c  000,1000,..1000,
1310: 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31  1000,1000,1000,1
1320: 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30  000,1000,1000,10
1330: 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 0d 0a 31  00,1000,1000,..1
1340: 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30  000,1000,1000,10
1350: 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30  00,1000,1000,100
1360: 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30  0,1000,1000,1000
1370: 2c 0d 0a 31 30 30 30 2c 31 30 30 30 2c 31 30 30  ,..1000,1000,100
1380: 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30  0,1000,1000,1000
1390: 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c  ,1000,1000,1000,
13a0: 31 30 30 30 2c 0d 0a 31 30 30 30 2c 31 30 30 30  1000,..1000,1000
13b0: 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c  ,1000,1000,1000,
13c0: 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31  1000,1000,1000,1
13d0: 30 30 30 2c 31 30 30 30 2c 0d 0a 31 30 30 30 2c  000,1000,..1000,
13e0: 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31  1000,1000,1000,1
13f0: 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30  000,1000,1000,10
1400: 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 0d 0a 31  00,1000,1000,..1
1410: 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30  000,1000,1000,10
1420: 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30  00,1000,1000,100
1430: 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30  0,1000,1000,1000
1440: 2c 0d 0a 31 30 30 30 2c 31 30 30 30 2c 31 30 30  ,..1000,1000,100
1450: 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30  0,1000,1000,1000
1460: 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c  ,1000,1000,1000,
1470: 31 30 30 30 2c 0d 0a 31 30 30 30 2c 31 30 30 30  1000,..1000,1000
1480: 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c  ,1000,1000,1000,
1490: 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31  1000,1000,1000,1
14a0: 30 30 30 2c 31 30 30 30 2c 0d 0a 31 30 30 30 2c  000,1000,..1000,
14b0: 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31  1000,1000,1000,1
14c0: 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30  000,1000,1000,10
14d0: 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 0d 0a 31  00,1000,1000,..1
14e0: 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30  000,1000,1000,10
14f0: 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30  00,1000,1000,100
1500: 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30  0,1000,1000,1000
1510: 2c 0d 0a 31 30 30 30 2c 31 30 30 30 2c 31 30 30  ,..1000,1000,100
1520: 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30  0,1000,1000,1000
1530: 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c  ,1000,1000,1000,
1540: 31 30 30 30 2c 0d 0a 31 30 30 30 2c 31 30 30 30  1000,..1000,1000
1550: 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c  ,1000,1000,1000,
1560: 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31  1000,1000,1000,1
1570: 30 30 30 2c 31 30 30 30 2c 0d 0a 31 30 30 30 2c  000,1000,..1000,
1580: 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31  1000,1000,1000,1
1590: 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30  000,1000,1000,10
15a0: 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 0d 0a 31  00,1000,1000,..1
15b0: 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30  000,1000,1000,10
15c0: 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30  00,1000,1000,100
15d0: 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30  0,1000,1000,1000
15e0: 2c 0d 0a 31 30 30 30 2c 31 30 30 30 2c 31 30 30  ,..1000,1000,100
15f0: 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30  0,1000,1000,1000
1600: 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c  ,1000,1000,1000,
1610: 31 30 30 30 2c 0d 0a 31 30 30 30 2c 31 30 30 30  1000,..1000,1000
1620: 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c  ,1000,1000,1000,
1630: 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31  1000,1000,1000,1
1640: 30 30 30 2c 31 30 30 30 2c 0d 0a 31 30 30 30 2c  000,1000,..1000,
1650: 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31  1000,1000,1000,1
1660: 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30  000,1000,1000,10
1670: 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 0d 0a 31  00,1000,1000,..1
1680: 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30  000,1000,1000,10
1690: 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30  00,1000,1000,100
16a0: 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30  0,1000,1000,1000
16b0: 2c 0d 0a 31 30 30 30 2c 31 30 30 30 2c 31 30 30  ,..1000,1000,100
16c0: 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30  0,1000,1000,1000
16d0: 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c  ,1000,1000,1000,
16e0: 31 30 30 30 2c 0d 0a 31 30 30 30 2c 31 30 30 30  1000,..1000,1000
16f0: 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c  ,1000,1000,1000,
1700: 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31  1000,1000,1000,1
1710: 30 30 30 2c 31 30 30 30 2c 0d 0a 31 30 30 30 2c  000,1000,..1000,
1720: 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31  1000,1000,1000,1
1730: 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30  000,1000,1000,10
1740: 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 0d 0a 31  00,1000,1000,..1
1750: 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30  000,1000,1000,10
1760: 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30  00,1000,1000,100
1770: 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30  0,1000,1000,1000
1780: 2c 0d 0a 31 30 30 30 2c 31 30 30 30 2c 31 30 30  ,..1000,1000,100
1790: 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30  0,1000,1000,1000
17a0: 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c  ,1000,1000,1000,
17b0: 31 30 30 30 2c 0d 0a 31 30 30 30 2c 31 30 30 30  1000,..1000,1000
17c0: 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c  ,1000,1000,1000,
17d0: 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31  1000,1000,1000,1
17e0: 30 30 30 2c 31 30 30 30 2c 0d 0a 31 30 30 30 2c  000,1000,..1000,
17f0: 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31  1000,1000,1000,1
1800: 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30  000,1000,1000,10
1810: 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 0d 0a 31  00,1000,1000,..1
1820: 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30  000,1000,1000,10
1830: 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30  00,1000,1000,100
1840: 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30  0,1000,1000,1000
1850: 2c 0d 0a 31 30 30 30 2c 31 30 30 30 2c 31 30 30  ,..1000,1000,100
1860: 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30  0,1000,1000,1000
1870: 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c  ,1000,1000,1000,
1880: 31 30 30 30 2c 0d 0a 31 30 30 30 2c 31 30 30 30  1000,..1000,1000
1890: 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c  ,1000,1000,1000,
18a0: 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31  1000,1000,1000,1
18b0: 30 30 30 2c 31 30 30 30 2c 0d 0a 31 30 30 30 2c  000,1000,..1000,
18c0: 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31  1000,1000,1000,1
18d0: 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30  000,1000,1000,10
18e0: 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 0d 0a 31  00,1000,1000,..1
18f0: 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30  000,1000,1000,10
1900: 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30  00,1000,1000,100
1910: 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30  0,1000,1000,1000
1920: 2c 0d 0a 31 30 30 30 2c 31 30 30 30 2c 31 30 30  ,..1000,1000,100
1930: 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30  0,1000,1000,1000
1940: 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c  ,1000,1000,1000,
1950: 31 30 30 30 2c 0d 0a 31 30 30 30 2c 31 30 30 30  1000,..1000,1000
1960: 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c  ,1000,1000,1000,
1970: 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31  1000,1000,1000,1
1980: 30 30 30 2c 31 30 30 30 2c 0d 0a 31 30 30 30 2c  000,1000,..1000,
1990: 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31  1000,1000,1000,1
19a0: 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30  000,1000,1000,10
19b0: 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 0d 0a 31  00,1000,1000,..1
19c0: 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30  000,1000,1000,10
19d0: 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30  00,1000,1000,100
19e0: 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30  0,1000,1000,1000
19f0: 2c 0d 0a 31 30 30 30 2c 31 30 30 30 2c 31 30 30  ,..1000,1000,100
1a00: 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30  0,1000,1000,1000
1a10: 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c  ,1000,1000,1000,
1a20: 31 30 30 30 2c 0d 0a 31 30 30 30 2c 31 30 30 30  1000,..1000,1000
1a30: 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c  ,1000,1000,1000,
1a40: 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31  1000,1000,1000,1
1a50: 30 30 30 2c 31 30 30 30 2c 0d 0a 31 30 30 30 2c  000,1000,..1000,
1a60: 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31  1000,1000,1000,1
1a70: 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30  000,1000,1000,10
1a80: 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 0d 0a 31  00,1000,1000,..1
1a90: 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30  000,1000,1000,10
1aa0: 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30  00,1000,1000,100
1ab0: 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30  0,1000,1000,1000
1ac0: 2c 0d 0a 31 30 30 30 2c 31 30 30 30 2c 31 30 30  ,..1000,1000,100
1ad0: 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30  0,1000,1000,1000
1ae0: 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c  ,1000,1000,1000,
1af0: 31 30 30 30 2c 0d 0a 31 30 30 30 2c 31 30 30 30  1000,..1000,1000
1b00: 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c  ,1000,1000,1000,
1b10: 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31  1000,1000,1000,1
1b20: 30 30 30 2c 31 30 30 30 2c 0d 0a 31 30 30 30 2c  000,1000,..1000,
1b30: 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31  1000,1000,1000,1
1b40: 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30  000,1000,1000,10
1b50: 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 0d 0a 31  00,1000,1000,..1
1b60: 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30  000,1000,1000,10
1b70: 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30  00,1000,1000,100
1b80: 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30  0,1000,1000,1000
1b90: 2c 0d 0a 31 30 30 30 2c 31 30 30 30 2c 31 30 30  ,..1000,1000,100
1ba0: 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30  0,1000,1000,1000
1bb0: 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c  ,1000,1000,1000,
1bc0: 31 30 30 30 2c 0d 0a 31 30 30 30 2c 31 30 30 30  1000,..1000,1000
1bd0: 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c  ,1000,1000,1000,
1be0: 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31  1000,1000,1000,1
1bf0: 30 30 30 2c 31 30 30 30 2c 0d 0a 31 30 30 30 2c  000,1000,..1000,
1c00: 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31  1000,1000,1000,1
1c10: 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30  000,1000,1000,10
1c20: 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 0d 0a 31  00,1000,1000,..1
1c30: 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30  000,1000,1000,10
1c40: 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30  00,1000,1000,100
1c50: 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30  0,1000,1000,1000
1c60: 2c 0d 0a 31 30 30 30 2c 31 30 30 30 2c 31 30 30  ,..1000,1000,100
1c70: 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30  0,1000,1000,1000
1c80: 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c  ,1000,1000,1000,
1c90: 31 30 30 30 2c 0d 0a 31 30 30 30 2c 31 30 30 30  1000,..1000,1000
1ca0: 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c  ,1000,1000,1000,
1cb0: 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31  1000,1000,1000,1
1cc0: 30 30 30 2c 31 30 30 30 2c 0d 0a 31 30 30 30 2c  000,1000,..1000,
1cd0: 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31  1000,1000,1000,1
1ce0: 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30  000,1000,1000,10
1cf0: 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 0d 0a 31  00,1000,1000,..1
1d00: 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30  000,1000,1000,10
1d10: 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30  00,1000,1000,100
1d20: 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30  0,1000,1000,1000
1d30: 2c 0d 0a 31 30 30 30 2c 31 30 30 30 2c 31 30 30  ,..1000,1000,100
1d40: 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30  0,1000,1000,1000
1d50: 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c  ,1000,1000,1000,
1d60: 31 30 30 30 2c 0d 0a 31 30 30 30 2c 31 30 30 30  1000,..1000,1000
1d70: 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c  ,1000,1000,1000,
1d80: 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31  1000,1000,1000,1
1d90: 30 30 30 2c 31 30 30 30 2c 0d 0a 31 30 30 30 2c  000,1000,..1000,
1da0: 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31  1000,1000,1000,1
1db0: 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30  000,1000,1000,10
1dc0: 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 0d 0a 31  00,1000,1000,..1
1dd0: 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30  000,1000,1000,10
1de0: 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30  00,1000,1000,100
1df0: 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30  0,1000,1000,1000
1e00: 2c 0d 0a 31 30 30 30 2c 31 30 30 30 2c 31 30 30  ,..1000,1000,100
1e10: 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30  0,1000,1000,1000
1e20: 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c  ,1000,1000,1000,
1e30: 31 30 30 30 2c 0d 0a 31 30 30 30 2c 31 30 30 30  1000,..1000,1000
1e40: 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c  ,1000,1000,1000,
1e50: 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31  1000,1000,1000,1
1e60: 30 30 30 2c 31 30 30 30 2c 0d 0a 31 30 30 30 2c  000,1000,..1000,
1e70: 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31  1000,1000,1000,1
1e80: 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30  000,1000,1000,10
1e90: 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 0d 0a 31  00,1000,1000,..1
1ea0: 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30  000,1000,1000,10
1eb0: 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30  00,1000,1000,100
1ec0: 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30  0,1000,1000,1000
1ed0: 2c 0d 0a 31 30 30 30 2c 31 30 30 30 2c 31 30 30  ,..1000,1000,100
1ee0: 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30  0,1000,1000,1000
1ef0: 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c  ,1000,1000,1000,
1f00: 31 30 30 30 2c 0d 0a 31 30 30 30 2c 31 30 30 30  1000,..1000,1000
1f10: 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c  ,1000,1000,1000,
1f20: 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31  1000,1000,1000,1
1f30: 30 30 30 2c 31 30 30 30 2c 0d 0a 31 30 30 30 2c  000,1000,..1000,
1f40: 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31  1000,1000,1000,1
1f50: 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30  000,1000,1000,10
1f60: 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 0d 0a 31  00,1000,1000,..1
1f70: 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30  000,1000,1000,10
1f80: 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30  00,1000,1000,100
1f90: 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30  0,1000,1000,1000
1fa0: 2c 0d 0a 31 30 30 30 2c 31 30 30 30 2c 31 30 30  ,..1000,1000,100
1fb0: 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30  0,1000,1000,1000
1fc0: 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c  ,1000,1000,1000,
1fd0: 31 30 30 30 2c 0d 0a 31 30 30 30 2c 31 30 30 30  1000,..1000,1000
1fe0: 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c  ,1000,1000,1000,
1ff0: 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31  1000,1000,1000,1
2000: 30 30 30 2c 31 30 30 30 2c 0d 0a 31 30 30 30 2c  000,1000,..1000,
2010: 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31  1000,1000,1000,1
2020: 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30  000,1000,1000,10
2030: 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 0d 0a 31  00,1000,1000,..1
2040: 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30  000,1000,1000,10
2050: 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30  00,1000,1000,100
2060: 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30  0,1000,1000,1000
2070: 2c 0d 0a 31 30 30 30 2c 31 30 30 30 2c 31 30 30  ,..1000,1000,100
2080: 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30  0,1000,1000,1000
2090: 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c  ,1000,1000,1000,
20a0: 31 30 30 30 2c 0d 0a 31 30 30 30 2c 31 30 30 30  1000,..1000,1000
20b0: 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c  ,1000,1000,1000,
20c0: 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31  1000,1000,1000,1
20d0: 30 30 30 2c 31 30 30 30 2c 0d 0a 31 30 30 30 2c  000,1000,..1000,
20e0: 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31  1000,1000,1000,1
20f0: 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30  000,1000,1000,10
2100: 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 0d 0a 31  00,1000,1000,..1
2110: 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30  000,1000,1000,10
2120: 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30  00,1000,1000,100
2130: 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30  0,1000,1000,1000
2140: 2c 0d 0a 31 30 30 30 2c 31 30 30 30 2c 31 30 30  ,..1000,1000,100
2150: 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30  0,1000,1000,1000
2160: 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c  ,1000,1000,1000,
2170: 31 30 30 30 2c 0d 0a 31 30 30 30 2c 31 30 30 30  1000,..1000,1000
2180: 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c  ,1000,1000,1000,
2190: 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31  1000,1000,1000,1
21a0: 30 30 30 2c 31 30 30 30 2c 0d 0a 31 30 30 30 2c  000,1000,..1000,
21b0: 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31  1000,1000,1000,1
21c0: 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30  000,1000,1000,10
21d0: 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 0d 0a 31  00,1000,1000,..1
21e0: 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30  000,1000,1000,10
21f0: 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30  00,1000,1000,100
2200: 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30  0,1000,1000,1000
2210: 2c 0d 0a 31 30 30 30 2c 31 30 30 30 2c 31 30 30  ,..1000,1000,100
2220: 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30  0,1000,1000,1000
2230: 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c  ,1000,1000,1000,
2240: 31 30 30 30 2c 0d 0a 31 30 30 30 2c 31 30 30 30  1000,..1000,1000
2250: 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c  ,1000,1000,1000,
2260: 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31  1000,1000,1000,1
2270: 30 30 30 2c 31 30 30 30 2c 0d 0a 31 30 30 30 2c  000,1000,..1000,
2280: 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31  1000,1000,1000,1
2290: 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30  000,1000,1000,10
22a0: 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 0d 0a 31  00,1000,1000,..1
22b0: 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30  000,1000,1000,10
22c0: 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30  00,1000,1000,100
22d0: 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30  0,1000,1000,1000
22e0: 2c 0d 0a 31 30 30 30 2c 31 30 30 30 2c 31 30 30  ,..1000,1000,100
22f0: 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30  0,1000,1000,1000
2300: 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c  ,1000,1000,1000,
2310: 31 30 30 30 2c 0d 0a 31 30 30 30 2c 31 30 30 30  1000,..1000,1000
2320: 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c  ,1000,1000,1000,
2330: 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31  1000,1000,1000,1
2340: 30 30 30 2c 31 30 30 30 2c 0d 0a 31 30 30 30 2c  000,1000,..1000,
2350: 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31  1000,1000,1000,1
2360: 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30  000,1000,1000,10
2370: 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 0d 0a 31  00,1000,1000,..1
2380: 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30  000,1000,1000,10
2390: 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30  00,1000,1000,100
23a0: 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30  0,1000,1000,1000
23b0: 2c 0d 0a 31 30 30 30 2c 31 30 30 30 2c 31 30 30  ,..1000,1000,100
23c0: 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30  0,1000,1000,1000
23d0: 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c  ,1000,1000,1000,
23e0: 31 30 30 30 2c 0d 0a 31 30 30 30 2c 31 30 30 30  1000,..1000,1000
23f0: 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c  ,1000,1000,1000,
2400: 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31  1000,1000,1000,1
2410: 30 30 30 2c 31 30 30 30 2c 0d 0a 31 30 30 30 2c  000,1000,..1000,
2420: 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31  1000,1000,1000,1
2430: 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30  000,1000,1000,10
2440: 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 0d 0a 31  00,1000,1000,..1
2450: 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30  000,1000,1000,10
2460: 30 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30  00,1000,1000,100
2470: 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30  0,1000,1000,1000
2480: 2c 0d 0a 31 30 30 30 2c 31 30 30 30 2c 31 30 30  ,..1000,1000,100
2490: 30 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30  0,1000,1000,1000
24a0: 2c 31 30 30 30 2c 31 30 30 30 2c 31 30 30 30 2c  ,1000,1000,1000,
24b0: 31 30 30 30 20 7d 3b 0d 0a 09 20 20 76 65 63 74  1000 };...  vect
24c0: 6f 72 20 3c 69 6e 74 3e 20 61 28 61 5f 2c 20 61  or <int> a(a_, a
24d0: 5f 2b 73 69 7a 65 6f 66 28 61 5f 29 2f 73 69 7a  _+sizeof(a_)/siz
24e0: 65 6f 66 28 2a 61 5f 29 29 3b 20 0d 0a 09 69 6e  eof(*a_)); ...in
24f0: 74 20 6b 20 3d 20 31 30 30 30 3b 20 0d 0a 09 69  t k = 1000; ...i
2500: 6e 74 20 5f 20 3d 20 2d 31 3b 20 0d 0a 45 4e 44  nt _ = -1; ..END
2510: 0d 0a 7d 0d 0a 2f 2f 20 45 4e 44 20 43 55 54 20  ..}..// END CUT 
2520: 48 45 52 45 0d 0a                                HERE..