Please fix this unvalued testcase


#1

`A : [ 5513, 5143, 5274, 5259, 5608, 5556, 5022, 5675, 5711, 5936, 5796, 5783, 5422, 5182, 5461, 5537, 5091, 5000, 5349, 5997, 5218, 5089, 5319, 5243, 5114, 5083, 5032, 5741, 5827, 5298, 5674, 5094, 5277, 5681, 5407, 5724, 5786, 5347, 5402, 5944, 5647, 5429, 5248, 5196, 5270, 5490, 5164, 5692, 5736, 5590, 5004, 5391, 5353, 5848, 5654, 5847, 5372, 5641, 5975, 5472, 5666, 5962, 5629, 5910, 5997, 5326, 5203, 5626, 5617, 5603, 5421, 5822, 5421, 5591, 5533, 5198, 5246, 5584, 5933, 5450, 5621, 5532, 5534, 5985, 5098, 5762, 5265, 5784, 5617, 5361, 5987, 5020, 5732, 5440, 5974, 5684, 5993, 5774, 5926, 5594, 5629, 5395, 5593, 5108, 5505, 5038, 5387, 5542, 5357, 5936, 5544, 5602, 5954, 5088, 5803, 5771, 5828, 5897, 5455, 5637, 5519, 5809, 5020, 5113, 5497, 5348, 5661, 5985, 5129, 5857, 5111, 5055, 5047, 5010, 5708, 5402, 5844, 5290, 5281, 5467, 5003, 5234, 5661, 5885, 5024, 5356, 5715, 5068, 5847, 5764, 5345, 5863, 5136, 5387, 5298, 5273, 5826, 5446, 5529, 5180, 5350, 5703, 5727, 5151, 5022, 5186, 5287, 5553, 5997, 5395, 5960, 5006, 5048, 5078, 5299, 5675, 5894, 5030, 5374, 5916, 5924, 5554, 5247, 5862, 5996, 5094, 5549, 5041, 5046, 5710, 5539, 5118, 5375, 5040, 5550, 5122, 5866, 5874, 5362, 5977, 5301, 5537, 5600, 5215, 5517, 5356, 5595, 5219, 5476, 5640, 5155, 5685, 5682, 5749, 5521, 5137, 5241, 5993, 5468, 5220, 5646, 5636, 5771, 5518, 5005, 5196, 5788, 5161, 5588, 5242, 5925, 5033, 5170, 5196, 5185, 5941, 5129, 5100, 5805, 5941, 5691, 5777, 5939, 5460, 5745, 5972, 5183, 5368, 5793, 5750, 5024, 5936, 5808, 5096, 5657, 5973, 5582, 5331, 5689, 5787, 5890, 5906, 5248, 5722, 5030, 5684, 5131, 5985, 5765, 5094, 5073, 5906, 5305, 5401, 5038, 5660, 5897, 5063, 5600, 5876, 5115, 5860, 5385, 5501, 5879, 5251, 5749, 5251, 5997, 5902, 5468, 5778, 5638, 5698, 5026, 5684, 5153, 5450, 5661, 5010, 5231, 5571, 5126, 5818, 5865, 5536, 5572, 5651, 5083, 5846, 5029, 5621, 5752, 5419, 5991, 5092, 5896, 5171, 5486, 5295, 5983, 5267, 5847, 5931, 5624, 5434, 5308, 5198, 5354, 5236, 5432, 5401, 5801, 5209, 5814, 5789, 5456, 5573, 5861, 5665, 5174, 5362, 5311, 5970, 5791, 5587, 5786, 5837, 5829, 5913, 5894, 5617, 5518, 5084, 5512, 5537, 5567, 5610, 5030, 5952, 5225, 5620, 5372, 5565, 5139, 5441, 5639, 5105, 5016, 5666, 5728, 5119, 5275, 5329, 5171, 5932, 5632, 5892, 5681, 5191, 5805, 5982, 5419, 5442, 5425, 5839, 5192, 5977, 5883, 5706, 5944, 5811, 5974, 5544, 5145, 5471, 5603, 5844, 5922, 5625, 5256, 5407, 5503, 5757, 5112, 5220, 5692, 5690, 5987, 5390, 5325, 5331, 5648, 5096, 5790, 5402, 5072, 5854, 5046, 5590, 5916, 5115, 5458, 5743, 5050, 5250, 5151, 5575, 5715, 5280, 5639, 5451, 5201, 5146, 5248, 5346, 5343, 5419, 5609, 5533, 5577, 5273, 5638, 5760, 5111, 5193, 5926, 5464, 5139, 5815, 5276, 5038, 5403, 5515, 5867, 5891, 5747, 5344, 5061, 5356, 5227, 5527, 5349, 5255, 5417, 5604, 5764, 5142, 5856, 5063, 5473, 5693, 5969, 5333, 5508, 5471, 5641, 5656, 5101, 5541, 5851, 5708, 5280, 5473, 5079, 5499, 5516, 5040, 5140, 5268, 5749, 5318, 5745, 5808, 5270, 5655, 5018, 5797, 5354, 5963, 5161, 5966, 5493, 5505, 5044, 5122, 5559, 5247, 5078, 5084, 5169, 5953, 5744, 5652, 5267, 5840, 5536, 5876, 5173, 5613, 5378, 5757, 5589, 5294, 5879, 5098, 5200, 5136, 5732, 5413, 5524, 5879, 5004, 5698, 5461, 5249, 5688, 5865, 5686, 5129, 5494, 5295, 5643, 5891, 5896, 5295, 5109, 5339, 5599, 5900, 5958, 5443, 5159, 5451, 5230, 5300, 5628, 5591, 5828, 5365, 5758, 5365, 5352, 5218, 5985, 5737, 5825, 5310, 5407, 5312, 5523, 5181, 5818, 5088, 5387, 5955, 5701, 5421, 5486, 5961, 5251, 5581, 5111, 5769, 5954, 5518, 5287, 5448, 5921, 5622, 5426, 5643, 5912, 5003, 5816, 5637, 5470, 5549, 5617, 5016, 5713, 5585, 5900, 5258, 5977, 5407, 5617, 5618, 5862, 5110, 5510, 5955, 5636, 5606, 5991, 5472, 5852, 5494, 5114, 5568, 5613, 5047, 5690, 5149, 5018, 5441, 5465, 5743, 5685, 5581, 5756, 5798, 5428, 5866, 5690, 5240, 5060, 5484, 5437, 5064, 5628, 5810, 5100, 5128, 5131, 5878, 5544, 5304, 5948, 5979, 5797, 5055, 5024, 5938, 5131, 5233, 5517, 5925, 5286, 5241, 5086, 5960, 5283, 5497, 5458, 5941, 5501, 5497, 5546, 5463, 5302, 5812, 5789, 5033, 5609, 5009, 5967, 5519, 5368, 5960, 5650, 5941, 5697, 5323, 5098, 5047, 5919, 5655, 5088, 5001, 5766, 5787, 5519, 5264, 5054, 5129, 5483, 5192, 5908, 5954, 5915, 5704, 5558, 5559, 5220, 5891, 5661, 5685, 5144, 5096, 5184, 5009, 5678, 5644, 5910, 5044, 5780, 5342, 5036, 5280, 5259, 5812, 5432, 5132, 5530, 5820, 5117, 5349, 5725, 5533, 5761, 5566, 5735, 5551, 5667, 5408, 5102, 5560, 5616, 5501, 5518, 5393, 5295, 5426, 5065, 5720, 5732, 5916, 5869, 5007, 5891, 5148, 5334, 5869, 5246, 5981, 5358, 5636, 5104, 5453, 5026, 5779, 5874, 5771, 5111, 5028, 5909, 5568, 5629, 5352, 5106, 5593, 5642, 5946, 5663, 5828, 5386, 5866, 5267, 5656, 5398, 5443, 5708, 5474, 5698, 5982, 5670, 5365, 5636, 5472, 5230, 5610, 5465, 5042, 5800, 5569, 5234, 5144, 5990, 5959, 5072, 5340, 5426, 5352, 5531, 5667, 5062, 5470, 5993, 5144, 5818, 5778, 5789, 5264, 5134, 5579, 5278, 5790, 5441, 5805, 5691, 5232, 5905, 5932, 5203, 5034, 5131, 5217, 5761, 5889, 5197, 5604, 5783, 5498, 5218, 5195, 5362, 5756, 5926, 5785, 5623, 5147, 5194, 5050, 5933, 5535, 5635, 5958, 5547, 5069, 5262, 5381, 5315, 5572, 5815, 5402, 5711, 5067, 5890, 5995, 5810, 5632, 5473, 5935, 5891, 5100, 5016, 5329, 5702, 5093, 5573, 5844, 5483, 5604, 5939, 5496, 5643, 5769, 5329, 5980, 5288, 5355, 5343, 5892, 5924, 5364, 5841, 5413, 5005, 5749, 5375, 5206, 5359, 5798, 5579, 5794, 5067, 5016, 5932, 5219, 5119, 5006, 5371, 5593, 5861, 5073, 5333, 5467, 5129, 5460, 5153, 5421, 5365, 5856, 5626, 5234, 5631, 5697, 5446, 5764, 5413, 5056, 5384, 5947, 5152, 5721, 5163, 5658, 5831, 5720, 5512, 5352, 5805, 5576, 5114, 5917, 5894, 5180, 5928, 5267, 5062, 5322, 5467, 5232, 5650, 5540, 5024, 5257, 5779, 5337, 5448, 5128, 5808, 5028, 5454, 5569, 5019, 5723, 5529, 5650, 5944, 5746, 5571, 5009, 5649, 5793, 5944, 5042, 5957, 5916, 5475, 5297, 5042, 5513, 5982, 5237, 5096, 5511, 5257, 5366, 5800, 5269, 5317, 5585, 5373, 5841, 5321, 5681, 5794, 5035, 5028, 5295, 5549, 5232, 5892, 5957, 5234, 5403, 5127, 5904, 5274, 5801, 5000, 5677, 5061, 5411, 5228, 5669, 5966, 5938, 5709, 5996, 5895, 5462, 5110, 5390, 5837, 5431, 5529, 5450, 5468, 5408, 5670, 5532, 5030, 5377, 5532, 5526, 5304, 5828, 5277, 5310, 5614, 5258, 5261, 5318, 5112, 5839, 5691, 5632, 5069, 5587, 5803, 5600, 5119, 5098, 5771, 5903, 5007, 5871, 5053, 5533, 5194, 5276, 5581, 5935, 5619, 5981, 5515, 5529, 5532, 5710, 5899, 5709, 5288, 5241, 5523, 5925, 5811, 5837, 5140, 5173, 5523, 5523, 5701, 5125, 5528, 5043, 5828, 5661, 5467, 5063, 5910, 5146, 5819, 5286, 5010, 5488, 5557, 5444, 5369, 5112, 5285, 5671, 5848, 5957, 5920, 5837, 5249, 5921, 5700, 5661, 5767, 5445, 5226, 5715, 5297, 5841, 5035, 5376, 5233, 5608, 5881, 5744, 5853, 5760, 5119, 5070, 5557, 5280, 5932, 5230, 5126, 5371, 5859, 5785, 5102, 5317, 5678, 5198, 5713, 5827, 5789, 5782, 5348, 5544, 5690, 5889, 5224, 5276, 5551, 5160, 5753, 5791, 5458, 5483, 5832, 5336, 5567, 5172, 5173, 5111, 5606, 5171, 5785, 5729, 5711, 5571, 5755, 5157, 5811, 5540, 5849, 5882, 5245, 5890, 5314, 5668, 5897, 5679, 5386, 5447, 5612, 5909, 5045, 5203, 5181, 5911, 5839, 5929, 5025, 5888, 5468, 5884, 5525, 5627, 5851, 5867, 5992, 5532, 5024, 5558, 5110, 5447, 5170, 5351, 5933, 5353, 5146, 5196, 5217, 5011, 5118, 5930, 5451, 5582, 5885, 5476, 5650, 5795, 5836, 5316, 5056, 5962, 5400, 5680, 5176, 5862, 5564, 5489, 5782, 5854, 5245, 5472, 5912, 5335, 5852, 5058, 5339, 5289, 5517, 5374, 5026, 5415, 5334, 5324, 5762, 5123, 5169, 5113, 5473, 5201, 5285, 5064, 5913, 5586, 5282, 5451, 5823, 5668, 5668, 5322, 5089, 5472, 5338, 5722, 5864, 5453, 5111, 5082, 5954, 5731, 5913, 5395, 5010, 5482, 5840, 5718, 5636, 5156, 5377, 5562, 5803, 5792, 5619, 5766, 5782, 5936, 5314, 5323, 5347, 5437, 5643, 5350, 5850, 5234, 5647, 5309, 5926, 5111, 5899, 5992, 5423, 5231, 5478, 5322, 5939, 5940, 5021, 5527, 5086, 5825, 5412, 5608, 5408, 5831, 5542, 5269, 5238, 5636, 5047, 5299, 5867, 5698, 5704, 5118, 5696, 5508, 5099, 5641, 5602, 5222, 5903, 5451, 5788, 5485, 5942, 5092, 5820, 5045, 5461, 5656, 5826, 5650, 5228, 5747, 5294, 5112, 5494, 5214, 5089, 5295, 5923, 5785, 5120, 5505, 5804, 5658, 5884, 5806, 5975, 5996, 5173, 5067, 5548, 5308, 5320, 5478, 5919, 5352, 5814, 5653, 5248, 5033, 5263, 5439, 5967, 5578, 5319, 5098, 5651, 5265, 5304, 5663, 5964, 5366, 5080, 5516, 5935, 5793, 5437, 5160, 5443, 5833, 5302, 5220, 5762, 5042, 5683, 5336, 5146, 5319, 5784, 5756, 5205, 5609, 5430, 5680, 5590, 5110, 5114, 5781, 5156, 5341, 5242, 5550, 5083, 5729, 5573, 5985, 5753, 5372, 5235, 5283, 5559, 5710, 5893, 5091, 5209, 5550, 5006, 5941, 5944, 5920, 5978, 5874, 5893, 5360, 5589, 5309, 5176, 5294, 5624, 5753, 5963, 5155, 5263, 5138, 5312, 5739, 5734, 5234, 5722, 5266, 5390, 5101, 5963, 5132, 5163, 5454, 5289, 5056, 5040, 5083, 5286, 5724, 5652, 5127, 5144, 5055, 5166, 5479, 5463, 5651, 5103, 5439, 5686, 5442, 5584, 5133, 5803, 5131, 5476, 5181, 5274, 5604, 5871, 5991, 5646, 5242, 5407, 5919, 5137, 5807, 5537, 5844, 5735, 5403, 5143, 5235, 5990, 5718, 5513, 5092, 5001, 5645, 5889, 5861, 5982, 5195, 5420, 5917, 5291, 5586, 5254, 5580, 5576, 5306, 5181, 5082, 5025, 5825, 5929, 5389, 5931, 5075, 5874, 5447, 5273, 5340, 5330, 5982, 5735, 5396, 5676, 5429, 5231, 5915, 5790, 5108, 5010, 5429, 5611, 5092, 5938, 5887, 5140, 5550, 5533, 5547, 5144, 5412, 5100, 5536, 5417, 5904, 5045, 5390, 5122, 5099, 5166, 5024, 5869, 5521, 5419, 5162, 5865, 5827, 5481, 5437, 5533, 5868, 5364, 5721, 5462, 5473, 5486, 5995, 5447, 5971, 5089, 5063, 5585, 5775, 5223, 5976, 5032, 5567, 5592, 5069, 5817, 5226, 5636, 5350, 5033, 5298, 5585, 5112, 5216, 5533, 5431, 5132, 5782, 5662, 5442, 5367, 5668, 5092, 5264, 5510, 5566, 5395, 5620, 5080, 5255, 5873, 5634, 5384, 5013, 5548, 5188, 5923, 5119, 5467, 5188, 5855, 5869, 5898, 5210, 5133, 5559, 5242, 5113, 5792, 5353, 5608, 5845, 5990, 5925, 5661, 5792, 5671, 5433, 5902, 5773, 5075, 5298, 5932, 5692, 5873, 5449, 5150, 5184, 5086, 5653, 5142, 5517, 5018, 5202, 5434, 5614, 5601, 5888, 5636, 5678, 5616, 5071, 5892, 5445, 5167, 5017, 5412, 5637, 5358, 5832, 5172, 5166, 5627, 5555, 5855, 5111, 5963, 5435, 5205, 5973, 5414, 5202, 5323, 5905, 5424, 5934, 5384, 5013, 5685, 5658, 5610, 5935, 5981, 5071, 5296, 5314, 5337, 5729, 5721, 5025, 5397, 5556, 5485, 5221, 5262, 5329, 5994, 5489, 5349, 5379, 5682, 5612, 5092, 5247, 5994, 5982, 5297, 5051, 5598, 5431, 5577, 5486, 5507, 5740, 5367, 5033, 5438, 5331, 5893, 5236, 5484, 5298, 5481, 5708, 5185, 5259, 5068, 5780, 5684, 5779, 5600, 5001, 5611, 5195, 5256, 5963, 5427, 5269, 5036, 5544, 5683, 5091, 5260, 5379, 5889, 5909, 5661, 5949, 5765, 5274, 5018, 5179, 5509, 5153, 5413, 5937, 5216, 5176, 5622, 5068, 5943, 5284, 5923, 5566, 5857, 5554, 5905, 5150, 5270, 5638, 5681, 5486, 5382, 5490, 5207, 5345, 5763, 5770, 5695, 5892, 5556, 5029, 5921, 5821, 5588, 5638, 5471, 5505, 5123, 5068, 5596, 5514, 5306, 5966, 5703, 5417, 5884, 5027, 5991, 5840, 5923, 5617, 5682, 5492, 5273, 5092, 5681, 5017, 5121, 5610, 5870, 5942, 5461, 5613, 5369, 5194, 5729, 5457, 5271, 5150, 5512, 5766, 5845, 5597, 5221, 5135, 5195, 5675, 5221, 5148, 5492, 5994, 5003, 5550, 5124, 5258, 5531, 5633, 5203, 5489, 5635, 5767, 5298, 5025, 5655, 5618, 5851, 5650, 5157, 5897, 5838, 5224, 5824, 5143, 5321, 5726, 5352, 5689, 5832, 5538, 5762, 5495, 5710, 5195, 5572, 5668, 5970, 5489, 5860, 5049, 5621, 5020, 5729, 5999, 5730, 5615, 5218, 5068, 5647, 5078, 5774, 5367, 5140, 5854, 5100, 5735, 5698, 5772, 5580, 5178, 5917, 5216, 5701, 5842, 5437, 5027, 5912, 5092, 5122, 5503, 5868, 5547, 5966, 5559, 5276, 5883, 5023, 5191, 5758, 5026, 5060, 5453, 5470, 5932, 5248, 5711, 5210, 5886, 5437, 5767, 5999, 5274, 5164, 5301, 5596, 5005, 5722, 5467, 5749, 5294, 5124, 5863, 5459, 5841, 5134, 5452, 5058, 5882, 5512, 5618, 5251, 5293, 5187, 5983, 5347, 5469, 5875, 5318, 5860, 5676, 5565, 5903, 5922, 5235, 5690, 5855, 5073, 5234, 5172, 5650, 5565, 5330, 5625, 5742, 5137, 5841, 5742, 5506, 5380, 5350, 5102, 5998, 5737, 5101, 5379, 5573, 5959, 5517, 5676, 5200, 5585, 5152, 5824, 5837, 5109, 5203, 5489, 5560, 5890, 5352, 5884, 5712, 5750, 5… ]B :
the above test case doesnot consists of b value .please fix this issue


#2

If you will run this input as “Custom Test Case” and then print the value of B it ll show you some value and it is much greater than A.size(). So the answer can be found in linear time as we know B is greater than A.size()…i tried this method still the TL is exceeding.