QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#114802#6341. The Last BattleScintilla100 ✓49ms5196kbC++1720.5kb2023-06-23 16:40:552023-06-23 16:40:56

Judging History

你现在查看的是测评时间为 2023-06-23 16:40:56 的历史记录

  • [2023-09-11 04:11:53]
  • 管理员手动重测该提交记录
  • 测评结果:100
  • 用时:40ms
  • 内存:6036kb
  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2023-06-23 16:40:56]
  • 评测
  • 测评结果:100
  • 用时:49ms
  • 内存:5196kb
  • [2023-06-23 16:40:55]
  • 提交

Anna

#include "Anna.h"
#include <vector>
using namespace std;
namespace
{
  const vector<int> tab[8][8] =
      {{{2}, {0}, {32}, {8}, {30, 31, 36, 37}, {13, 14, 15, 18}, {26, 27, 28, 29}, {8, 10, 11, 12}}, {{21}, {19}, {30}, {29}, {117, 119, 123, 125}, {106, 107, 109, 110}, {85, 87, 93, 94}, {55, 59, 77, 78}}, {{25}, {9}, {24}, {8}, {96, 97, 100, 102}, {56, 57, 60, 63}, {28, 31, 50, 54}, {18, 20, 22, 25}}, {{336, 161, 185, 501, 177, 29, 319, 433}, {479, 130, 503, 368, 128, 447, 365, 313}, {160, 289, 504, 491, 406, 407, 176, 478}, {480, 425, 208, 417, 401, 13, 297, 448}, {1264, 1807, 2137, 1318, 1011, 1612, 767, 1033, 2218, 3192, 1456, 2392, 849, 2017, 2267, 4010, 2503, 1793, 1516, 1897, 1346, 359, 3557, 570, 719, 2348, 58, 771, 685, 1004, 1032, 3795, 1091, 1622, 2512, 2152, 2673, 3643, 3524, 660, 3297, 2087, 2379, 2338, 2251, 993, 1359, 648, 1903, 2891, 3101, 3315, 2854, 1425, 3432, 1206, 962, 3957, 3985, 3590, 2871, 2375, 2634, 3701}, {2823, 3963, 2583, 2031, 620, 994, 770, 3410, 663, 2534, 1023, 2481, 2301, 1263, 3479, 3341, 2295, 2785, 783, 3189, 3703, 2850, 2263, 2271, 3901, 1912, 3114, 3722, 1222, 3411, 2339, 963, 2417, 2753, 3518, 752, 1791, 3355, 23, 2786, 3621, 679, 3988, 3047, 2974, 622, 1716, 2561, 1600, 101, 2517, 1144, 2103, 3687, 3980, 1407, 3842, 2500, 3387, 409, 2090, 2246, 1039, 2722}, {4072, 1896, 927, 146, 2231, 3419, 3117, 3305, 960, 3661, 3588, 1761, 2081, 977, 3104, 3797, 979, 4039, 3166, 711, 630, 2569, 145, 1964, 1828, 2449, 2605, 2365, 3058, 2422, 2764, 2921, 2628, 3473, 1363, 3466, 1464, 1398, 3828, 2862, 727, 2297, 3491, 3559, 2336, 2573, 2178, 2469, 3799, 117, 2681, 3175, 3994, 1436, 3395, 1247, 3558, 1224, 3154, 3879, 734, 2775, 2012, 2599}, {2651, 2706, 2092, 1388, 318, 2071, 3560, 2631, 2970, 716, 2653, 2128, 3662, 3452, 735, 402, 3375, 1184, 1025, 2477, 3228, 1295, 3398, 3337, 2700, 2523, 2998, 27, 147, 2846, 118, 1731, 1103, 357, 309, 2511, 1252, 4036, 3720, 1916, 2293, 3429, 2958, 3034, 3108, 3884, 2093, 717, 3402, 2391, 2733, 1711, 3547, 3243, 3556, 4026, 4022, 1129, 950, 3249, 913, 1347, 833, 915}}, {{30, 375, 169, 467, 249, 367, 372, 233}, {450, 395, 349, 495, 449, 312, 415, 427}, {188, 508, 490, 418, 302, 334, 294, 170}, {424, 352, 193, 212, 441, 196, 489, 192}, {2513, 3457, 1132, 3133, 1544, 756, 745, 1983, 2855, 759, 3237, 3110, 3312, 3111, 2730, 3531, 2474, 151, 1292, 2463, 4062, 3373, 2757, 3881, 3586, 2211, 59, 1689, 895, 1283, 762, 1794, 2372, 1107, 3371, 4065, 1160, 806, 3970, 3439, 2466, 3587, 2139, 996, 2275, 1796, 876, 2959, 1747, 2807, 3943, 1257, 2426, 2470, 2261, 3804, 2004, 1676, 4012, 3885, 2975, 3591, 3573, 1681}, {3448, 2629, 1756, 1284, 886, 3726, 535, 2723, 1313, 747, 654, 30, 2518, 2926, 2886, 1945, 3183, 4023, 3239, 3057, 2143, 3813, 119, 2903, 3106, 1010, 2509, 2467, 3853, 4068, 1366, 2738, 4070, 3217, 1148, 623, 2696, 659, 643, 695, 2130, 317, 1721, 1576, 976, 3707, 3489, 2153, 369, 1713, 3052, 3386, 3322, 2995, 1512, 754, 412, 3998, 3784, 2455, 2397, 2994, 2822, 4034}, {998, 1836, 156, 943, 2935, 3369, 2524, 2407, 2377, 921, 4087, 1640, 1270, 1679, 3822, 3589, 2082, 2342, 682, 1871, 3750, 725, 3118, 3855, 2510, 3454, 407, 1900, 2622, 2359, 150, 2762, 3303, 3389, 3063, 3919, 2468, 2983, 1641, 1409, 854, 1487, 2277, 1428, 1100, 2215, 2545, 3874, 3886, 3740, 4037, 715, 3717, 2080, 2714, 2387, 1471, 1505, 55, 2646, 1833, 2281, 738, 655}, {674, 2025, 3614, 2940, 2140, 1314, 3584, 1884, 2514, 3273, 2736, 3159, 2597, 3399, 3946, 2366, 3445, 2368, 1289, 1520, 2247, 911, 671, 2982, 634, 2904, 1356, 414, 2207, 675, 1455, 2204, 835, 1172, 2485, 2101, 743, 3155, 415, 1017, 2189, 1007, 2351, 4060, 1153, 751, 2399, 2716, 2590, 3310, 902, 1183, 2226, 1391, 1987, 892, 1804, 26, 3616, 3335, 2371, 733, 1583, 2787}}, {{469, 287, 466, 116, 435, 381, 337, 325}, {284, 426, 470, 301, 493, 429, 226, 369}, {419, 380, 436, 234, 292, 471, 379, 388}, {377, 228, 273, 360, 141, 488, 320, 209}, {2527, 3852, 2635, 2363, 3563, 2131, 2327, 3710, 3553, 2701, 995, 1830, 2084, 2083, 1528, 2135, 2557, 732, 53, 2088, 670, 1151, 1769, 3107, 2151, 2347, 1096, 2285, 3323, 1631, 2167, 2386, 1937, 314, 279, 2409, 3514, 3622, 2858, 1526, 961, 1433, 690, 2224, 718, 3676, 1827, 286, 881, 3693, 3319, 2993, 3338, 3706, 3116, 1969, 2501, 2171, 1663, 931, 3969, 283, 3945, 1315}, {2343, 1204, 2154, 3530, 2182, 1986, 2947, 1692, 3180, 574, 1321, 698, 1439, 3932, 879, 3299, 3806, 1167, 2619, 2411, 3025, 2553, 3343, 3437, 3723, 2109, 687, 2095, 4071, 2242, 1839, 2533, 2943, 2525, 755, 1457, 4073, 959, 3689, 1695, 1135, 1200, 2686, 763, 1400, 1921, 3562, 3340, 2344, 3470, 1217, 2964, 2537, 1743, 1798, 2091, 2652, 2778, 1452, 2451, 916, 2532, 2999, 1780}, {3729, 1712, 3235, 2089, 1071, 3134, 3971, 2350, 2452, 3173, 1667, 1580, 3870, 2465, 668, 1169, 615, 2936, 3754, 3788, 3578, 1385, 3613, 158, 2519, 766, 3431, 1604, 3307, 1177, 2265, 3781, 2711, 2698, 3333, 2075, 2924, 1092, 1420, 702, 1660, 1571, 1484, 3035, 635, 1201, 3242, 2396, 1249, 2209, 1519, 2851, 2129, 3262, 3130, 1152, 1862, 2562, 803, 2362, 737, 1776, 1090, 1001}, {2633, 3579, 3917, 1868, 373, 1404, 3209, 3685, 1503, 311, 3251, 618, 2887, 953, 3059, 3794, 3062, 2179, 1647, 2038, 2618, 639, 774, 2644, 2929, 3316, 2183, 1260, 1922, 2237, 3407, 3258, 2540, 3394, 3415, 3476, 2268, 3414, 1775, 2594, 159, 2279, 2169, 3552, 2516, 2934, 3724, 3301, 2678, 1276, 3708, 2647, 651, 3730, 3190, 2955, 1748, 966, 3413, 2273, 3158, 841, 3490, 538}}, {{505, 417, 303, 383, 489, 209, 286, 317}, {431, 297, 511, 314, 242, 298, 502, 482}, {432, 378, 288, 162, 180, 416, 306, 404}, {296, 464, 481, 364, 313, 157, 385, 236}, {2423, 2384, 1196, 2385, 750, 315, 2889, 2565, 1088, 2450, 1161, 3048, 857, 3250, 2264, 638, 1494, 1362, 3374, 1996, 401, 1180, 1684, 3098, 652, 1932, 1216, 650, 1089, 863, 4052, 3796, 838, 3814, 3934, 3555, 4035, 641, 3498, 2687, 3646, 2978, 3433, 3446, 153, 1759, 4064, 2346, 1974, 3941, 2563, 3749, 3642, 3182, 703, 2370, 3790, 753, 2234, 1110, 739, 3618, 1209, 699}, {924, 619, 930, 2702, 3019, 2830, 2374, 1948, 3314, 1036, 3049, 403, 3982, 2987, 1468, 2779, 991, 2765, 3044, 2665, 851, 1929, 3849, 3015, 3525, 2349, 1876, 1174, 3899, 375, 2725, 411, 1656, 3678, 374, 2357, 1348, 1238, 1316, 1826, 742, 1910, 3318, 4086, 2809, 1119, 4014, 707, 1825, 2229, 758, 3176, 2388, 1000, 1524, 705, 631, 1504, 1097, 2950, 1999, 3002, 686, 3191}, {720, 1672, 2390, 3831, 649, 2592, 3162, 2161, 3554, 2085, 1156, 3115, 3326, 840, 2791, 3397, 2946, 2345, 697, 2875, 1551, 3869, 3960, 815, 1967, 1608, 2567, 3112, 2630, 2790, 3500, 4001, 2107, 567, 673, 61, 721, 2979, 3370, 730, 1801, 714, 1935, 945, 2683, 3854, 689, 667, 1766, 848, 2475, 2253, 62, 3102, 678, 2337, 404, 2381, 2028, 2341, 1027, 2575, 653, 2566}, {625, 1188, 3405, 2773, 709, 761, 3477, 2593, 2133, 2249, 2502, 1208, 2373, 3468, 3248, 2086, 2405, 647, 946, 2213, 3738, 1231, 832, 3306, 1740, 2199, 2645, 2141, 1279, 3824, 3978, 571, 1620, 2719, 3702, 2549, 2831, 1282, 2721, 2693, 2595, 3207, 1142, 2718, 2472, 2743, 3751, 3396, 3623, 3181, 3502, 1327, 1887, 4094, 2781, 3758, 2649, 1860, 2818, 847, 3774, 2507, 3484, 3246}}, {{465, 28, 453, 413, 343, 92, 509, 31}, {459, 483, 485, 487, 340, 423, 293, 439}, {316, 376, 248, 366, 252, 308, 444, 304}, {300, 189, 361, 336, 353, 77, 505, 181}, {3365, 3163, 2919, 992, 1094, 1535, 2191, 1272, 2763, 1644, 2535, 406, 1009, 2132, 1919, 2460, 2780, 1423, 3362, 1212, 1199, 1384, 3829, 2505, 1539, 2560, 947, 1615, 2839, 3629, 2382, 1606, 2490, 3317, 3372, 1532, 1164, 2269, 1220, 3357, 3770, 683, 3949, 2476, 2598, 2536, 2493, 2047, 3024, 2194, 1462, 3597, 1350, 3663, 694, 1977, 2727, 1256, 1465, 3619, 2380, 3196, 2464, 3817}, {681, 3798, 2986, 802, 2221, 2424, 1128, 856, 154, 691, 1940, 410, 3285, 645, 3760, 3014, 3447, 1417, 2471, 2024, 3996, 4017, 1878, 723, 3099, 2255, 1286, 2726, 3339, 2689, 3198, 2110, 2165, 1068, 1923, 1548, 3958, 2574, 3561, 3342, 3882, 542, 4053, 2015, 2155, 1106, 975, 2331, 3206, 1192, 1683, 3620, 3959, 3275, 3964, 2615, 2369, 1449, 113, 155, 3291, 1951, 665, 1953}, {2094, 2149, 539, 3838, 3645, 677, 2521, 3390, 2142, 657, 1654, 724, 3065, 2684, 834, 1225, 3704, 3509, 1268, 3847, 103, 1064, 1939, 1158, 2902, 688, 2134, 3944, 1441, 731, 1248, 666, 3648, 1059, 3330, 2421, 2166, 1190, 1215, 3403, 692, 2951, 2972, 2515, 934, 2106, 3211, 2454, 1718, 2383, 1430, 1727, 2340, 3046, 4030, 2663, 2746, 2074, 2078, 2961, 2703, 4085, 3109, 3598}, {1513, 2520, 3877, 3731, 282, 3582, 2637, 3830, 4069, 4038, 2003, 2508, 3815, 1324, 3018, 1014, 2906, 850, 2793, 2679, 1736, 3157, 2389, 2601, 899, 3809, 1628, 2954, 3599, 2819, 2243, 1254, 3131, 3989, 3177, 2596, 3119, 4021, 3755, 2541, 2506, 1702, 3761, 1961, 3505, 1460, 3541, 2473, 3478, 1375, 636, 898, 148, 746, 1281, 2564, 3845, 3742, 1228, 1795, 2504, 2016, 1782, 3367}}};
  ;
  bool flg;
  int id[8][8], x[12], y[12], v[8][8][64], X[1 << 12], Y[1 << 12], p[1 << 12];
  vector<int> a[8][8], b[8][8];
  inline void init()
  {
    if (flg)
      return;
    flg = 1;
    for (int i = 0, cnt = 0; i < 8; ++i)
      for (int j = 0; j < 8; ++j)
        if (i < 3 && j < 4)
          x[cnt] = i, y[cnt] = j, id[i][j] = cnt++;
        else
          id[i][j] = -1;
    for (int x = 0; x < 8; ++x)
      for (int y = 0; y < 8; ++y)
      {
        for (int i = 0; i < 3; ++i)
          for (int j = 0; j < 4; ++j)
            if (i - x && j - y)
              a[x][y].push_back(id[i][j]);
            else
              b[x][y].push_back(id[i][j]);
        for (int cnt = 0, S; auto i : tab[x][y])
        {
          for (int j = S = 0; j < (int)a[x][y].size(); ++j)
            if ((i >> j) & 1)
              S |= 1 << a[x][y][j];
          for (int j = 0, T; j < 1 << b[x][y].size(); ++j)
          {
            T = S;
            for (int k = 0; k < (int)b[x][y].size(); ++k)
              if ((j >> k) & 1)
                T |= 1 << b[x][y][k];
            X[T] = x;
            Y[T] = y;
            p[T] = cnt;
          }
          v[x][y][cnt++] = S;
        }
      }
  }
}
void Anna(int X, int Y, int N, string S)
{
  init();
  int t;
  long long val = 0;
  for (int i = 0; i < N; ++i)
    if (S[i] == 'B')
      val |= 1ll << i;
  t = v[X][Y][val & ((1 << (a[X][Y].size() - 6)) - 1)];
  val >>= a[X][Y].size() - 6;
  for (int i = 0; i < 8; ++i)
    for (int j = 0; j < 8; ++j)
      if (i - X && j - Y)
      {
        if (id[i][j] < 0)
          Paint(i, j, val & 1), val >>= 1;
        else
          Paint(i, j, (t >> id[i][j]) & 1);
      }
}

Bruno

#include "Anna.h"
#include <vector>
using namespace std;
namespace
{
  const vector<int> tab[8][8] =
      {{{2}, {0}, {32}, {8}, {30, 31, 36, 37}, {13, 14, 15, 18}, {26, 27, 28, 29}, {8, 10, 11, 12}}, {{21}, {19}, {30}, {29}, {117, 119, 123, 125}, {106, 107, 109, 110}, {85, 87, 93, 94}, {55, 59, 77, 78}}, {{25}, {9}, {24}, {8}, {96, 97, 100, 102}, {56, 57, 60, 63}, {28, 31, 50, 54}, {18, 20, 22, 25}}, {{336, 161, 185, 501, 177, 29, 319, 433}, {479, 130, 503, 368, 128, 447, 365, 313}, {160, 289, 504, 491, 406, 407, 176, 478}, {480, 425, 208, 417, 401, 13, 297, 448}, {1264, 1807, 2137, 1318, 1011, 1612, 767, 1033, 2218, 3192, 1456, 2392, 849, 2017, 2267, 4010, 2503, 1793, 1516, 1897, 1346, 359, 3557, 570, 719, 2348, 58, 771, 685, 1004, 1032, 3795, 1091, 1622, 2512, 2152, 2673, 3643, 3524, 660, 3297, 2087, 2379, 2338, 2251, 993, 1359, 648, 1903, 2891, 3101, 3315, 2854, 1425, 3432, 1206, 962, 3957, 3985, 3590, 2871, 2375, 2634, 3701}, {2823, 3963, 2583, 2031, 620, 994, 770, 3410, 663, 2534, 1023, 2481, 2301, 1263, 3479, 3341, 2295, 2785, 783, 3189, 3703, 2850, 2263, 2271, 3901, 1912, 3114, 3722, 1222, 3411, 2339, 963, 2417, 2753, 3518, 752, 1791, 3355, 23, 2786, 3621, 679, 3988, 3047, 2974, 622, 1716, 2561, 1600, 101, 2517, 1144, 2103, 3687, 3980, 1407, 3842, 2500, 3387, 409, 2090, 2246, 1039, 2722}, {4072, 1896, 927, 146, 2231, 3419, 3117, 3305, 960, 3661, 3588, 1761, 2081, 977, 3104, 3797, 979, 4039, 3166, 711, 630, 2569, 145, 1964, 1828, 2449, 2605, 2365, 3058, 2422, 2764, 2921, 2628, 3473, 1363, 3466, 1464, 1398, 3828, 2862, 727, 2297, 3491, 3559, 2336, 2573, 2178, 2469, 3799, 117, 2681, 3175, 3994, 1436, 3395, 1247, 3558, 1224, 3154, 3879, 734, 2775, 2012, 2599}, {2651, 2706, 2092, 1388, 318, 2071, 3560, 2631, 2970, 716, 2653, 2128, 3662, 3452, 735, 402, 3375, 1184, 1025, 2477, 3228, 1295, 3398, 3337, 2700, 2523, 2998, 27, 147, 2846, 118, 1731, 1103, 357, 309, 2511, 1252, 4036, 3720, 1916, 2293, 3429, 2958, 3034, 3108, 3884, 2093, 717, 3402, 2391, 2733, 1711, 3547, 3243, 3556, 4026, 4022, 1129, 950, 3249, 913, 1347, 833, 915}}, {{30, 375, 169, 467, 249, 367, 372, 233}, {450, 395, 349, 495, 449, 312, 415, 427}, {188, 508, 490, 418, 302, 334, 294, 170}, {424, 352, 193, 212, 441, 196, 489, 192}, {2513, 3457, 1132, 3133, 1544, 756, 745, 1983, 2855, 759, 3237, 3110, 3312, 3111, 2730, 3531, 2474, 151, 1292, 2463, 4062, 3373, 2757, 3881, 3586, 2211, 59, 1689, 895, 1283, 762, 1794, 2372, 1107, 3371, 4065, 1160, 806, 3970, 3439, 2466, 3587, 2139, 996, 2275, 1796, 876, 2959, 1747, 2807, 3943, 1257, 2426, 2470, 2261, 3804, 2004, 1676, 4012, 3885, 2975, 3591, 3573, 1681}, {3448, 2629, 1756, 1284, 886, 3726, 535, 2723, 1313, 747, 654, 30, 2518, 2926, 2886, 1945, 3183, 4023, 3239, 3057, 2143, 3813, 119, 2903, 3106, 1010, 2509, 2467, 3853, 4068, 1366, 2738, 4070, 3217, 1148, 623, 2696, 659, 643, 695, 2130, 317, 1721, 1576, 976, 3707, 3489, 2153, 369, 1713, 3052, 3386, 3322, 2995, 1512, 754, 412, 3998, 3784, 2455, 2397, 2994, 2822, 4034}, {998, 1836, 156, 943, 2935, 3369, 2524, 2407, 2377, 921, 4087, 1640, 1270, 1679, 3822, 3589, 2082, 2342, 682, 1871, 3750, 725, 3118, 3855, 2510, 3454, 407, 1900, 2622, 2359, 150, 2762, 3303, 3389, 3063, 3919, 2468, 2983, 1641, 1409, 854, 1487, 2277, 1428, 1100, 2215, 2545, 3874, 3886, 3740, 4037, 715, 3717, 2080, 2714, 2387, 1471, 1505, 55, 2646, 1833, 2281, 738, 655}, {674, 2025, 3614, 2940, 2140, 1314, 3584, 1884, 2514, 3273, 2736, 3159, 2597, 3399, 3946, 2366, 3445, 2368, 1289, 1520, 2247, 911, 671, 2982, 634, 2904, 1356, 414, 2207, 675, 1455, 2204, 835, 1172, 2485, 2101, 743, 3155, 415, 1017, 2189, 1007, 2351, 4060, 1153, 751, 2399, 2716, 2590, 3310, 902, 1183, 2226, 1391, 1987, 892, 1804, 26, 3616, 3335, 2371, 733, 1583, 2787}}, {{469, 287, 466, 116, 435, 381, 337, 325}, {284, 426, 470, 301, 493, 429, 226, 369}, {419, 380, 436, 234, 292, 471, 379, 388}, {377, 228, 273, 360, 141, 488, 320, 209}, {2527, 3852, 2635, 2363, 3563, 2131, 2327, 3710, 3553, 2701, 995, 1830, 2084, 2083, 1528, 2135, 2557, 732, 53, 2088, 670, 1151, 1769, 3107, 2151, 2347, 1096, 2285, 3323, 1631, 2167, 2386, 1937, 314, 279, 2409, 3514, 3622, 2858, 1526, 961, 1433, 690, 2224, 718, 3676, 1827, 286, 881, 3693, 3319, 2993, 3338, 3706, 3116, 1969, 2501, 2171, 1663, 931, 3969, 283, 3945, 1315}, {2343, 1204, 2154, 3530, 2182, 1986, 2947, 1692, 3180, 574, 1321, 698, 1439, 3932, 879, 3299, 3806, 1167, 2619, 2411, 3025, 2553, 3343, 3437, 3723, 2109, 687, 2095, 4071, 2242, 1839, 2533, 2943, 2525, 755, 1457, 4073, 959, 3689, 1695, 1135, 1200, 2686, 763, 1400, 1921, 3562, 3340, 2344, 3470, 1217, 2964, 2537, 1743, 1798, 2091, 2652, 2778, 1452, 2451, 916, 2532, 2999, 1780}, {3729, 1712, 3235, 2089, 1071, 3134, 3971, 2350, 2452, 3173, 1667, 1580, 3870, 2465, 668, 1169, 615, 2936, 3754, 3788, 3578, 1385, 3613, 158, 2519, 766, 3431, 1604, 3307, 1177, 2265, 3781, 2711, 2698, 3333, 2075, 2924, 1092, 1420, 702, 1660, 1571, 1484, 3035, 635, 1201, 3242, 2396, 1249, 2209, 1519, 2851, 2129, 3262, 3130, 1152, 1862, 2562, 803, 2362, 737, 1776, 1090, 1001}, {2633, 3579, 3917, 1868, 373, 1404, 3209, 3685, 1503, 311, 3251, 618, 2887, 953, 3059, 3794, 3062, 2179, 1647, 2038, 2618, 639, 774, 2644, 2929, 3316, 2183, 1260, 1922, 2237, 3407, 3258, 2540, 3394, 3415, 3476, 2268, 3414, 1775, 2594, 159, 2279, 2169, 3552, 2516, 2934, 3724, 3301, 2678, 1276, 3708, 2647, 651, 3730, 3190, 2955, 1748, 966, 3413, 2273, 3158, 841, 3490, 538}}, {{505, 417, 303, 383, 489, 209, 286, 317}, {431, 297, 511, 314, 242, 298, 502, 482}, {432, 378, 288, 162, 180, 416, 306, 404}, {296, 464, 481, 364, 313, 157, 385, 236}, {2423, 2384, 1196, 2385, 750, 315, 2889, 2565, 1088, 2450, 1161, 3048, 857, 3250, 2264, 638, 1494, 1362, 3374, 1996, 401, 1180, 1684, 3098, 652, 1932, 1216, 650, 1089, 863, 4052, 3796, 838, 3814, 3934, 3555, 4035, 641, 3498, 2687, 3646, 2978, 3433, 3446, 153, 1759, 4064, 2346, 1974, 3941, 2563, 3749, 3642, 3182, 703, 2370, 3790, 753, 2234, 1110, 739, 3618, 1209, 699}, {924, 619, 930, 2702, 3019, 2830, 2374, 1948, 3314, 1036, 3049, 403, 3982, 2987, 1468, 2779, 991, 2765, 3044, 2665, 851, 1929, 3849, 3015, 3525, 2349, 1876, 1174, 3899, 375, 2725, 411, 1656, 3678, 374, 2357, 1348, 1238, 1316, 1826, 742, 1910, 3318, 4086, 2809, 1119, 4014, 707, 1825, 2229, 758, 3176, 2388, 1000, 1524, 705, 631, 1504, 1097, 2950, 1999, 3002, 686, 3191}, {720, 1672, 2390, 3831, 649, 2592, 3162, 2161, 3554, 2085, 1156, 3115, 3326, 840, 2791, 3397, 2946, 2345, 697, 2875, 1551, 3869, 3960, 815, 1967, 1608, 2567, 3112, 2630, 2790, 3500, 4001, 2107, 567, 673, 61, 721, 2979, 3370, 730, 1801, 714, 1935, 945, 2683, 3854, 689, 667, 1766, 848, 2475, 2253, 62, 3102, 678, 2337, 404, 2381, 2028, 2341, 1027, 2575, 653, 2566}, {625, 1188, 3405, 2773, 709, 761, 3477, 2593, 2133, 2249, 2502, 1208, 2373, 3468, 3248, 2086, 2405, 647, 946, 2213, 3738, 1231, 832, 3306, 1740, 2199, 2645, 2141, 1279, 3824, 3978, 571, 1620, 2719, 3702, 2549, 2831, 1282, 2721, 2693, 2595, 3207, 1142, 2718, 2472, 2743, 3751, 3396, 3623, 3181, 3502, 1327, 1887, 4094, 2781, 3758, 2649, 1860, 2818, 847, 3774, 2507, 3484, 3246}}, {{465, 28, 453, 413, 343, 92, 509, 31}, {459, 483, 485, 487, 340, 423, 293, 439}, {316, 376, 248, 366, 252, 308, 444, 304}, {300, 189, 361, 336, 353, 77, 505, 181}, {3365, 3163, 2919, 992, 1094, 1535, 2191, 1272, 2763, 1644, 2535, 406, 1009, 2132, 1919, 2460, 2780, 1423, 3362, 1212, 1199, 1384, 3829, 2505, 1539, 2560, 947, 1615, 2839, 3629, 2382, 1606, 2490, 3317, 3372, 1532, 1164, 2269, 1220, 3357, 3770, 683, 3949, 2476, 2598, 2536, 2493, 2047, 3024, 2194, 1462, 3597, 1350, 3663, 694, 1977, 2727, 1256, 1465, 3619, 2380, 3196, 2464, 3817}, {681, 3798, 2986, 802, 2221, 2424, 1128, 856, 154, 691, 1940, 410, 3285, 645, 3760, 3014, 3447, 1417, 2471, 2024, 3996, 4017, 1878, 723, 3099, 2255, 1286, 2726, 3339, 2689, 3198, 2110, 2165, 1068, 1923, 1548, 3958, 2574, 3561, 3342, 3882, 542, 4053, 2015, 2155, 1106, 975, 2331, 3206, 1192, 1683, 3620, 3959, 3275, 3964, 2615, 2369, 1449, 113, 155, 3291, 1951, 665, 1953}, {2094, 2149, 539, 3838, 3645, 677, 2521, 3390, 2142, 657, 1654, 724, 3065, 2684, 834, 1225, 3704, 3509, 1268, 3847, 103, 1064, 1939, 1158, 2902, 688, 2134, 3944, 1441, 731, 1248, 666, 3648, 1059, 3330, 2421, 2166, 1190, 1215, 3403, 692, 2951, 2972, 2515, 934, 2106, 3211, 2454, 1718, 2383, 1430, 1727, 2340, 3046, 4030, 2663, 2746, 2074, 2078, 2961, 2703, 4085, 3109, 3598}, {1513, 2520, 3877, 3731, 282, 3582, 2637, 3830, 4069, 4038, 2003, 2508, 3815, 1324, 3018, 1014, 2906, 850, 2793, 2679, 1736, 3157, 2389, 2601, 899, 3809, 1628, 2954, 3599, 2819, 2243, 1254, 3131, 3989, 3177, 2596, 3119, 4021, 3755, 2541, 2506, 1702, 3761, 1961, 3505, 1460, 3541, 2473, 3478, 1375, 636, 898, 148, 746, 1281, 2564, 3845, 3742, 1228, 1795, 2504, 2016, 1782, 3367}}};
  ;
  bool flg;
  int id[8][8], x[12], y[12], v[8][8][64], X[1 << 12], Y[1 << 12], p[1 << 12];
  vector<int> a[8][8], b[8][8];
  inline void init()
  {
    if (flg)
      return;
    flg = 1;
    for (int i = 0, cnt = 0; i < 8; ++i)
      for (int j = 0; j < 8; ++j)
        if (i < 3 && j < 4)
          x[cnt] = i, y[cnt] = j, id[i][j] = cnt++;
        else
          id[i][j] = -1;
    for (int x = 0; x < 8; ++x)
      for (int y = 0; y < 8; ++y)
      {
        for (int i = 0; i < 3; ++i)
          for (int j = 0; j < 4; ++j)
            if (i - x && j - y)
              a[x][y].push_back(id[i][j]);
            else
              b[x][y].push_back(id[i][j]);
        for (int cnt = 0, S; auto i : tab[x][y])
        {
          for (int j = S = 0; j < (int)a[x][y].size(); ++j)
            if ((i >> j) & 1)
              S |= 1 << a[x][y][j];
          for (int j = 0, T; j < 1 << b[x][y].size(); ++j)
          {
            T = S;
            for (int k = 0; k < (int)b[x][y].size(); ++k)
              if ((j >> k) & 1)
                T |= 1 << b[x][y][k];
            X[T] = x;
            Y[T] = y;
            p[T] = cnt;
          }
          v[x][y][cnt++] = S;
        }
      }
  }
}
string Bruno(int N, vector<vector<int>> T)
{
  init();
  int S = 0;
  string res;
  for (int i = 0; i < 3; ++i)
    for (int j = 0; j < 4; ++j)
      S |= T[i][j] << id[i][j];
  int x = X[S], y = Y[S];
  long long val = p[S];
  for (int i = 0, cnt = a[x][y].size() - 6; i < 8; ++i)
    for (int j = 0; j < 8; ++j)
      if (i - x && j - y && id[i][j] < 0)
        val |= ((long long)T[i][j]) << (cnt++);
  for (int i = 0; i < N; ++i)
    res += ((val >> i) & 1) ? "B" : "A";
  return res;
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 33ms
memory: 3408kb

Manager to Anna

20000
1 7 1 A
2 3 1 A
0 1 1 A
1 1 1 A
7 4 1 A
2 3 1 A
0 3 1 B
0 7 1 A
4 2 1 B
5 4 1 A
6 0 1 B
7 3 1 A
0 7 1 A
2 3 1 A
1 6 1 A
5 2 1 B
2 7 1 B
6 3 1 A
3 3 1 A
1 7 1 A
2 3 1 A
1 2 1 A
5 3 1 A
3 5 1 A
4 3 1 A
2 3 1 A
4 6 1 B
7 3 1 B
2 3 1 A
4 4 1 A
7 3 1 A
4 5 1 B
0 7 1 A
0 3 1 B
2 0 1 B
4 1 1 A
6 0 1 ...

Anna to Manager

1110000110000000000000000000000000000000000000000
0000000100000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000
1100000010000000000000000000000000000000000000000
1010000010000010110000000000000000000000000000000
0000000100000000000000000000000000000000000000000
...

Manager to Bruno

20000
1 1110000110010100110000000000000000000001000000000000000100000000
1 0001000010000000000011000001000000010000000100000000000000010000
1 1101011101000000000000000100000000000000010000000100000001000000
1 1110000000000001001000000000000000000000010000000000000000000000
1 101010000100100010110000...

Bruno to Manager

A
A
A
A
A
A
B
A
B
A
B
A
A
A
A
B
B
A
A
A
A
A
A
A
A
A
B
B
A
A
A
B
A
B
B
A
B
A
B
B
A
A
B
A
A
A
A
B
A
B
A
A
B
B
A
A
A
A
A
A
A
B
A
B
A
B
B
A
A
A
B
B
B
B
B
A
B
A
B
A
A
B
A
A
A
B
B
B
A
A
B
A
B
A
A
B
B
A
A
B
A
A
B
A
A
A
A
A
A
A
B
B
B
A
B
A
A
A
A
A
A
A
A
B
A
A
B
A
A
B
A
A
B
A
A
A
A
B
A
A
B
A
A
A
A
B
A
A
A
A
...

result:

points 1.0 Accepted: 43

Test #2:

score: 100
Accepted
time: 37ms
memory: 3396kb

Manager to Anna

20000
3 6 2 AA
6 6 2 BB
7 6 2 AA
2 7 2 BB
2 7 2 BB
6 4 2 BB
7 0 2 BB
1 4 2 BB
1 6 2 BB
5 2 2 BB
0 5 2 BB
2 7 2 BB
1 3 2 BB
7 2 2 BB
5 2 2 AA
5 1 2 AB
0 0 2 BB
6 5 2 AB
3 2 2 AA
6 1 2 BB
2 7 2 BB
4 6 2 AB
2 0 2 BB
2 1 2 BB
1 6 2 AA
7 1 2 BA
5 6 2 BA
2 6 2 AB
2 7 2 BB
5 2 2 BA
7 6 2 AA
0 0 2 BB
1 0 2 ...

Anna to Manager

0001000011100011110000000000000000000000000000000
1110000111100001110000000000000000000000000000000
0111000010000000010000000000000000000000000000000
1001000100000000000000000000000000000000000000000
1001000100000000000000000000000000000000000000000
1000000101000010010000000000000000000000000000000
...

Manager to Bruno

20000
2 0001001001110010111100000101000000000010000000000000001000000000
2 1110001011110000011100000000000000000000000000001100111000000010
2 0111001001000010000100000000001000000000000000100000001011010111
2 1001000110000000000000100000000000000000000000010000000000000000
2 100100011000000101001110...

Bruno to Manager

AA
BB
AA
BB
BB
BB
BB
BB
BB
BB
BB
BB
BB
BB
AA
AB
BB
AB
AA
BB
BB
AB
BB
BB
AA
BA
BA
AB
BB
BA
AA
BB
BA
BB
AA
BB
AB
AA
BB
BB
AA
AA
BA
AB
AB
AA
BA
BB
AB
BB
AB
BB
BB
BB
BB
BB
AB
BB
BB
AB
BB
BB
BB
BB
BB
AB
BB
AA
BB
BA
BB
BB
BB
AA
BB
BA
AA
BA
BB
BA
BB
BB
BA
BB
BB
AA
BB
BB
AA
BB
AA
BB
BA
AA
BB
BB
BB
AB
BB
BB
...

result:

points 1.0 Accepted: 43

Test #3:

score: 100
Accepted
time: 38ms
memory: 3472kb

Manager to Anna

20000
4 5 3 AAA
6 5 3 AAA
6 2 3 BAA
4 7 3 ABA
5 6 3 AAB
4 0 3 ABB
5 7 3 BAB
7 0 3 BBB
5 7 3 ABA
4 5 3 AAA
4 5 3 AAA
0 1 3 AAB
4 5 3 AAA
7 2 3 AAA
4 5 3 AAA
1 2 3 AAA
4 4 3 ABA
2 4 3 AAA
2 2 3 BBB
1 5 3 ABB
0 7 3 AAA
1 6 3 ABB
4 4 3 AAA
3 0 3 AAA
6 7 3 BBB
1 2 3 BAA
7 4 3 BBB
5 5 3 BBA
1 7 3 BAA
0 6 ...

Anna to Manager

0001000111000010110000000000000000000000000000000
0011000100100011000000000000000000000000000000000
0100000111000010100000000000000000000000000000000
0111000100000001110000000000000000000000000000000
1111000010000000100000000000000000000000000000000
0010000011000010100000000000000000000000000000000
...

Manager to Bruno

20000
3 0001010011100100101100000000000010100001000000000000010000000000
3 0011010010010000110000000000000000000000000000001100111000000100
3 0110000011110000100100000010000000000000001000001110101100100000
3 0111000110000000011100000000000000001000000000010000000000000000
3 111100100100001000100000...

Bruno to Manager

AAA
AAA
BAA
ABA
AAB
ABB
BAB
BBB
ABA
AAA
AAA
AAB
AAA
AAA
AAA
AAA
ABA
AAA
BBB
ABB
AAA
ABB
AAA
AAA
BBB
BAA
BBB
BBA
BAA
BBB
AAA
BBA
AAA
AAA
ABB
BAB
ABA
AAA
BBB
AAA
ABA
BBB
ABB
AAA
BAB
AAA
AAA
BBA
AAA
ABA
AAA
AAA
AAA
BBB
BBB
ABB
AAA
ABA
AAA
AAA
BBB
BBB
BBB
BBB
AAA
BBB
AAA
AAB
BBB
BBA
BBB
AAA
ABB
AAA
AAA
...

result:

points 1.0 Accepted: 43

Test #4:

score: 100
Accepted
time: 34ms
memory: 3360kb

Manager to Anna

20000
7 3 4 BBAB
2 5 4 ABAB
3 6 4 ABAA
3 4 4 AABA
4 5 4 AABA
5 7 4 BAAA
6 3 4 BAAA
2 3 4 AABA
5 3 4 AAAA
5 2 4 AABA
3 4 4 AABA
3 3 4 AABA
3 4 4 AABA
4 3 4 BAAB
5 0 4 BBBB
5 2 4 AAAA
4 1 4 AAAA
3 4 4 AABA
4 1 4 BBBB
7 3 4 BBBB
3 4 4 AABA
4 2 4 AAAA
3 0 4 AABA
3 4 4 AABA
3 3 4 AABA
5 6 4 AABB
0 7 4 AA...

Anna to Manager

0001000010000010100000000000000000000000000000000
0011010110000000000000000000000000000000000000000
1111000100100011000000000000000000000000000000000
1100000111100011000000000000000000000000000000000
0110000111000011000000000000000000000000000000000
1101000111100010110000000000000000000000000000000
...

Manager to Bruno

20000
4 0001100001010000101000000000000000010000000000000001000000001010
4 0011011011000000000011000000010000000100000001000000000000000100
4 1111001010010010110000001011110100000000000000100000001000000010
4 1100100011110000110000000000010000000000000010000000000000000000
4 011001001110010011000000...

Bruno to Manager

BBAB
ABAB
ABAA
AABA
AABA
BAAA
BAAA
AABA
AAAA
AABA
AABA
AABA
AABA
BAAB
BBBB
AAAA
AAAA
AABA
BBBB
BBBB
AABA
AAAA
AABA
AABA
AABA
AABB
AABA
AABA
BBBB
AABA
BBAB
AABA
AABA
ABAA
AAAA
BBBB
AABA
AABB
AAAB
ABBB
BBBB
AAAA
BBBB
BBBA
BBBB
AABA
AABA
BBBB
AABB
AAAB
BBBB
ABAA
BBBB
AAAB
BABA
AAAB
AAAA
BBBB
BBAB
AABA
...

result:

points 1.0 Accepted: 43

Test #5:

score: 100
Accepted
time: 39ms
memory: 3428kb

Manager to Anna

20000
3 6 5 BBBBB
5 0 5 BBBAB
2 7 5 BAAAA
7 2 5 BBBBB
2 4 5 BAAAB
3 0 5 BBBBB
3 2 5 BBBBB
1 4 5 BBABB
3 1 5 BAABA
6 2 5 AAAAA
3 1 5 AAAAA
6 5 5 AAAAB
7 1 5 BAABA
1 6 5 BBBBB
6 2 5 ABABB
2 3 5 BBBAA
3 1 5 AAAAA
3 2 5 BAABA
7 7 5 AABAB
2 5 5 AAAAB
3 0 5 AAAAA
3 3 5 BAAAB
6 5 5 BBABB
4 5 5 BBABB
6 0 5 ...

Anna to Manager

1001000011000011010000000000000000000000000000000
1010100000000010100000000000000000000000000000000
0010000100000000000000000000000000000000000000000
0001100011000000100000000000000000000000000000000
1000001011000000000000000000000000000000000000000
1001100011000001100000000000000000000000000000000
...

Manager to Bruno

20000
5 1001001001100010110100000101000000000010000000000000001000000000
5 1101010000000000010100000000000000000000011001110000000010000000
5 0010000110000001010111100000000100000000000000010000000100000001
5 0010110001010000000100000000000000000000000000000000000001000100
5 100010010110100001001110...

Bruno to Manager

BBBBB
BBBAB
BAAAA
BBBBB
BAAAB
BBBBB
BBBBB
BBABB
BAABA
AAAAA
AAAAA
AAAAB
BAABA
BBBBB
ABABB
BBBAA
AAAAA
BAABA
AABAB
AAAAB
AAAAA
BAAAB
BBABB
BBABB
BAABA
AABBB
BBBBB
BBBBA
BAABA
BBBBB
AAABA
AAAAA
ABBBA
AAAAA
AABAA
BAABA
BAABA
BAABA
AAABA
BAABB
BAABA
AABAA
BBBAA
BABBB
BAABA
BBBBB
BBBBB
AAAAA
AAAAA
BBBBB
...

result:

points 1.0 Accepted: 43

Test #6:

score: 100
Accepted
time: 34ms
memory: 3428kb

Manager to Anna

20000
6 7 6 AAAAAB
2 7 6 ABBBBB
5 2 6 AABAAA
5 3 6 BABBBA
2 0 6 AABAAA
6 0 6 AAABBA
1 4 6 BAAAAA
3 0 6 BBBBBA
6 7 6 AABAAA
6 4 6 ABBAAA
6 2 6 ABAABA
3 3 6 BBBBBB
3 0 6 AAAABA
2 5 6 BBBBBB
1 4 6 AAAAAB
7 7 6 AABAAA
1 3 6 AAAAAA
5 5 6 ABBBBB
1 3 6 AABAAA
3 3 6 BBBBBA
6 0 6 AABBAB
5 2 6 AABAAA
3 0 6 AA...

Anna to Manager

0010000101000001100000000000000000000000000000000
0110111100010000000000000000000000000000000000000
0010000001000000100000000000000000000000000000000
0001100101000011100000000000000000000000000000000
1000010110000000000000000000000000000000000000000
1001100111000011100000000000000000000000000000000
...

Manager to Bruno

20000
6 0010000110100001011000000000000000000001000000001000010100000000
6 0110111110001000000011000000000100000001000000010000000000000001
6 0011000000110000000100000010000000000000111101010010000000100000
6 0001110010100000111000000000000000000000000100010000000000000000
6 110000101110000001001110...

Bruno to Manager

AAAAAB
ABBBBB
AABAAA
BABBBA
AABAAA
AAABBA
BAAAAA
BBBBBA
AABAAA
ABBAAA
ABAABA
BBBBBB
AAAABA
BBBBBB
AAAAAB
AABAAA
AAAAAA
ABBBBB
AABAAA
BBBBBA
AABBAB
AABAAA
AAAAAA
AABAAA
AABAAA
ABBABB
ABBABB
BBBBBB
AAAAAA
BABBAB
AABBAB
AAAAAA
BAAAAA
BBAABB
AABBBA
ABAAAA
AABBBA
AAAAAA
AAAAAA
BBBBBB
BBBBBB
BBBABB
AABAAA...

result:

points 1.0 Accepted: 43

Test #7:

score: 100
Accepted
time: 34ms
memory: 3336kb

Manager to Anna

20000
2 0 7 BBAABAB
1 0 7 AAAAAAA
7 6 7 ABBABBB
5 4 7 BBAABAB
7 5 7 BBAAAAA
1 6 7 BBAABAB
0 3 7 BBBABBB
6 1 7 BBBBBBB
1 6 7 BBAABAB
7 7 7 BABAAAB
1 4 7 BBBBABA
0 6 7 BBAABAB
1 5 7 BBAABBB
4 3 7 BBBABBB
3 5 7 AAAAAAB
0 2 7 BABAAAB
0 0 7 BBAABAB
0 0 7 BBAABAB
1 6 7 BBAABAB
4 7 7 ABBBAAB
1 6 7 BBAABAB
...

Anna to Manager

1001100110101000000000000000000000000000000000000
1010000010000000000000000000000000000000000000000
0111100110100011110000000000000000000000000000000
0001100010000000010000000000000000000000000000000
0100000010000011000000000000000000000000000000000
0111001101001000000000000000000000000000000000000
...

Manager to Bruno

20000
7 1100110011101010001010000000000010000000000000001000000000000000
7 1101000000000110001000001000000010000000100000000000000010000000
7 0111101011010010111100000000001000000000000000100000001011010111
7 0001110001000000000100000000000000000000000100010000000000000000
7 010001000100010011000000...

Bruno to Manager

BBAABAB
AAAAAAA
ABBABBB
BBAABAB
BBAAAAA
BBAABAB
BBBABBB
BBBBBBB
BBAABAB
BABAAAB
BBBBABA
BBAABAB
BBAABBB
BBBABBB
AAAAAAB
BABAAAB
BBAABAB
BBAABAB
BBAABAB
ABBBAAB
BBAABAB
BBAABAB
BBAABAB
BBAABAB
BAAAAAB
BAAAABA
BBAABAB
BBBBBBB
BBAABAB
BAABBBA
AABBBBA
AAABBAB
BBBBBAB
ABBAABB
BBAABAB
BBAABBB
AAAAAAA
BAAB...

result:

points 1.0 Accepted: 43

Test #8:

score: 100
Accepted
time: 38ms
memory: 3500kb

Manager to Anna

20000
4 1 8 AABABBAA
7 1 8 ABABBAAB
1 0 8 BABAABBA
3 2 8 AABABBAA
3 1 8 AAABAAAA
3 4 8 AAAAAAAA
0 5 8 BBBBBBBA
2 5 8 AABBAAAA
1 5 8 BBBBABBB
2 5 8 AABABBAA
1 2 8 BBBBBBBB
1 2 8 BBBBBBBB
3 1 8 BAABBABB
1 3 8 BABABAAA
2 3 8 AABABBAA
4 0 8 AABABBAA
7 5 8 AABABBBB
4 5 8 AAAAAAAA
2 0 8 BAAABBAA
4 7 8 AAB...

Anna to Manager

1000110000000011100000000000000000000000000000000
1011100001100011100000000000000000000000000000000
1011010010011000000000000000000000000000000000000
0110110010000001100000000000000000000000000000000
1111000110000011100000000000000000000000000000000
0000000111100000100000000000000000000000000000000
...

Manager to Bruno

20000
8 1100011001000000101100000000000010100001000000000100000000000000
8 1101110000011000101100000000000000000000000000000100000010011101
8 1101101010101111001001101000000000000000100000001000000010000000
8 0111011001000000010100000000010000000000001000000000000000000000
8 111110001110000010110000...

Bruno to Manager

AABABBAA
ABABBAAB
BABAABBA
AABABBAA
AAABAAAA
AAAAAAAA
BBBBBBBA
AABBAAAA
BBBBABBB
AABABBAA
BBBBBBBB
BBBBBBBB
BAABBABB
BABABAAA
AABABBAA
AABABBAA
AABABBBB
AAAAAAAA
BAAABBAA
AABABBAA
AABABBAA
AABABBAA
AABABBAA
AABAABAA
AABABBAA
BBBBBBBA
ABBAABAB
BBAAABBB
ABBBAABA
AABABBAA
AABABBAA
BBBBBBBB
AABABBAA
AAB...

result:

points 1.0 Accepted: 43

Test #9:

score: 100
Accepted
time: 29ms
memory: 3408kb

Manager to Anna

20000
5 1 9 ABBAABBBB
1 6 9 ABBAABBBB
2 6 9 AAAAAAAAA
3 5 9 BBBBBBBBB
6 0 9 AAABBAAAB
3 3 9 BBBBBBBBA
6 2 9 BBBBBAABB
7 5 9 AAAAAAAAA
6 4 9 BABBBBBAB
4 7 9 BBBBBBBBB
3 1 9 AAABAAAAA
7 1 9 ABBAABBBB
7 1 9 BABBBAABB
7 3 9 AAAAABBAA
1 3 9 AAAAAAAAA
6 6 9 AABABBAAB
4 3 9 AABBAAAAA
4 3 9 AAAAAAAAA
5 0 9 ...

Anna to Manager

0100011001110011000000000000000000000000000000000
1011100101011110000000000000000000000000000000000
0011000100000000000000000000000000000000000000000
0100111010100001010000000000000000000000000000000
1001100111010011100000000000000000000000000000000
0001111000100011100000000000000000000000000000000
...

Manager to Bruno

20000
9 0110001101011100101000000000000001000000010000100100000000000000
9 1011101000000110101011011000001000000010000000100000000000000010
9 0011001010000010010111100000001000000000000000100000001000000010
9 0100111101010000010100000000010000000000000001000000000000000000
9 110011001111010001110000...

Bruno to Manager

ABBAABBBB
ABBAABBBB
AAAAAAAAA
BBBBBBBBB
AAABBAAAB
BBBBBBBBA
BBBBBAABB
AAAAAAAAA
BABBBBBAB
BBBBBBBBB
AAABAAAAA
ABBAABBBB
BABBBAABB
AAAAABBAA
AAAAAAAAA
AABABBAAB
AABBAAAAA
AAAAAAAAA
ABBAABBBB
AAAABABBA
ABAAAAABA
ABBAABBBB
BAAAAABAB
ABBAABBBB
ABBAABBBB
ABBBABABA
BBABBBABB
AAAAAAAAA
BAAAAAAAA
ABBAABBBB
...

result:

points 1.0 Accepted: 43

Test #10:

score: 100
Accepted
time: 32ms
memory: 3392kb

Manager to Anna

20000
3 0 10 BBBBBBAABB
0 4 10 BBBBBABBBB
1 0 10 BBBABABBAA
1 6 10 BBBAABBBBA
0 4 10 AAABAAAAAB
6 0 10 ABBBBBABAB
7 0 10 BBBBBBBBBB
0 1 10 ABBBBBBBAB
0 1 10 BABBBABABA
6 4 10 BABABABABB
2 6 10 BBBABABBAA
6 1 10 BBABABAAAA
6 4 10 BBBABABBAA
4 0 10 BBBBBBBBBB
3 7 10 BBBBBBBBBB
6 4 10 BBBABABBAA
0 6 10...

Anna to Manager

1001110011011001100000000000000000000000000000000
1010111010001111000000000000000000000000000000000
1011110010101100000000000000000000000000000000000
0111100101011110000000000000000000000000000000000
0111010100000001000000000000000000000000000000000
0111110110101000100000000000000000000000000000000
...

Manager to Bruno

20000
10 1100111010110110001100000101000010000000000000001000000000000000
10 1000001110100111010000111100100000001000000010000000000000001000
10 1101111010101111001010111000000000000000100000001000000010000000
10 0111101000000001101011011000000000000000000000100000000000000000
10 1101001101111010100...

Bruno to Manager

BBBBBBAABB
BBBBBABBBB
BBBABABBAA
BBBAABBBBA
AAABAAAAAB
ABBBBBABAB
BBBBBBBBBB
ABBBBBBBAB
BABBBABABA
BABABABABB
BBBABABBAA
BBABABAAAA
BBBABABBAA
BBBBBBBBBB
BBBBBBBBBB
BBBABABBAA
BBBBBABBBB
BBBABABBAA
BBBABABBAA
BBBBBBBBBB
AABABAAAAA
ABBBABBBAA
ABAAAAABAA
AAAAAAAAAA
BBBABABBAA
BBBBBABBAB
BBBABABBAA
BBB...

result:

points 1.0 Accepted: 43

Test #11:

score: 100
Accepted
time: 41ms
memory: 3504kb

Manager to Anna

20000
7 0 11 BAABAAAAABB
2 1 11 BABBABAAAAA
7 2 11 BABBABAABBA
5 3 11 BABBABAABBA
5 7 11 BABBABAABBA
2 4 11 ABABAAAAABB
1 2 11 BBBBBABBBBB
5 6 11 ABABAAABABB
0 7 11 AAAAAAAAAAA
3 3 11 BABBABAABBA
5 2 11 ABABAAABABB
5 2 11 BABBABAABBA
7 4 11 AABBABBBABB
5 1 11 AAAAABAAAAA
5 3 11 BABBABAABBA
6 1 11 AB...

Anna to Manager

0011000110001100000000000000000000000000000000000
1001011100010000000000000000000000000000000000000
0011010011011000100000000000000000000000000000000
0001010101011011100000000000000000000000000000000
0110001111010011010000000000000000000000000000000
0010010011000001100000000000000000000000000000000
...

Manager to Bruno

20000
11 1001100011100011000000000000000010000000000000001000000000001010
11 1100101110000100000011000100000001000000010000000000000001000000
11 0011101001110110000100000010000000000000001000000010000011010111
11 0001101010100110111000000000000000000000000100010000000000000000
11 0110001111101001110...

Bruno to Manager

BAABAAAAABB
BABBABAAAAA
BABBABAABBA
BABBABAABBA
BABBABAABBA
ABABAAAAABB
BBBBBABBBBB
ABABAAABABB
AAAAAAAAAAA
BABBABAABBA
ABABAAABABB
BABBABAABBA
AABBABBBABB
AAAAABAAAAA
BABBABAABBA
ABAAABBAAAA
AAAAAAAAAAA
BAABBBABBAB
AAAAAAAAAAA
ABBBABABBBB
AAAAABAAAAA
AAAAAABABAA
BABBABAABBA
BABBABAABBA
BABBABAABBA
...

result:

points 1.0 Accepted: 43

Test #12:

score: 100
Accepted
time: 40ms
memory: 3368kb

Manager to Anna

20000
0 3 12 AAAAABABAAAA
3 7 12 AAABAAABABBA
1 5 12 BBBBBBBABBBB
5 7 12 BBAAABBBAABB
3 7 12 AAABAAABABBA
2 0 12 BBAAABBABBAB
5 1 12 AAAAAAAAAABA
6 5 12 AAABAAABABBA
2 4 12 AAAAABAAAAAB
3 7 12 AAABAAABABBA
4 3 12 BBBBBBBBBAAB
6 6 12 AAABAAABABBA
1 4 12 BABBBABAAABA
2 1 12 AAABAAABABBA
3 7 12 AAABAAA...

Anna to Manager

0000000100010100000000000000000000000000000000000
0101010100111011010000000000000000000000000000000
0111111011011011110000000000000000000000000000000
0010110100101110110000000000000000000000000000000
0101010100111011010000000000000000000000000000000
1001100110011011010000000000000000000000000000000
...

Manager to Bruno

20000
12 1100101000000000100001010000000000010000000000000001000000000000
12 0101010110011100110100000001100100000001000000010000000000000001
12 0111111110101111011010101111010000000000000001000000010000000100
12 0010110110010110101100000000000000000000000100010000000000000000
12 0101010110011101110...

Bruno to Manager

AAAAABABAAAA
AAABAAABABBA
BBBBBBBABBBB
BBAAABBBAABB
AAABAAABABBA
BBAAABBABBAB
AAAAAAAAAABA
AAABAAABABBA
AAAAABAAAAAB
AAABAAABABBA
BBBBBBBBBAAB
AAABAAABABBA
BABBBABAAABA
AAABAAABABBA
AAABAAABABBA
AAAAAAAAAAAA
AAABAAABABBA
AAABAAABABBA
AAABAAABABBA
AAABAABAABAA
AAABAAABABBA
AABAABAABAAB
BBAABBBAABBB
B...

result:

points 1.0 Accepted: 43

Test #13:

score: 100
Accepted
time: 30ms
memory: 3416kb

Manager to Anna

20000
6 1 13 BBBBBBBBBBBBB
4 0 13 AAABBBBABBBBB
4 5 13 AAABBBBABBBBB
4 5 13 AAABBBBABBBBB
1 4 13 AAABAAABAAABB
6 1 13 AAAAAAAAABAAA
1 0 13 BBBBBBBBBBBBB
5 4 13 AABBABABAAABA
0 7 13 BBBBBABBBBABB
4 1 13 BBBBABBAABBAB
7 2 13 AAAABAAAAABAA
3 7 13 AAABBBBABBBBB
4 4 13 AAAAAAAAAAAAA
5 6 13 AAAAAAAAAAAAA
...

Anna to Manager

0101111001111111111000000000000000000000000000000
0111111110011100011000000000000000000000000000000
0011101100111110001000000000000000000000000000000
0011101100111110001000000000000000000000000000000
1010010111000100011000000000000000000000000000000
1110000101001001100000000000000000000000000000000
...

Manager to Bruno

20000
13 0110111101011111101111000000000001000000000000001000010100000000
13 1011111101100111000011000000000000110011100000000000000010000000
13 0011110110011111100010000000010001111010000001000000010000000100
13 0011110110011011100010000000000000001000000001000000000000000000
13 1010101010100111111...

Bruno to Manager

BBBBBBBBBBBBB
AAABBBBABBBBB
AAABBBBABBBBB
AAABBBBABBBBB
AAABAAABAAABB
AAAAAAAAABAAA
BBBBBBBBBBBBB
AABBABABAAABA
BBBBBABBBBABB
BBBBABBAABBAB
AAAABAAAAABAA
AAABBBBABBBBB
AAAAAAAAAAAAA
AAAAAAAAAAAAA
AAABBBBABBBBB
BBBBBABBBBBBB
BAAABBBBABBBB
BABAABBAAAABB
AAAAAAABAAAAA
BBBBABBABBAAB
AAABBBBABBBBB
AAAABB...

result:

points 1.0 Accepted: 43

Test #14:

score: 100
Accepted
time: 40ms
memory: 3344kb

Manager to Anna

20000
5 0 14 AAAAAAAAAAAAAA
5 6 14 AAAAAAAAAAAAAA
4 6 14 ABAABBABABABAA
3 5 14 BBBBBAAAABBABA
3 5 14 BBBBBAAAABBABA
0 5 14 BBBBBBBBBBABAB
1 2 14 BBBABBBBBBBABB
2 5 14 BBBBBBBBBBBBBB
1 5 14 BABAABBBBBBBAB
1 6 14 ABBABBBABBBBBA
1 7 14 AAAAAAAABAAAAA
4 1 14 BBBBBBBBBBBBBB
3 6 14 BBBBBAAAABBABA
2 3 14 B...

Anna to Manager

1010000010000011100000000000000000000000000000000
1000000100100001110000000000000000000000000000000
1010010001110111110000000000000000000000000000000
1100000001111011001000000000000000000000000000000
1100000001111011001000000000000000000000000000000
0100111100011111010100000000000000000000000000000
...

Manager to Bruno

20000
14 1101000010100000011100000000000010000000010000101000000000000000
14 1000001010010000011100000000000000000000011001110000000000000010
14 1010011000111011111100000000001001111010000000100000001000000010
14 1100010000111010110010000000010000000000000001000000000000000000
14 1100010000111110110...

Bruno to Manager

AAAAAAAAAAAAAA
AAAAAAAAAAAAAA
ABAABBABABABAA
BBBBBAAAABBABA
BBBBBAAAABBABA
BBBBBBBBBBABAB
BBBABBBBBBBABB
BBBBBBBBBBBBBB
BABAABBBBBBBAB
ABBABBBABBBBBA
AAAAAAAABAAAAA
BBBBBBBBBBBBBB
BBBBBAAAABBABA
BABAAAABABAABA
ABBBBABBBBBBBB
BAAAAAAAAABAAA
AAAAAABAAAAAAA
ABBBAABAABBAAA
AAAAAAABABAAAA
BBBBBAAAABBABA
...

result:

points 1.0 Accepted: 43

Test #15:

score: 100
Accepted
time: 36ms
memory: 3392kb

Manager to Anna

20000
7 0 15 AAAAAAAAAAAAABA
6 4 15 AABAAAABABABBAA
4 1 15 BBABBABABBBABBA
4 4 15 AAAABBABBAABAAB
5 1 15 AAAAAAAABABAAAA
4 4 15 AAAAAAAAAAAAAAA
0 4 15 BBBBBBBBBBBBBAB
0 2 15 BBBABBBBBBBBBAB
0 6 15 AAAAABAAAAABBAB
0 5 15 BAABAABABBABBBB
3 7 15 BAAABBABABBBABB
3 1 15 ABBAABBABBBAABB
5 6 15 BBBBBBBBBBA...

Anna to Manager

1000000010000011100100000000000000000000000000000
0111010011110101001000000000000000000000000000000
1111101101011111101100000000000000000000000000000
1100011101100101100010000000000000000000000000000
0010000110010100100000000000000000000000000000000
1000000101100010010000000000000000000000000000000
...

Manager to Bruno

20000
15 1100000010100000011100100000000010000000000000001000000000001010
15 0111101001110101010001000000000000000000000000001100111000001000
15 1111110111010111101101100100000001111010010000000100000001000000
15 1100101110110001011000010000000000001000000010000000000000000000
15 0101000011100101000...

Bruno to Manager

AAAAAAAAAAAAABA
AABAAAABABABBAA
BBABBABABBBABBA
AAAABBABBAABAAB
AAAAAAAABABAAAA
AAAAAAAAAAAAAAA
BBBBBBBBBBBBBAB
BBBABBBBBBBBBAB
AAAAABAAAAABBAB
BAABAABABBABBBB
BAAABBABABBBABB
ABBAABBABBBAABB
BBBBBBBBBBABBBB
BBBAABBABBBBBBB
BAABAABABBABBBB
BAABAABABBABBBB
AAAAAAAAAAAAAAA
BAABAABABBABBBB
BAABAABABBAB...

result:

points 1.0 Accepted: 43

Test #16:

score: 100
Accepted
time: 39ms
memory: 4608kb

Manager to Anna

20000
6 7 16 BBBBBABBBABABBBB
4 3 16 ABAAAAAAAAAABAAB
2 6 16 BABBABBBBBBBABBA
2 4 16 BAABAABAAABABBBA
1 7 16 ABABBAAAABABBBBB
7 3 16 BBABABABBAABABBA
3 7 16 ABBBBBBBBBBBBBBA
6 1 16 AABAAAAABABAAABA
1 0 16 BBABBBBBABBBABBA
5 1 16 BBABABABBAABABBA
1 4 16 BBBBBBBBBABABABB
4 5 16 BBABABABBAABABBA
6 5 16...

Anna to Manager

1101111110001001001111000000000000000000000000000
1000000000000011001001000000000000000000000000000
1111110100011111110110000000000000000000000000000
1000010011001000101110000000000000000000000000000
1011011001000001011111000000000000000000000000000
0001010010110010110110000000000000000000000000000
...

Manager to Bruno

20000
16 1101111111000101010011101000000000000001000000001000010100000000
16 1001000000000000110001001000000000110011000100000000000000010000
16 1111111010001111010111101111011100000000000000100000001000000010
16 1000101001100010000000100010011100000000000010000000000000000000
16 1011011110100111001...

Bruno to Manager

BBBBBABBBABABBBB
ABAAAAAAAAAABAAB
BABBABBBBBBBABBA
BAABAABAAABABBBA
ABABBAAAABABBBBB
BBABABABBAABABBA
ABBBBBBBBBBBBBBA
AABAAAAABABAAABA
BBABBBBBABBBABBA
BBABABABBAABABBA
BBBBBBBBBABABABB
BBABABABBAABABBA
AAAAAAAAAAAAAAAA
BBABABABBAABABBA
AABBBAAAAAABBBAB
BBABABABBAABABBA
BBABABABBAABABBA
ABBABABBAAA...

result:

points 1.0 Accepted: 43

Test #17:

score: 100
Accepted
time: 39ms
memory: 4512kb

Manager to Anna

20000
7 5 17 AAABBABBBBBABAAAA
5 2 17 BBBBBBBBBBBBBBBBB
6 2 17 AAABBABBBBBABAAAA
4 6 17 BBBBBABBBBBBABBBA
4 3 17 BBABBBBBBBBBBBABB
4 7 17 AAABBABBBBBABAAAA
2 4 17 AAAAABBAAAABBAAAB
0 6 17 BBBBBBBBBBBBBBBBB
2 6 17 AAABBABBBBBABAAAA
1 4 17 ABBBAABABBABBBBAB
4 3 17 BBBBBBBBBBBBBBBBB
5 7 17 AAAAAAAABAAA...

Anna to Manager

1101111100011000111000000000000000000000000000000
0011111000111101111111100000000000000000000000000
0001101011111101101000000000000000000000000000000
0101111001111101010111000000000000000000000000000
0011111010111111011101100000000000000000000000000
0101111111011001001000000000000000000000000000000
...

Manager to Bruno

20000
17 1101111110001110001110000000000000000100000000000000010000001010
17 0011111100001111010111111100000000000000011001110000000000100000
17 0010110101111111010101000010000000000000001000001110101100100000
17 0101111100111101010101011000000000001000000000100000000000000000
17 0011111101011111110...

Bruno to Manager

AAABBABBBBBABAAAA
BBBBBBBBBBBBBBBBB
AAABBABBBBBABAAAA
BBBBBABBBBBBABBBA
BBABBBBBBBBBBBABB
AAABBABBBBBABAAAA
AAAAABBAAAABBAAAB
BBBBBBBBBBBBBBBBB
AAABBABBBBBABAAAA
ABBBAABABBABBBBAB
BBBBBBBBBBBBBBBBB
AAAAAAAABAAAAABBA
AAAAABBABBABAAABA
BABAABABAABABAAAA
BAAABBBABAABABABB
AABABAAAAAABBABAA
BBBBABBBBBBB...

result:

points 1.0 Accepted: 43

Test #18:

score: 100
Accepted
time: 49ms
memory: 4612kb

Manager to Anna

20000
1 6 18 BBABBBBBBABBBBBBBB
0 1 18 BBBBBBBBBBBBBBBBBB
5 1 18 BBBBBBBBBBBBBBBBBB
4 7 18 ABBAABBAAAABBBAABA
5 3 18 BBABBBBBBBBBBBBBBB
2 0 18 ABBBBBAABABBBAAABA
6 2 18 BBBBBABBBBBBBBBBBA
2 4 18 ABBAABBAAAABBBAABA
2 0 18 AAAAAAAAAAAAAAAAAA
5 4 18 ABBBBBBABBBBBBAAAB
4 6 18 AABBAABAAABAAAAABA
1 3 18 A...

Anna to Manager

0111011101011110111111110000000000000000000000000
0001111000111111111111110000000000000000000000000
1001111011111110111111110000000000000000000000000
1111100100100110001100100000000000000000000000000
0001111101111110111111110000000000000000000000000
1000111110110010111000100000000000000000000000000
...

Manager to Bruno

20000
18 0111011110010100101011011011110111100010000000000000001000000000
18 1000001100001111000011111111111111110000010000000000000001000000
18 1100111101111111100111111111000000000000111101010100000001000000
18 1111100110010010100011000100000000001000000000010000000000000000
18 0001111110111111101...

Bruno to Manager

BBABBBBBBABBBBBBBB
BBBBBBBBBBBBBBBBBB
BBBBBBBBBBBBBBBBBB
ABBAABBAAAABBBAABA
BBABBBBBBBBBBBBBBB
ABBBBBAABABBBAAABA
BBBBBABBBBBBBBBBBA
ABBAABBAAAABBBAABA
AAAAAAAAAAAAAAAAAA
ABBBBBBABBBBBBAAAB
AABBAABAAABAAAAABA
AAAAAAAAAABAABAAAA
ABBAABBAAAABBBAABA
BBBBBBBBBBBBBBBBBB
ABBBABBAAABBBBBBBA
BABAAAABAABAAAA...

result:

points 1.0 Accepted: 43

Test #19:

score: 100
Accepted
time: 42ms
memory: 4512kb

Manager to Anna

20000
0 6 19 BABABBBBBBBBBBBBBBA
5 2 19 BBABBABBAAAABBBAABB
5 2 19 ABBAABABAABAABBBABA
5 2 19 BBABBABBAAAABBBAABB
0 4 19 AAAAAAAAABAAAAABAAA
7 0 19 BBAABBAAAAAAAABABBB
6 5 19 AAAABAAABAAAAAAAAAA
7 0 19 BABBBABABBBABBABBBB
2 3 19 BBBBAABABBBBBBBABAB
6 2 19 BBAAAABBABABABAABBA
0 5 19 ABAABABBBBBABABAB...

Anna to Manager

1101101100011111111111110000000000000000000000000
0101101101100011001110011000000000000000000000000
1100010111100110100111010000000000000000000000000
0101101101100011001110011000000000000000000000000
0111000100000001000001000000000000000000000000000
1010110110000001100010111000000000000000000000000
...

Manager to Bruno

20000
19 1100101011011001100011011111110111100010000000000000001000000000
19 0110110110011000110001110001100000000000011001110000000000100000
19 1110001011111001100100111011000000000000111101010010000000100000
19 0110110110011000110001110001100000000000000100010000000000000000
19 1101001101111000100...

Bruno to Manager

BABABBBBBBBBBBBBBBA
BBABBABBAAAABBBAABB
ABBAABABAABAABBBABA
BBABBABBAAAABBBAABB
AAAAAAAAABAAAAABAAA
BBAABBAAAAAAAABABBB
AAAABAAABAAAAAAAAAA
BABBBABABBBABBABBBB
BBBBAABABBBBBBBABAB
BBAAAABBABABABAABBA
ABAABABBBBBABABABBA
ABAAAAAAAAAAAAAAAAA
BBAABBBAABABBBBBAAB
AAAAAAAAAAAAAAAAAAA
ABAABAABAAAAAAAAABA
...

result:

points 1.0 Accepted: 43

Test #20:

score: 100
Accepted
time: 38ms
memory: 4480kb

Manager to Anna

20000
0 2 20 BBBBBBABABBAABAAAAAA
2 7 20 ABBABBBBBABABAABABAA
7 7 20 BBAAABBBBBBBBBBBBBBB
0 2 20 BBBBBBBBBBBBBBBBBBBB
6 2 20 BBBBBBABABBAABAAAAAA
7 0 20 AAAAAAAAAAABAAAAAAAA
7 0 20 BBBBBBABABBAABAAAAAA
3 2 20 AAAABBBBBAAAAAAABBBB
7 0 20 BBBBBBABABBAABAAAAAA
1 1 20 BBBBBBBBBBAAABBBBBBA
4 2 20 BBBBBBA...

Anna to Manager

0001111001110101100100000000000000000000000000000
0110101100011110101001010000000000000000000000000
0010111010011101011111111100000000000000000000000
0001111001111111111111111100000000000000000000000
0011110010101101100100000000000000000000000000000
1000000010000011110000000000000000000000000000000
...

Manager to Bruno

20000
20 1100101000001111000111010101001000100000000000000010000000000000
20 0110101110001110000011001010100110100001000000010000000000000001
20 0010111101001111010111101111100100000000000000010000000111010111
20 1000000000101111000111111101111111011100001000000000000000000000
20 0011111001101011010...

Bruno to Manager

BBBBBBABABBAABAAAAAA
ABBABBBBBABABAABABAA
BBAAABBBBBBBBBBBBBBB
BBBBBBBBBBBBBBBBBBBB
BBBBBBABABBAABAAAAAA
AAAAAAAAAAABAAAAAAAA
BBBBBBABABBAABAAAAAA
AAAABBBBBAAAAAAABBBB
BBBBBBABABBAABAAAAAA
BBBBBBBBBBAAABBBBBBA
BBBBBBABABBAABAAAAAA
AAAABAAAAAAAAAABBAAA
BBBBBBABABBAABAAAAAA
BBBBBBABABBAABAAAAAA
AAAAAA...

result:

points 1.0 Accepted: 43

Test #21:

score: 100
Accepted
time: 33ms
memory: 4436kb

Manager to Anna

20000
1 4 21 BAAABBAABABAABBAAAAAA
1 1 21 ABBBAAAABAABBABBBAAAA
7 4 21 ABBBAAAABAABBABBBAAAA
7 2 21 ABBBAAAABAABBABBBAAAA
4 7 21 BBABBBBABBABBBBBBABBB
0 1 21 BAAAAAAAAAAAABAAAAAAB
6 0 21 AAAAAAAAAAAAAAAAAAAAA
4 2 21 BBAAABBABBBAAABBBAAAB
2 0 21 BBBBABAABBBBBBBABBABB
7 2 21 AABABABAABABBBBAABBAB
5 1 ...

Anna to Manager

1110001111010010100110000000000000000000000000000
1100111010000010011011100000000000000000000000000
1111001111000111101011100000000000000000000000000
0011000111010001111011100000000000000000000000000
1110101000010110111111101110000000000000000000000
0001000000000000000100000010000000000000000000000
...

Manager to Bruno

20000
21 1110100110010100111001001010001100001000000000000000100000000000
21 1110011100000110001000001100110111100000010000000000000001000000
21 1111100111101001111001011100100000000000000010000000100011010111
21 0011100011010100010111011100000000000000000000000000000001000100
21 1110101100001011101...

Bruno to Manager

BAAABBAABABAABBAAAAAA
ABBBAAAABAABBABBBAAAA
ABBBAAAABAABBABBBAAAA
ABBBAAAABAABBABBBAAAA
BBABBBBABBABBBBBBABBB
BAAAAAAAAAAAABAAAAAAB
AAAAAAAAAAAAAAAAAAAAA
BBAAABBABBBAAABBBAAAB
BBBBABAABBBBBBBABBABB
AABABABAABABBBBAABBAB
BBABBBBBBBABBBBBBBBAB
BBABBBBABBBABBABBBBBB
BBBBBBBBBBBBBBBBBBBBB
BBBBBBBBBBBBBB...

result:

points 1.0 Accepted: 43

Test #22:

score: 100
Accepted
time: 30ms
memory: 4536kb

Manager to Anna

20000
0 3 22 ABAABAAAAAAABAAABBBAAA
5 2 22 BAAAABAAAAAAAAAAABAAAA
0 5 22 BBBBABBBBABBABBBBBAABA
3 4 22 ABABAABAAAAAAAABAAABBA
2 1 22 AAAAABAABABAABAABAAAAA
7 4 22 BBAABBBBAABBABABBBABBB
0 0 22 ABAABAAAAAAABAAABBBAAA
7 7 22 ABAABAAAAAAABAAABBBAAA
6 4 22 AAAAAAAAAAAAAAAAAAAAAA
6 1 22 AAAAAAAABABABBBAB...

Anna to Manager

0000100100100000001000111000000000000000000000000
0010010111000010100000010000000000000000000000000
0100110100011110110111110010000000000000000000000
0000100110100010100001000110000000000000000000000
1000000100010010100100100000000000000000000000000
1011110000001101110101110111000000000000000000000
...

Manager to Bruno

20000
22 1100101000000100100010000000010001111000000000000001000000000000
22 0011001011010000100100000001000000000000011001110000000000100000
22 1101011101001110100010111011011111100010000001000000010000000100
22 0000110011010000101000000000010010000110000010000000000000000000
22 1100000011000100010...

Bruno to Manager

ABAABAAAAAAABAAABBBAAA
BAAAABAAAAAAAAAAABAAAA
BBBBABBBBABBABBBBBAABA
ABABAABAAAAAAAABAAABBA
AAAAABAABABAABAABAAAAA
BBAABBBBAABBABABBBABBB
ABAABAAAAAAABAAABBBAAA
ABAABAAAAAAABAAABBBAAA
AAAAAAAAAAAAAAAAAAAAAA
AAAAAAAABABABBBABBAAAB
ABAABAAAAAAABAAABBBAAA
ABAABAAAAAAABAAABBBAAA
AAAAAAAAAABBAAAAAAABAA
B...

result:

points 1.0 Accepted: 43

Test #23:

score: 100
Accepted
time: 38ms
memory: 4488kb

Manager to Anna

20000
0 4 23 BBAAAABABAABAABAAAABBAA
5 6 23 BBBABAAABBABBBBAAABBBBB
0 4 23 BBBBBBBBBBBBABBBBBBBBBB
0 1 23 AABBAAAAAAAABABAAAAABBB
0 6 23 AAAAAAAAABAAAAABAAAAAAA
4 5 23 BBBBBBBBBBBBABBBBBBBBBB
5 6 23 BBBABAAABBABBBBAAABBBBB
5 5 23 BBBABAAABBABBBBAAABBBBB
3 0 23 AAAAAAAAAAAAAAAAAAAAAAA
5 2 23 AAAAAAAA...

Anna to Manager

1010000010001010010010000110000000000000000000000
0111001100110100001110001111100000000000000000000
1010111010011111110111111111100000000000000000000
0000011000000000001010000011100000000000000000000
0101000100000001000001000000000000000000000000000
0100111001111111110111111111100000000000000000000
...

Manager to Bruno

20000
23 1100101010100000010000101001000100001110000000000000100000000000
23 0111001110011001000011010001110110000000011001110000000000000010
23 1101011110101111010001111111101111110111100010000000100000001000
23 1000000001000011000000000000010100000011110000000000000000000000
23 1101001101010010100...

Bruno to Manager

BBAAAABABAABAABAAAABBAA
BBBABAAABBABBBBAAABBBBB
BBBBBBBBBBBBABBBBBBBBBB
AABBAAAAAAAABABAAAAABBB
AAAAAAAAABAAAAABAAAAAAA
BBBBBBBBBBBBABBBBBBBBBB
BBBABAAABBABBBBAAABBBBB
BBBABAAABBABBBBAAABBBBB
AAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAABBAAAAAAABBAAB
ABBBABBBABABBBAABAABABA
BBBABAAABBABBBBAAABBBBB
BBBABAAABBAB...

result:

points 1.0 Accepted: 43

Test #24:

score: 100
Accepted
time: 35ms
memory: 4456kb

Manager to Anna

20000
3 6 24 BAAABBABABABAABAABAABBBA
5 4 24 BAAABBABABABAABAABAABBBA
7 0 24 BAAABBABABABAABAABAABBBA
6 7 24 BBBABBBAABBBBBBBBBBBBAAB
1 5 24 BABAAABAABAAABABABABBBAB
0 4 24 ABAABAAAAAAAABABBAAAAABB
7 5 24 BBAAABABABBABABBBBBBAAAB
4 5 24 BAAAABAABABAABABABABAABA
7 5 24 ABBBBBBBBABBBBABBBBBBBBA
1 4 24...

Anna to Manager

1010010111010100000010010011100000000000000000000
1011010011010101110010010011100000000000000000000
0010110110101000010010010011100000000000000000000
0111100010111101111111111110010000000000000000000
1101100011001001000101010111010000000000000000000
0010001010000000000101100000110000000000000000000
...

Manager to Bruno

20000
24 1010011011101011000000010101000000100111100000000000001000000000
24 1011101001100101011100010010001110000000011001110000000000001000
24 1001011011101010000010011001001101000000100000001000000011010111
24 0111100101011110011111101111110001000000000000000010001000000000
24 1101110010100111011...

Bruno to Manager

BAAABBABABABAABAABAABBBA
BAAABBABABABAABAABAABBBA
BAAABBABABABAABAABAABBBA
BBBABBBAABBBBBBBBBBBBAAB
BABAAABAABAAABABABABBBAB
ABAABAAAAAAAABABBAAAAABB
BBAAABABABBABABBBBBBAAAB
BAAAABAABABAABABABABAABA
ABBBBBBBBABBBBABBBBBBBBA
BAAABBABABABAABAABAABBBA
BAAABBABABABAABAABAABBBA
BBBBBABBABBABBBABBBBABBB
...

result:

points 1.0 Accepted: 43

Test #25:

score: 100
Accepted
time: 43ms
memory: 4668kb

Manager to Anna

20000
2 2 25 BABAAAAAABBAAAAAAABBAAAAB
3 7 25 BABAAAAAABBAAAAAAABBAAAAB
2 2 25 BABAAAAAABBAAAAAAABBAAAAB
4 2 25 AAAABBBABBBAABABAABBBABAA
4 1 25 ABBBBBBBBBBBBBBBBABBBBBBB
7 5 25 AAABAAAAABAAAAAAAAAAAABAA
7 6 25 AAABABABABAAAABBBAAABBAAA
2 7 25 BBBBBBBBBBBBBBBBBBBBBABBB
5 3 25 AAAAAAABAABAAAAAABAAAAB...

Anna to Manager

0001010110000001100000001100001000000000000000000
1110000100011000010000001100001000000000000000000
0001010110000001100000001100001000000000000000000
0010111111011101000101001110100000000000000000000
1111111110111101111111101111111000000000000000000
0101000100110000000000000000100000000000000000000
...

Manager to Bruno

20000
25 0010101011100000001010000101000000101100000100000010000000000000
25 1110000110001100000100000001100100011001001000010000000000000001
25 0010101011100000010111100111000000001100001100000010000000100000
25 0011011111010111010000101000111000001000101000000000000000000000
25 1111111111101111001...

Bruno to Manager

BABAAAAAABBAAAAAAABBAAAAB
BABAAAAAABBAAAAAAABBAAAAB
BABAAAAAABBAAAAAAABBAAAAB
AAAABBBABBBAABABAABBBABAA
ABBBBBBBBBBBBBBBBABBBBBBB
AAABAAAAABAAAAAAAAAAAABAA
AAABABABABAAAABBBAAABBAAA
BBBBBBBBBBBBBBBBBBBBBABBB
AAAAAAABAABAAAAAABAAAABAA
ABBBBBBABBBBBBBBBBBBBBBBB
BABAAAAAABBAAAAAAABBAAAAB
AAAAAABAABABAA...

result:

points 1.0 Accepted: 43

Test #26:

score: 100
Accepted
time: 33ms
memory: 4456kb

Manager to Anna

20000
3 5 26 ABAAAAAAAABBABAAAAAABABBBB
2 6 26 BBBAAABBABABABABBBAAAABAAA
0 4 26 ABBAAAABABABAAABABBBBABBBA
0 0 26 ABBAAAABABABAAABABBBBABBBA
6 4 26 ABBAAAABABABAAABABBBBABBBA
3 2 26 BABAABABAAAAAAAABAAABAAAAA
6 4 26 ABBAAAABABABAAABABBBBABBBA
3 6 26 BBAABBAAAAAAAAAABAAAAAAABA
0 1 26 AAAAAAAAABAAAAA...

Anna to Manager

1110000100001101010100000010111100000000000000000
0110100110001101010101110000100000000000000000000
0010100010000101010001011110111000000000000000000
0100110000000101010001011110111000000000000000000
1001010001010111010001011110111000000000000000000
1110010010100001100000100010000000000000000000000
...

Manager to Bruno

20000
26 1110010010000111010100100101000000000110111100000000010000000000
26 0110101011000101000011000101011011100010100000100000000000000010
26 1101011100101100010000010101100010110110111010000000100000001000
26 1000000010100110000000010010100001011110111100000000000000000000
26 1001101000101101110...

Bruno to Manager

ABAAAAAAAABBABAAAAAABABBBB
BBBAAABBABABABABBBAAAABAAA
ABBAAAABABABAAABABBBBABBBA
ABBAAAABABABAAABABBBBABBBA
ABBAAAABABABAAABABBBBABBBA
BABAABABAAAAAAAABAAABAAAAA
ABBAAAABABABAAABABBBBABBBA
BBAABBAAAAAAAAAABAAAAAAABA
AAAAAAAAABAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAA
AAA...

result:

points 1.0 Accepted: 43

Test #27:

score: 100
Accepted
time: 43ms
memory: 4532kb

Manager to Anna

20000
4 4 27 BBBBBABABABAAAABABABAAAAABA
0 1 27 ABBBABBBAAAABABAAABAABBBAAB
1 4 27 BABBABBBBBBBBABBBBBBBABBBBB
2 3 27 AAABBBBABBBBBABBBBBBBAAAAAB
3 0 27 BBBBBBBBBABBBBBBBBBBBBBBBBB
5 1 27 AABBABABBBBABAABBBABABBBBAA
0 1 27 ABBBABBBAAAABABAAABAABBBAAB
0 0 27 BBBABBBBBAABBBABBBBBBABABAB
3 0 27 AAAAAAA...

Anna to Manager

0100101000001011100001010100000100000000000000000
0000111000011100001010001001110010000000000000000
1110110111011111111011111110111110000000000000000
0000001100111011111011111110000010000000000000000
1001111011110101111111111111111110000000000000000
1011010101111111101001110101111000000000000000000
...

Manager to Bruno

20000
27 0100110100001010111000001010010010100001000100000000100000000000
27 1000001100000111000001110100010101001001111001000000000001000000
27 1110111010101111111001111111110111110110111111000000100000001000
27 0001000110001110000000101110110111101110000101000000000000000000
27 1100111110111101001...

Bruno to Manager

BBBBBABABABAAAABABABAAAAABA
ABBBABBBAAAABABAAABAABBBAAB
BABBABBBBBBBBABBBBBBBABBBBB
AAABBBBABBBBBABBBBBBBAAAAAB
BBBBBBBBBABBBBBBBBBBBBBBBBB
AABBABABBBBABAABBBABABBBBAA
ABBBABBBAAAABABAAABAABBBAAB
BBBABBBBBAABBBABBBBBBABABAB
AAAAAAABAAAAAAAAAAAABBAAAAB
ABBBBBBABBABBBBBBBBBABBAABB
ABBBBABBBBBBBABBABBA...

result:

points 1.0 Accepted: 43

Test #28:

score: 100
Accepted
time: 44ms
memory: 4512kb

Manager to Anna

20000
4 4 28 AAABBBBBBBABABBBABBAAAABBBAB
2 2 28 AAABBBBBBBABABBBABBAAAABBBAB
2 2 28 AAABBBBBBBABABBBABBAAAABBBAB
6 7 28 AABBBBBBBBABBBBBBBABBBBBABBB
5 2 28 AAAAAAAAAAAAAAABBBBBBAAAAAAA
1 7 28 ABBBAAABABAABABBBABBBBBBBBBB
5 7 28 AAAAAAAAAAAAAAAAAAAAAAAAAAAA
2 2 28 AAABBBBBBBABABBBABBAAAABBBAB
0 1 28...

Anna to Manager

0010111101110111100111011000011101000000000000000
0000001110111111010111011000011101000000000000000
0000001110111111010111011000011101000000000000000
0111111110110101111111110111110111000000000000000
1100000001000001100001111110000000000000000000000
1011110001000101001011101111111111000000000000000
...

Manager to Bruno

20000
28 0010111110111101111000111011000010100001011100100000100000000000
28 0010000111001111000011001110101110111000011110100000000000100000
28 0010000111101111010111101110101110011000011110100010000000100000
28 0111111111011010011111101110111011011100000000000010001000000000
28 1110000000110000010...

Bruno to Manager

AAABBBBBBBABABBBABBAAAABBBAB
AAABBBBBBBABABBBABBAAAABBBAB
AAABBBBBBBABABBBABBAAAABBBAB
AABBBBBBBBABBBBBBBABBBBBABBB
AAAAAAAAAAAAAAABBBBBBAAAAAAA
ABBBAAABABAABABBBABBBBBBBBBB
AAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAABBBBBBBABABBBABBAAAABBBAB
BBBBBBBBBBBBBBBBBBBABBBBBBBB
ABBBBAABAAABBBBBAAAABAAABBBA
AAABBBBBBB...

result:

points 1.0 Accepted: 43

Test #29:

score: 100
Accepted
time: 39ms
memory: 4508kb

Manager to Anna

20000
0 7 29 ABBABAABAAAABABBBABAAABBBABBB
6 5 29 ABAAAAAAAAAAAAAAAAAAAAAAAAAAA
2 3 29 AAABAABAAAAAAAAAABAAABBABAABB
2 1 29 ABBABAABAAAABABBBABAAABBBABBB
7 3 29 BBBBBBABBBBBBBBBBBBBBBBBBBBBB
3 1 29 ABBBBBABABAABBBAAAAABBBAABABB
1 1 29 AABABABBBABBAAAAABBBABBBAAABA
6 0 29 BBAABBABAAAAAAAAABAAAABAAAAA...

Anna to Manager

1101101000000100001011101000111011100000000000000
0100000010100011000000000000000000000000000000000
0000001100001000000000010001101001100000000000000
1000110100100100001011101000111011100000000000000
1011110011111101011111111111111111100000000000000
1011110101101010101110000011100101100000000000000
...

Manager to Bruno

20000
29 1100101011011010000000100000101011010001111011100000000100000000
29 0100010001010000110000000000000000000000000000001100111000000100
29 0001000110010010010111100001000000100001101100110001000000010000
29 1100011010001001000000100000010110101000111101110000000000000000
29 1011111001111111010...

Bruno to Manager

ABBABAABAAAABABBBABAAABBBABBB
ABAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAABAABAAAAAAAAAABAAABBABAABB
ABBABAABAAAABABBBABAAABBBABBB
BBBBBBABBBBBBBBBBBBBBBBBBBBBB
ABBBBBABABAABBBAAAAABBBAABABB
AABABABBBABBAAAAABBBABBBAAABA
BBAABBABAAAAAAAAABAAAABAAAAAA
AAAABABBBBABBABABAAAAAAAABBBB
BABABBABBAABBBBBBBBBBAABBABBB
...

result:

points 1.0 Accepted: 43

Test #30:

score: 100
Accepted
time: 34ms
memory: 4440kb

Manager to Anna

20000
2 5 30 BBABBBBBAAAAAABABBBAABBBAAABBA
7 2 30 BBBBABAABBAAABAABBAAAABABBABAB
3 1 30 AABABBABBBBBAAAABABBABBBAAABBB
4 0 30 AAAAAAAAAAAAABAAABAAABAABAAAAA
5 7 30 BBBBABAABBAAABAABBAAAABABBABAB
5 7 30 BBBBABAABBAAABAABBAAAABABBABAB
2 7 30 BBAABABBABBABAAABAABBBBABBAAAA
2 2 30 ABBBBBABBBBBBBBBBBBBB...

Anna to Manager

1111011110011100000010111001110001100000000000000
0001010011011000100100110000101101010000000000000
0000110000111101010000101101110001110000000000000
0110000110000000000100010001001000000000000000000
1010001011110000110100110000101101010000000000000
1010001011110000110100110000101101010000000000000
...

Manager to Bruno

20000
30 1111011111001111001010000000000101110101110000110000010000000000
30 0010101001010110000100100101000010011010100000000010000010011101
30 0100011001001111001010001011110100101101111000111100000001000000
30 1011000001100000000000100001000100001000100100000000000000000000
30 1010001101111001001...

Bruno to Manager

BBABBBBBAAAAAABABBBAABBBAAABBA
BBBBABAABBAAABAABBAAAABABBABAB
AABABBABBBBBAAAABABBABBBAAABBB
AAAAAAAAAAAAABAAABAAABAABAAAAA
BBBBABAABBAAABAABBAAAABABBABAB
BBBBABAABBAAABAABBAAAABABBABAB
BBAABABBABBABAAABAABBBBABBAAAA
ABBBBBABBBBBBBBBBBBBBBBABAABBB
BBBBABAABBAAABAABBAAAABABBABAB
BBBBABAABBAAABAABBAAA...

result:

points 1.0 Accepted: 43

Test #31:

score: 100
Accepted
time: 44ms
memory: 5012kb

Manager to Anna

20000
7 6 31 AAABAAAAAAAABAAAABAABAAAAAAABBA
1 6 31 BBAAABABBBBBABAAAABBAAABABABAAA
1 1 31 BBAAABABBBBBABAAAABBAAABABABAAA
7 7 31 BBAAABABBBBBABAAAABBAAABABABAAA
1 6 31 BBAAABABBBBBABAAAABBAAABABABAAA
7 0 31 AAABBAABBBABBAABBAAAAAAAAABBBAA
1 6 31 BBAAABABBBBBABAAAABBAAABABABAAA
1 5 31 BBBABBBBAABBBB...

Anna to Manager

0111000101000000011000010010000000110000000000000
0111000101010111110100001100010101000000000000000
1101100010010111110100001100010101000000000000000
0010011010011101010100001100010101000000000000000
0111000101010111110100001100010101000000000000000
1001100010111011111001100000000011100000000000000
...

Manager to Bruno

20000
31 0111001010100010000110000010010000000011100000000000001000001010
31 0111001000000110101010011111011000011010010101100000000000000010
31 1110110010101111001001011111101000001100011010100100000001000000
31 0010011101001110010101000001100001010100000000000000000001000100
31 0111001010100111101...

Bruno to Manager

AAABAAAAAAAABAAAABAABAAAAAAABBA
BBAAABABBBBBABAAAABBAAABABABAAA
BBAAABABBBBBABAAAABBAAABABABAAA
BBAAABABBBBBABAAAABBAAABABABAAA
BBAAABABBBBBABAAAABBAAABABABAAA
AAABBAABBBABBAABBAAAAAAAAABBBAA
BBAAABABBBBBABAAAABBAAABABABAAA
BBBABBBBAABBBBBBBBBBBABBBBBBBAB
AABAABBBAAAAABBBAAAAAAAAABAABBA
BABBAAAABBBB...

result:

points 1.0 Accepted: 43

Test #32:

score: 100
Accepted
time: 37ms
memory: 5196kb

Manager to Anna

20000
3 0 32 BAAAAAABAAAABAAAAAAAAAAAAAAAAAAA
1 0 32 BBBBBABBBBBBBABBBBBBBBBBBBBBBBBB
2 7 32 AAAABBABBBAABBBBBBBBAAABBBAABAAB
4 6 32 AABAABAABBAAAAAABAAABAAAAAAAAAAA
5 7 32 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
0 5 32 BBBBBABBAABAABBBBBBBBBBBBBABBAAA
3 7 32 AAAABBABBBAABBBBBBBBAAABBBAABAAB
4 7 32 BABBBBB...

Anna to Manager

1000000001100001001000000000000000000000000000000
1011111010101111111011111111111111111100000000000
0100001100010111001111111100011100100100000000000
0010001010110010010000100010000000000000000000000
1001000001000001010000000000000000000000000000000
0100111100001100100111111111111101100000000000000
...

Manager to Bruno

20000
32 1100000010011000001001000101000010000000000000001000000000000000
32 1101111100000110001010111111110111111111111111110111000010000000
32 0100001110001011010111101100111111111000011100110010000100000001
32 0010001101011000100100000100010000001000000000100000000000000000
32 1001000100100001010...

Bruno to Manager

BAAAAAABAAAABAAAAAAAAAAAAAAAAAAA
BBBBBABBBBBBBABBBBBBBBBBBBBBBBBB
AAAABBABBBAABBBBBBBBAAABBBAABAAB
AABAABAABBAAAAAABAAABAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
BBBBBABBAABAABBBBBBBBBBBBBABBAAA
AAAABBABBBAABBBBBBBBAAABBBAABAAB
BABBBBBBBABBBBBBBBBBBBBBBBBBBBBB
AAAABBABBBAABBBBBBBBAAABBBAABAAB
AAA...

result:

points 1.0 Accepted: 43

Test #33:

score: 100
Accepted
time: 33ms
memory: 5128kb

Manager to Anna

20000
4 0 33 ABBBBBAAAAABABAABAABABBABAABAABBA
4 7 33 BBBBBBBBBBBBBBBBBBBBBABBBBBBBABBB
7 3 33 AABBABAABBABABBABABBABBBABBBBBBBB
0 2 33 ABBBBBAAAAABABAABAABABBABAABAABBA
1 5 33 BAAAAAAAAAAAAAAAAABAAAABAABBAABAA
1 7 33 BBABBBBBBBBBBBBBABBBBBABBBBBBABBB
6 0 33 AAAAAAAAAAABAAAAAAAABAAAAAAAAABAA
5 5 33 ...

Anna to Manager

0011110011000010110100100101101001001100000000000
1100111011111101011111111110111111101110000000000
1001010001011010110110101101110111111110000000000
0000111001110000010100100101101001001100000000000
1101000011000000000000001000010011001000000000000
0111011001011111111111011111011111101110000000000
...

Manager to Bruno

20000
33 1001111010110000010110100010010110100001010100101011000000000000
33 1100111101111110010111101111110000110011111111110111000000000001
33 1001101000110110101010110101110111001111111110000001000011010111
33 1000000000100111000111000000101001000101101100100101000000000000
33 1101010010100111011...

Bruno to Manager

ABBBBBAAAAABABAABAABABBABAABAABBA
BBBBBBBBBBBBBBBBBBBBBABBBBBBBABBB
AABBABAABBABABBABABBABBBABBBBBBBB
ABBBBBAAAAABABAABAABABBABAABAABBA
BAAAAAAAAAAAAAAAAABAAAABAABBAABAA
BBABBBBBBBBBBBBBABBBBBABBBBBBABBB
AAAAAAAAAAABAAAAAAAABAAAAAAAAABAA
BBABBBAABBABABABBBBAAAABAABABBABA
ABBBBBAAAAABABAABAABABBABAAB...

result:

points 1.0 Accepted: 43

Test #34:

score: 100
Accepted
time: 45ms
memory: 4960kb

Manager to Anna

20000
2 3 34 ABBBBBAAAAAABBBABBAABBBBAAAABABBAA
6 2 34 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
4 6 34 ABBBBBAAABBBBBBABAABBBBBBABBAABAAA
3 0 34 BBBBBBBABBBBABBBBBBBBABBBBBBBBBBAB
4 7 34 AAABABAABAABBAAAAABABAAAABAAAAAAAA
6 2 34 BBBBABBBABBBABABBBBBBBBBBBABBBBBBB
7 2 34 BBAAAAABBBABABAABABAAABAAAAABBAABA
...

Anna to Manager

0000111100110000001110110011110000101100000000000
0000000011000001100000000000000000000000000000000
0100000011111101001110100111111011001000000000000
1001111011011101110111111110111111111101000000000
1011001000100100011000001010000100000000000000000
0011011010101101110101111111111101111111000000000
...

Manager to Bruno

20000
34 0001011110011100001010000000011101110011110000010111000000000000
34 0010000001010000010100000000000000000000000000001100111000100000
34 0100001001111111010011010100111101111010111011100100001000000010
34 1100111100110111001110110000010001111110111111110111010000000000
34 1011001100010011000...

Bruno to Manager

ABBBBBAAAAAABBBABBAABBBBAAAABABBAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
ABBBBBAAABBBBBBABAABBBBBBABBAABAAA
BBBBBBBABBBBABBBBBBBBABBBBBBBBBBAB
AAABABAABAABBAAAAABABAAAABAAAAAAAA
BBBBABBBABBBABABBBBBBBBBBBABBBBBBB
BBAAAAABBBABABAABABAAABAAAAABBAABA
AABBBBBABBAAABBABBAAAAABABABBBBBBB
BABABBBABBBBABBBBAAB...

result:

points 1.0 Accepted: 43

Test #35:

score: 100
Accepted
time: 44ms
memory: 4988kb

Manager to Anna

20000
4 2 35 BBBBAABBABBABABBBBAAABBAABBBBBBAABB
5 2 35 BBBBABBBBBBBBBABBABBBBBAABABBBBABAB
5 1 35 AAABABAAAAAABAAAAABBBAAABAAAAABAAAA
2 0 35 BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
4 7 35 ABBBAAABABAAAAABBAAAAAABAAABBAAAAAA
2 0 35 BBAAAABBAABBBBBBBBAABBAABBBAAAAABBA
3 7 35 BBBBABBBBBBBBBBBBBAABBABBBBBB...

Anna to Manager

0101001101101101001011110001100111111001100000000
0011011000111101111101101111100101111010100000000
0011010110000000101000001110001000001000000000000
1001111110111111111111111111111111111111100000000
0101010011010011110001100000010001100000000000000
1001100110001100111111110011001110000011000000000
...

Manager to Bruno

20000
35 0110100110111011010001011101000110100001100011111110011000000000
35 0011101100001111010111101100111110001011011001111100101000100000
35 0101101011100000000101000100111000010000111101010110000001000000
35 1100111101101111000000100111111101111111111111110111111000000000
35 0101010101101001111...

Bruno to Manager

BBBBAABBABBABABBBBAAABBAABBBBBBAABB
BBBBABBBBBBBBBABBABBBBBAABABBBBABAB
AAABABAAAAAABAAAAABBBAAABAAAAABAAAA
BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
ABBBAAABABAAAAABBAAAAAABAAABBAAAAAA
BBAAAABBAABBBBBBBBAABBAABBBAAAAABBA
BBBBABBBBBBBBBBBBBAABBABBBBBBBBBBAB
BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
AAAAAAAAAAAA...

result:

points 1.0 Accepted: 43

Test #36:

score: 100
Accepted
time: 37ms
memory: 5040kb

Manager to Anna

20000
2 0 36 AAAAAAAAAAAABAABAAAAAAAAABAAAAAAAAAB
5 2 36 BAABBAAAAABAABABBBBAAABABBAABBBAAAAA
6 1 36 BABBABBABAAABBABABBBBBBBBBAABABBBABA
1 7 36 BBABBBBBABBBBBABBABABBAABBABBBBBBABB
5 0 36 ABBAABBABABBBAAAABBBBBBBBABAAAABBBAB
3 3 36 BBBABBBBABBBBABBBAAABABBBABBBBAABAAA
2 0 36 BAABBAAAAABAABABBBBAAAB...

Anna to Manager

1000000110000000001001000000000100000000010000000
0011100111000110100101111000101100111000000000000
0101011101010000101101011111111100101110100000000
0111011001011101111101101011001101111110110000000
1000011010010110111000011111111010000111010000000
0000111000101111111011100010111011110010000000000
...

Manager to Bruno

20000
36 1100000011100000001010000000010011000000000010001000000100000000
36 0011110011010001100100101101100010011001011001111100000000100000
36 0110101111010100000101101101111110111001011110101110101101000000
36 0111011100000001001011100111110011010110001101111111011000000000
36 1100001110100101010...

Bruno to Manager

AAAAAAAAAAAABAABAAAAAAAAABAAAAAAAAAB
BAABBAAAAABAABABBBBAAABABBAABBBAAAAA
BABBABBABAAABBABABBBBBBBBBAABABBBABA
BBABBBBBABBBBBABBABABBAABBABBBBBBABB
ABBAABBABABBBAAAABBBBBBBBABAAAABBBAB
BBBABBBBABBBBABBBAAABABBBABBBBAABAAA
BAABBAAAAABAABABBBBAAABABBAABBBAAAAA
AAAABABBABBAAAAABBABBABBBAAABBAAABAA
BAAB...

result:

points 1.0 Accepted: 43

Test #37:

score: 100
Accepted
time: 41ms
memory: 5000kb

Manager to Anna

20000
7 6 37 BBBBBBABBBABBABBBBBBBBBBBBBBBBBBBBABB
3 6 37 ABABBBBABABBAABABBBAAABABBABAAABAAAAB
2 6 37 BABBABBBBBAABBABBBBAABBBBABBABBBBABAA
1 3 37 AAAAAAAABABAAAABABAAAAAABAAABBAAAAABA
4 6 37 AAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAA
2 5 37 BBBBBBAAABABABBBABABAABABABABBABAABBB
2 5 37 BAAABBBABAABAAABA...

Anna to Manager

0111011000010101111011111111111111111111011000000
0100101101001100110010111000101101000100001000000
1111110100011111001101111001111011011110100000000
1010000110000010100001010000001000110000010000000
0110000011100011000000000000000100000000000000000
1111111110010001010111010100101010110100111000000
...

Manager to Bruno

20000
37 0111011100001011011110011111110111111111111110011000001000001010
37 0100101110100101001100010001100101110010101101100010000010000010
37 1111111010001111010111101100111011110001111011101111011000000010
37 1011000000000001110000001010000010100000001100011000000100000000
37 0110001001110010110...

Bruno to Manager

BBBBBBABBBABBABBBBBBBBBBBBBBBBBBBBABB
ABABBBBABABBAABABBBAAABABBABAAABAAAAB
BABBABBBBBAABBABBBBAABBBBABBABBBBABAA
AAAAAAAABABAAAABABAAAAAABAAABBAAAAABA
AAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAA
BBBBBBAAABABABBBABABAABABABABBABAABBB
BAAABBBABAABAAABAAAABABBAAAABBBAABBBA
BABBBBABABBBBBBBBABBBBABABBBBBABBB...

result:

points 1.0 Accepted: 43

Test #38:

score: 100
Accepted
time: 32ms
memory: 5020kb

Manager to Anna

20000
0 6 38 ABBAABABABAABAAAABBABAAAAABAABBBBABABB
0 7 38 AAABAAAAABAAAABABAAAAABAAAAABAAAABAAAA
2 6 38 BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBA
3 2 38 BBAAABBABBBBBBBABBABABBBABBBABBBBBBBBB
6 1 38 AAAAAAAABAAAAAAAAAAAAAAAAAAAABAAAAABAA
5 5 38 ABAABAAAAABBBAAAAABBABAAAABABAAAABBABB
0 2 38 BBBBBBBABBB...

Anna to Manager

0011100100010101001000011010000010011110101100000
0001010000000001000010100000100000100001000000000
0110111110011111111111111111111111111111111000000
1100011101011111111110110101110111011111111100000
1110000101010001100000000000000000010000010000000
1101000110001101011000001101000010100001101100000
...

Manager to Bruno

20000
38 1100101000111000100010010100100000110110000010001111011011000000
38 1000001100010100000000000100001101000001100000110000100000000001
38 0110111111001111010111101111111111111101111111111111111110000010
38 1110001110010111110111110000010001010101111011101101111111000000
38 1111000011010100001...

Bruno to Manager

ABBAABABABAABAAAABBABAAAAABAABBBBABABB
AAABAAAAABAAAABABAAAAABAAAAABAAAABAAAA
BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBA
BBAAABBABBBBBBBABBABABBBABBBABBBBBBBBB
AAAAAAAABAAAAAAAAAAAAAAAAAAAABAAAAABAA
ABAABAAAAABBBAAAAABBABAAAABABAAAABBABB
BBBBBBBABBBBBBBBBBBBBBBBBBBBABBBBBBBBB
ABBAABABABAABAAAABBABAAAAAB...

result:

points 1.0 Accepted: 43

Test #39:

score: 100
Accepted
time: 39ms
memory: 5148kb

Manager to Anna

20000
0 1 39 BBAAAABAABBAAAABAABAAAABAABBABBBBABBBBA
2 6 39 BAAABAAABAABAAAAAAAABBABAAAAABAAAAAABAA
1 7 39 BBBBBBABBBBAABBBBBBBABBBBBABBBBBBABBBBB
4 7 39 AABBBBABABBABABBBAAABBABBBBAABBBBBBBBAB
6 5 39 BBAAAABAABBAAAABAABAAAABAABBABBBBABBBBA
6 5 39 BBAAAABAABBAAAABAABAAAABAABBABBBBABBBBA
1 5 39 BBBBB...

Anna to Manager

0001100000001001100001001000010011011110111100000
1111001100000010010000000011010000010000001000000
0111111001010111100111111101111101111110111110000
1100010001011010011011100011011110011111111010000
0111100000111001010001001000010011011110111100000
0111100000111001010001001000010011011110111100000
...

Manager to Bruno

20000
39 1100101000001100000000100011000011001000001001101111101110100000
39 1111001110000000000011001001001000000111010000101000000010000010
39 0111111110101111001010101110011111111010111101111111011111100001
39 1100010100101100100110101100011000001000011110011111111010100000
39 0111110000011110010...

Bruno to Manager

BBAAAABAABBAAAABAABAAAABAABBABBBBABBBBA
BAAABAAABAABAAAAAAAABBABAAAAABAAAAAABAA
BBBBBBABBBBAABBBBBBBABBBBBABBBBBBABBBBB
AABBBBABABBABABBBAAABBABBBBAABBBBBBBBAB
BBAAAABAABBAAAABAABAAAABAABBABBBBABBBBA
BBAAAABAABBAAAABAABAAAABAABBABBBBABBBBA
BBBBBBAABBBBBBBBBABBBBBBBBBBBBBBBBBBBBB
BBAAAABAABBAAAABAABA...

result:

points 1.0 Accepted: 43

Test #40:

score: 100
Accepted
time: 41ms
memory: 5056kb

Manager to Anna

20000
0 7 39 BBBABBBBAABAABBBABAABABAAAABBBBBABBBBBB
6 6 39 BABBABAAAAAAAAAABBAAAAAAAAAAAAAAAAAAABA
3 5 39 AAAAAAAAABAAAAAAAAAAAAAAAAAAAAABAAAAAAA
5 4 39 BABBBBBABBABABBABBAABBABAABBAABABBAABBA
3 4 39 BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBABBBBBBBB
5 4 39 BABBBBBABBABABBABBAABBABAABBAABABBAABBA
2 6 39 AAAAA...

Anna to Manager

0011101000011100100111010010100001111101111110000
0111000000000011110000110000000000000000000100000
1110000000010011010000000000000000000100000000000
1101101100010110000110110011010011001011001100000
1010111111011101111111111111111111110111111110000
1101101100010110000110110011010011001011001100000
...

Manager to Bruno

20000
39 1100101000111010000011100010011010100101100001101110111111100000
39 0111001000000000111100000110000000000000000000001100111001000010
39 1110010000001100110100001011110100000000000001000010010000000100
39 1101110110000101100000110110001101000110000100010101010011000000
39 1010111111101111011...

Bruno to Manager

BBBABBBBAABAABBBABAABABAAAABBBBBABBBBBB
BABBABAAAAAAAAAABBAAAAAAAAAAAAAAAAAAABA
AAAAAAAAABAAAAAAAAAAAAAAAAAAAAABAAAAAAA
BABBBBBABBABABBABBAABBABAABBAABABBAABBA
BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBABBBBBBBB
BABBBBBABBABABBABBAABBABAABBAABABBAABBA
AAAAABBAAAAABABBBBBAABABAABAABABAABAAAA
BABBBBBABBABABBABBAA...

result:

points 1.0 Accepted: 43

Test #41:

score: 100
Accepted
time: 36ms
memory: 5196kb

Manager to Anna

20000
6 7 40 ABBBAAAAAAAABBAAAABBBABAABAABAABAAAAABBA
6 6 40 ABBBBBBBBBBBBBAABABBABABBABBBABABBBABBBB
3 6 40 ABABBBABBBAAAAABAABBBBBABAAABBBABAABBAAA
1 5 40 BBBABBBAAABBABBAAABABBAABBAABABBAAAABBBB
7 0 40 BBBBBBBBBBBBBBABBBBABBBBBABBBBBBBBBBBABB
0 4 40 BBABBABBAABABBBBABBBBAAAABAAABBAABBBAAAB
2 0 40...

Anna to Manager

0000000110100000111100001110100100100100000110000
1011111000111101001100101101011011101011101111000
0100011101010000110001001111101000111010011000000
0111101011011000110110001011001100101100001111000
1111111110111100011101111011111011111111111011000
1010011010001100101111011110000100011001110001000
...

Manager to Bruno

20000
40 0000000111010001001111000001110010010011001000001000010101100000
40 1011111100011101010011000101100101101101010111001100111011110010
40 0100011110101010001100001011110110011101101000111101001110000010
40 0111110100000001011010100011001100010011001101010110000011110000
40 1111111111101111000...

Bruno to Manager

ABBBAAAAAAAABBAAAABBBABAABAABAABAAAAABBA
ABBBBBBBBBBBBBAABABBABABBABBBABABBBABBBB
ABABBBABBBAAAAABAABBBBBABAAABBBABAABBAAA
BBBABBBAAABBABBAAABABBAABBAABABBAAAABBBB
BBBBBBBBBBBBBBABBBBABBBBBABBBBBBBBBBBABB
BBABBABBAABABBBBABBBBAAAABAAABBAABBBAAAB
ABABBBABBBAAAAABAABBBBBABAAABBBABAABBAAA
AAABBAAAABAAA...

result:

points 1.0 Accepted: 43

Test #42:

score: 100
Accepted
time: 42ms
memory: 5132kb

Manager to Anna

20000
7 1 40 ABBBBBABABBBABBBABAABBABAABAAABBABBBBAAB
2 0 40 AAAAAAAAAABAAAAAAAAAAAABAAAAAAAAAAAAAAAA
3 0 40 AABAAAAAAAAAAAAAAAAAAAABBAAAAAAAAAAABAAA
0 4 40 AABBAAAABBAABBBBBBBBBABBBBABABBAABBABBAA
2 4 40 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
3 3 40 BAABAABAAAABBAAABBABABABBABABBBABAABBABB
1 2 40...

Anna to Manager

1011110001101100110111010011010010001101111001000
1000000110000000100000000000010000000000000000000
1000000011000001000000000000011000000000001000000
0111110100000011001111111110111101011001101100000
0000000011000000000000000000000000000000000000000
1001001101000001111000110101011010111010011011000
...

Manager to Bruno

20000
40 1101111001011011000110111001001101100100001101111100100000001010
40 1100000001100000000011001001000010000000101000000000000010000000
40 1100000010110000001000001011110100000000101100001000000011000000
40 1000000001111110100000001100011111110110111110101100011011000000
40 0000100001101000010...

Bruno to Manager

ABBBBBABABBBABBBABAABBABAABAAABBABBBBAAB
AAAAAAAAAABAAAAAAAAAAAABAAAAAAAAAAAAAAAA
AABAAAAAAAAAAAAAAAAAAAABBAAAAAAAAAAABAAA
AABBAAAABBAABBBBBBBBBABBBBABABBAABBABBAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
BAABAABAAAABBAAABBABABABBABABBBABAABBABB
ABBBBBABABBBABBBABAABBABAABAAABBABBBBAAB
ABAABAAAAABBB...

result:

points 1.0 Accepted: 43

Test #43:

score: 100
Accepted
time: 41ms
memory: 5132kb

Manager to Anna

20000
5 4 41 BAABBABBBABABBABBBBBBBAABBAABABBBAABABABA
5 5 41 AAAAAABAAAAAAABAAAAAAAAAAAAAAAAAAAAABAAAA
2 0 41 AABAABABBABAAABBAAAABBBBBAAABAABAAAAAABAA
1 3 41 BBBBBBBBBBBBBBBBABBBBBBBBBBBBBBBBABBBBBBB
6 7 41 BBBBABBBBBBBBBBBBBBBBABBBABBBBBBABBBBBBBB
2 6 41 BBBBBBBABBBBBBBBBBBBAABBBBBBBBBBBBBBBBBBB
...

Anna to Manager

1101111010001010011101111111001100101110010101000
1110100010000010010010000000000000000000001000000
1000010110010110100011000011111000100100000010000
1011111110111111111111011111111111111110111111100
0010111001011110111111111110111011111101111111100
0110111110011011111111111100111111111111111111100
...

Manager to Bruno

20000
41 1101111101001010100101101111011100111001010000100111100101010000
41 1110110001000000100100010000000000000000011001110000000010000100
41 1100001011100101010111101101000101000011111100011001000010010000
41 1011111100000001110011111110111110101111111111111110101111101100
41 0010111100101111101...

Bruno to Manager

BAABBABBBABABBABBBBBBBAABBAABABBBAABABABA
AAAAAABAAAAAAABAAAAAAAAAAAAAAAAAAAAABAAAA
AABAABABBABAAABBAAAABBBBBAAABAABAAAAAABAA
BBBBBBBBBBBBBBBBABBBBBBBBBBBBBBBBABBBBBBB
BBBBABBBBBBBBBBBBBBBBABBBABBBBBBABBBBBBBB
BBBBBBBABBBBBBBBBBBBAABBBBBBBBBBBBBBBBBBB
ABABBAABAAAABABABBBAAAAABABBBBABAAAABBBBB
ABABAB...

result:

points 1.0 Accepted: 43

Test #44:

score: 100
Accepted
time: 45ms
memory: 5036kb

Manager to Anna

20000
4 4 41 BABAABAAABBAABAAAAAAAAAAAAABABAAAAAABAABA
7 2 41 BAABBBAAABBBAAABBBAABAAAAAAAABBAABAAABBAA
0 0 41 BABAAABBBABAABAABABABABBBAABBBABAABBABBBA
5 0 41 BABAAABBBABAABAABABABABBBAABBBABAABBABBBA
1 2 41 BABAAABBBABAABAABABABABBBAABBBABAABBABBBA
4 2 41 ABBAAAAAABAABABAAABAABBAAAAABAABAAAAAAABA
...

Anna to Manager

0110000010011011000100000000000001010000001001000
0001110111001110110001110010000000011001000110000
0101010000001110100100101010111001110100110111000
1010001111110110100100101010111001110100110111000
0111010110001110100100101010111001110100110111000
0110000001001000101010001001100000100100000001000
...

Manager to Bruno

20000
41 0110100001001110110000100000000010100001000000101000100010010000
41 0010111011010011100110001101001000000000110001000111000010011101
41 1101011110101010000000111101001000101010111100111101001110111000
41 1101000101111101010100100010101001110011000100010101001100111000
41 0111101010100111110...

Bruno to Manager

BABAABAAABBAABAAAAAAAAAAAAABABAAAAAABAABA
BAABBBAAABBBAAABBBAABAAAAAAAABBAABAAABBAA
BABAAABBBABAABAABABABABBBAABBBABAABBABBBA
BABAAABBBABAABAABABABABBBAABBBABAABBABBBA
BABAAABBBABAABAABABABABBBAABBBABAABBABBBA
ABBAAAAAABAABABAAABAABBAAAAABAABAAAAAAABA
ABABBBBBBABBAAAAABBABBBAABBAAABBABBBBABAB
BABBBB...

result:

points 1.0 Accepted: 43

Test #45:

score: 100
Accepted
time: 40ms
memory: 4924kb

Manager to Anna

20000
5 6 42 BAABBABBBABAAABBBBABBBAAABAABAABBBBBAAAABB
6 6 42 AAABABBAAAAAAAAAAAAAABABAAAAABAAAAAABABAAA
5 0 42 BAAABAAAAAAAAAAAAAAABAABBAABAAAABAABAAAABA
7 7 42 ABABBABBBAABBBBABBABABBBBBBABBBBABBBBBBAAB
2 1 42 BBAABBBBBBABAAAABBBABBAABBBABABBAAABABABBB
5 2 42 BABBABABABABAAAABBBBBBAAAABBAAABBBBBA...

Anna to Manager

0111111111101001000011110111000100100111110000110
1001100000000011100000000001010000010000001010000
1110100110000000100000000010011001000010010000100
0011111101000101101110110101111110111101111110010
1001100100111111010000111011001110101100010101110
1111010010101011110000111111000011000111110111110
...

Manager to Bruno

20000
42 0111111111110110010000011110110100010011010000100011111100001100
42 1001101000000000111000000000000101000000100000001100111010100010
42 1111010011100000000100001000001000110010111101011000100110000100
42 0011111110100010011011100110101011111010111011101110010001000100
42 1100110011001111010...

Bruno to Manager

BAABBABBBABAAABBBBABBBAAABAABAABBBBBAAAABB
AAABABBAAAAAAAAAAAAAABABAAAAABAAAAAABABAAA
BAAABAAAAAAAAAAAAAAABAABBAABAAAABAABAAAABA
ABABBABBBAABBBBABBABABBBBBBABBBBABBBBBBAAB
BBAABBBBBBABAAAABBBABBAABBBABABBAAABABABBB
BABBABABABABAAAABBBBBBAAAABBAAABBBBBABBBBB
BBAABBBBBBABAAAABBBABBAABBBABABBAAABABABBB...

result:

points 1.0 Accepted: 43

Test #46:

score: 100
Accepted
time: 41ms
memory: 5068kb

Manager to Anna

20000
7 1 42 ABAAABABAAAAAAABABAABBAABBBBAAAAAAAABAABAA
2 3 42 BBBBAABBBABAABABBBABABBAABBBBBBBBABBAABABA
6 5 42 ABBBABABBBAABBABABBABAABABBAAAAAAAAABBAAAA
2 2 42 BBBBBBBBAABBBBBBBABABBBBBBBBBBAABABBBBBABB
5 5 42 AAABBBAABABBBBAAAABBAAAAABBBBAABBBAABABBBA
0 3 42 ABBBABABBBAABBABABBABAABABBAAAAAAAAAB...

Anna to Manager

1010010001100011100001010011001111000000001001000
0001111100001110100101110101100111111110110010100
0111011010110011111101011010010110000000001100000
0001111110111100111111101011111111110010111110110
0011001101001101011100001100000111100111001011100
0000111100010111001101011010010110000000001100000
...

Manager to Bruno

20000
42 1101001001011000101100001001001101011110000000001100100000001010
42 0001111110000011000011001011001011110101100111111110101100110100
42 0111011101011100111110101011011001011000000001001110101111000100
42 0010111111001111000000100001111111001011111111111000101111010110
42 0011010110100111010...

Bruno to Manager

ABAAABABAAAAAAABABAABBAABBBBAAAAAAAABAABAA
BBBBAABBBABAABABBBABABBAABBBBBBBBABBAABABA
ABBBABABBBAABBABABBABAABABBAAAAAAAAABBAAAA
BBBBBBBBAABBBBBBBABABBBBBBBBBBAABABBBBBABB
AAABBBAABABBBBAAAABBAAAAABBBBAABBBAABABBBA
ABBBABABBBAABBABABBABAABABBAAAAAAAAABBAAAA
BBBBBBBABBBBBBBBBBBBBBBABBBBBABBBBBBBBBBAB...

result:

points 1.0 Accepted: 43

Test #47:

score: 100
Accepted
time: 36ms
memory: 5068kb

Manager to Anna

20000
6 7 43 BAAAAAAABAAAAAAAAAABAABABABAAAAABAAAAAABABB
3 3 43 AAAABBBABABBAAABBABBBABBABAABAABABBBAAAAABB
0 4 43 BBABBBBBBBBBABBABBBBBBBBBBBBABBBBBBBBBBBBBB
1 1 43 BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBABBBBBBBA
5 5 43 BABAABABABAABBAABBBAAAABAAAABAABBBABABABAAA
5 2 43 AAAABBBABABBAAABBABBBABBABAABAAB...

Anna to Manager

0010001010100000100000000100101010000010000001011
0000111001010111110001101110110100100101110000011
1010011010011111110110111111111111011111111111111
1101111010111111111111111111111111111111011111110
1111010110110011001100111000010000100111010101000
1100111001010101110001101110110100100101110000011
...

Manager to Bruno

20000
43 0010001101010001001000000000100010101001000100001000010100010110
43 0001011100100101111010000001100111011110110110010010011100010011
43 1101011110101011010001111111101101110111111111101111111111111111
43 1110111100000001001011111011111110111111111111111011110110111110
43 1111011011011100110...

Bruno to Manager

BAAAAAAABAAAAAAAAAABAABABABAAAAABAAAAAABABB
AAAABBBABABBAAABBABBBABBABAABAABABBBAAAAABB
BBABBBBBBBBBABBABBBBBBBBBBBBABBBBBBBBBBBBBB
BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBABBBBBBBA
BABAABABABAABBAABBBAAAABAAAABAABBBABABABAAA
AAAABBBABABBAAABBABBBABBABAABAABABBBAAAAABB
AAAABBBABABBAAABBABBBABBABAABAABABBB...

result:

points 1.0 Accepted: 43

Test #48:

score: 100
Accepted
time: 32ms
memory: 5012kb

Manager to Anna

20000
6 2 43 BABAABABBAABBABAAABAAABAABABABBABAABAAABABB
6 2 43 BABAABABBAABBABAAABAAABAABABABBABAABAAABABB
2 1 43 BABAABABBAABBABAAABAAABAABABABBABAABAAABABB
3 2 43 ABAABABBBBBBBBBBBBBABBABBBBAABBABBBBBBABBBA
2 5 43 BABAABABBAABBABAAABAAABAABABABBABAABAAABABB
7 1 43 AAAABAAAAAAABAAAAAAAABBABAAAAAAA...

Anna to Manager

0000010001110001111010001000100101011010010001011
0000010001110001111010001000100101011010010001011
1001010100010110011010001000100101011010010001011
0000101111111111111111111011011110011011111101110
1001100110010110011010001000100101011010010001011
1100100100000011101000000001101000000000000010001
...

Manager to Bruno

20000
43 0010001000111100010111010000100010101010110010011000010100001011
43 0010001000011100010111010000100010001010110010011100111000101011
43 1100101011000101010111101100110100001000110010101110100101001011
43 0010010111011111110111110000010011011011011111001100111111001110
43 1001110011001101010...

Bruno to Manager

BABAABABBAABBABAAABAAABAABABABBABAABAAABABB
BABAABABBAABBABAAABAAABAABABABBABAABAAABABB
BABAABABBAABBABAAABAAABAABABABBABAABAAABABB
ABAABABBBBBBBBBBBBBABBABBBBAABBABBBBBBABBBA
BABAABABBAABBABAAABAAABAABABABBABAABAAABABB
AAAABAAAAAAABAAAAAAAABBABAAAAAAAAAAAAABAAAB
AABABAAAABBBBABAABBAAAAAAAAAAABBBAAB...

result:

points 1.0 Accepted: 43

Extra Test:

score: 0
Extra Test Passed