Start time:
Mo 06 Mär 2017 08:00:00
End time:
Fr 12 Apr 2019 18:00:00
General test timeout:
2.0 seconds

Tests

Comment prefix #
Given input
11010100011
1
Expected output
3,1
5,2
Comment prefix #
Given input
10101
1
Expected output
2,1
Comment prefix #
Given input
101000101
1
Expected output
Comment prefix #
Given input
1111011111100111011111111110110111111010111011111111110111011111011110011111111111111101100111111111111100011011110111111111101011111011100111110101111001001110101100101111001010001011110100101111100101111111111011111110111110011111111110111101110100111001010101111101011011111011111111111011101111111101111110110010011010111011011001111100101101001111110010011111110111111111011001101111101011110111011111100101110111111111010111110100101010111001100111101111011111101011110111111110110110111111111111111111111101110101011101001001001110111001100101111101001111111010011110111111111111111011110101110111111101101110111111011101101111011111011111100100111011010101011111111101111001100111011101111010100111011001111110111001100111111010111101111111111111011011010100111100011000111111100101111110010111110111101101111101101101101111111111100101111111100111111101111111101010111011011110101111111111001010110011011111111011110111111101011001001111101110100111110100100101010111101111101111001110111010011110101110101010011100011100111110110111100110111111101111110111111100011111101111011110011001111111011111101110111100111111111101110111001110111110110110111111111011111110011000100111010111011111011110111111110111111111111011100110101111111011111001001111000101111010111111011110011101101111111111111110110110111111111010010111110110011111101011101011011111111110111110100111111000100001101111111111111110110111011110001011110011111011111111111111011111011101000111111101110101111111110100110111111011110001110111111111010111110111110010101011111110100111101111011111111001100010111111011111111011101011111101111101011111111100111111110110111110011111110011101111110010111111011111011111110111011010001110101111101011111101111111111111010111111111111101101011010110111111111110111011111110111111100111111101111101111111110111011111111011101111110101101111111011111110101011111111110101110111110101111011110010011011111101101111101101101010010011111101011000101111101111111101001111011011111111111011111111111101101111110111111110010111101011011011111110011111111111101110111110111110111111001111110011111101111101111111001111100111111111111100111111101101110100111111111111111110011110111111101111001110100111011111001101111011001001011111111111111010111111111010110110110010101111011101110101101111001001111011111011111101011100111111110011011111110110111101111101111111111110110110111011100000001110111111111110111111010111111111111110110111111100100110100111111111111011111111110011111111111001111000110110011110111111011111011101010101110111101111011110111111111111111111110011111111111101110011111011011101111011111111010011101101101111010110011110101101111100100010111110101111011111101111111101101111111101111110001101101111111011111111111111111111001110111111101101101111011110011111011110111111111001000111001111111011111001101100111111011110011111101101111111011111100100111101101101111011111110101111111111100100010110111110010011010110110000111111110100011111111111111111100101111111010101111101001110110111110101001101111010110111100100000111111111110111111011010111101110101111101111011110111001011101111111111100111011000110110111011101101011011101001111101100011011111101111000111111111111111110111011101101111001111111010111111111100011110111111100111111111100111111111111111101111011110111111111101110011000111110011111010110010100111111111111110010100000000111111111110110110111111101110110110011111010001111011111001110101111011110011110101111111111100110111111011111101111011011101110011111111111011110110111101101101010011111011111100110110101000111000110011011101111111001110111011100101111111111100110111001111111111001101101111111100101111111001011111100101111000010101011011111111100101111101110000110111100110111111011111111110110101011110101111100101111101111111111111111011001111111110111111111101011101111001101010111111100111111111111011111111001110101011111111011111011011111111111111110101111111011111111011100111111111111111011100111110100100111111011101110101111100111111111001110111011011111110111111110111110110111101100110110111110100001110010011110111101111011011111111111011110111011001110111110111111111011101011011111111111111111111110111111110111001110011111011111100101011111011111110111101100111011110110010101100110011110110111010011001101110100011011011101111111111100101111111111111111111011110001110011010011110111011111111101111111101111111111011101110100101010101011101100101011111110111110001001111001010111110101110111011101010010110111111001100111011110101111101110111111111100101111111011100111110111111110101111111011111011111111011011111111101110111011110111011100001111010110101110111110111110100000111001101110011111011001111011011011111111111101101111110111111111100111011101101111111110111100111111100110101010010101110011111111010011101111111011011111010101111101011011100111111001011101011110010011011011110101111111110010101111111110011000110111100110101100111010111011111100111011111010110111011011101111101110110101111111010001101111010111101101111111111110101011010111111111011111111110111111010011110111101111111111100101111110011011111111110110111111111111101011111100101111101111001100111010100111011111111111010110000110110111111010111110111110111111110100101101100111111101101011111101101011111111001001110101110111111111110101101110100111011111101110111111110110011011111110110101110110011110110111101111111111110111010111101001011010111000011111011110011011011011111101010110110111111111001100001111010111111111100101000010011100110110101101111001011111011101111111101111011110100101111111111101101111111110110001101110101111110111101110011000011001111000001111101111101111011011101110101110100111111011100100101010111111011111111110110001010010101001011110101000011110101101001111101110101111101111100111011100101011111110101001111111111111101100001010111011110111101010111111111111111111101111110111010111011011110110011101110110111111111111101000011111100011111110001001111101110110111111111111010100111011100110111111101111111101100100111111010111000001110101110110111010111111110010101111110111111011010111110111101110111011101111011111110001111011111111110010101001111011011001111111110111101101101011111110011111101101111111101101111111101110111101111111111111010111111011111101110101111111111110010011110101111011111101111010111011101101110110110011110010111110111011011011111111011111011111011111111011101111111100111011101011100011011111011011111001100101101110111111111111100101111111101111110111110111111011110011010111110011111001111111101111111011101010111011111011110111111011011111101111011011111111011111111010110011101111101101111110101101111111101011111111011101000111101100010101000110011111111111110111110111111111010111111010111011100111111111011111101111101111110011111111011111011111111111100111111011110011001110111110111101001111101100111111110010101101111010111111100111011101111111000111111101001111011001111111011110111001100111111111101111110001011101001110101010101110111011111101011111001111101111111010111101111111111101101011011111001111101110101111101111111110111111001110101101111100111111111111111111111110110111111111110111111111111001111010101110111001111110111110010001001101110111111111101011101101111011101111100111011001110101111110110111101111111111111111100111111110111010111001111011111111110110110011111011111011010111110011010101111111110011110101100111011101111111111111111111110111010000100100111111111111111101101101111011111111111111001101011111111011111101111111111111101011100011101110010111101101110110101101110111111111111110110111111111111111101001111110111101111111111000001011110111111111111111111010110111011101010111111101110101010111011101110111010111110101011111011110011111111011011001100111111111011111111010111101001111111011110110111111101011101111101111101111110111111100111011111111011101111111000111111111110101101111111110101111111111111011111110111111111100111111011111110101000001111011101111111001101010111010111010001011110110011101011010011110000011110110101111111011101110111010110111101111101101010111111111110111101111110011010111111111111110110111011011010111011111101111111111101111111111110001111110111100111111111110100011011101110011110111110111101011101011111110111111011111111101101110110111000101110011110110110101111110111100011100110011111110110011010101111101101110110001110111111111101011111111111111011101010111011101000100000100111100100011111111100101011111010111100101111001111101110000110110110111111111111101011111101110011111101011110111111100101001000111111101011011111011111111111011100101111010101110111111111011111111111111111111111000111111110111101100111111010111011001011110111111001111111010111101001111101011111101110111111110111111011011111111100111011111001111010111111111110111111111101111011111000111110111111111010111110101110111111111111101101110000111010110101101110111111111101110111110101111011010111111011111111011101110011100111100010011110111101111110111111101111110111111111111111111010100110100111111101011111111000011111110111110001111111111110011011111111111111110110101010001111111110111111100111111101111111011111111101110011010011111111101101111101111111111100111111110001110101111011111111111101111111111110111101110111101111010111011011111001111111100101110110101110000011100111110110011110011010110110101101101111011101101111110111110111111101000111111111111110101110011011111101111011111111111101111111011110111111110111111100111111011111111011111001110111111111000111111101111110110001111111111111011111101010111111111011110110011011111110111110101111111111111101110110101011111111110100111111111111110111100111011111111110110011101011111011111111101101111011111101011110111110101111111110001110101111101101111110111101111011001010101000111111110110111011101001010101010011011111010101111111011111101101111011011110101001110011100110101111111111011111011111101101111111111010101100110111111101111101111111100101111111111111011011111110111111000000110111111101011111111001111110111011011110111111111111110111101001111110110011110111101101111101100111111000010111010111111111011111000111001101010111111110111100111111011110110110000011111111111101111111110001111111111011111111101111111101111111001010100110111101101111111111001111101100011110010011011111001111110111111111101101001111111111011101110101111101011111111101011111011011111111111110101111101101111000111111111111011111111111101011101101110101111101110011110101111011001111100110100101111101110111101111101111111011000111001111111101111111111110101111111111111011101011111111110111101111101011001111110011111111110011111110111111001101011111010110111110011110111001011111100110111111111111101110111111011111111111111111110101100111110100101111110111111110010000010111101111110001111110111111101011111001111110101111101111001001011111011011110111011100111110011111111011111101100110011111101010101111011111011110111101111000111010101001110111111111111111111011111111111111101011101111000110110110000011101110011111011111111111111011011011111101000111111100011011111100001010011111101001001011111010001011111111101010011111101111010111111111111110111110111111111110111111011010111101011111101011101011001011011111111110111011100110111011111001111101101011111011110111000110111111011101011111101101111011110101101110111111100010111110111001111001111111101011111111101111111111011111111101111111111000000111000110111100111111111111111000111101111011110001111111101111100011111111011111011111101011011111011001110010101110111110100111110101010100011101111110111001111110101111111110100110110111011001111001111011111111110001110111011011111111111001111111011111111011011111111111101110111100101111111101111100110111101011111111111111111110011101111011111111010010101110111111010101101011101110101111111110110011111110111011111110111111110111011110001010011011111101010111110011101101111101110101111100111111011101011110110110101011111110101111101111110001101011111101110101111100011101011110111110111011110010101011111011011101111010111101011000110011110001111111111111111111111111101111001010010110111111111011101111111111111111111101111110111111101111110111000111101101011101111111101111111110111111111110111110111100011111110111001101111111111111011110011110101011011110100101111011101111110111010110111111110110111111111110111111101101111101110111111111110101111011101001111111011111011001110111110101101110011111011011111111111111111111111001111101111110011011110111101011110100011111111000111111011111101010111111000101110101111111010011111011001111110101001101110001111101011000110011111111110111101011011101111111101111111111011011010011111111110100110011010110110101111111100111111011011111111111111011001111011011101100111011110011101111100101111011101101111000001101011111101111101001101011111110011111101111111011110000111111101011100010111110100101111111000111101111110111110101011011111011111100100101110100010011111111111111101110101111111101100111101010111110001110110001111111111010111001011011111111111101111001111101011101101111111100111011011101111011110101111101111110111100010101100111111111111110111101110011100010111110111100111111111111111011111111111101111111101111111101010111111001101110011110101011011011111011111111111111110111101101110111111101001110010111101111111011011111111111110111101111011011111001111010111111111001111001111001101110111101110011101111101111111111010111111111010011101111010110100111110101101110101101111001011111011110111011110001111111111101111111110101011111001111111111101011111101011011110110011011011010111111010011111110011111100100101101101111111110110111101001011110110110011001111111111000111111011010111110111111011111111100111100011111111101110011000001110110011011101110001111101101101111111011111100011111111110110110111010011111110011110111110111110101011111111111101010111111110111011111110111001101011111111110111101111111111111011110111110110101100110011010110111111111101111110111111010011101011010111011111110110110111111111101101111010101100000111001100111000011110110111011110011110011111011111101111111100001111000111111111110111010111011111111110100110111001011010101111001110100101011111010111110110111100110110011101111010011111101011111100110011000111010101111111101010000011111011110110111111101111100111110011101110111111111111101010111111111101110010110111101111011110110101100111110010110011100011001011111110111100111110110111110010010001111001100011001011111111101111111101011111111111011111001011010101001110101101111111101011111110111101101111111111111011001001010111111110110111111011011110110111100111000111110110101111111110111111100111100000111110101100010101111111110111100011101110011011011111101111101001010101111011110101111111111011111111001111010110011101111001001111111111111111111111111101011101011011011110110111010100111101011100111111111011110100111011011111011111111010111011011110111111111011011111111001110010111100011111101111111111111110110110111011111111101000011100111100110111100111011111011101011110011011111101111111101111111111001011111111001111010111111101101011010101101111101111011101111111101101001011101001111101111111111111111101111111010011110101101111111111111111111100101111011011110111101111110111010111011111110110001111111111111111010111110011111100110010111010101111101111101111101010100111010011010011111101011111001111111111100111111110101011011101111011111110011111011111111111010111111001111110111011101101110101111110001101110111101111110011110011011111110011111111111001100011101111111000011011111101110111111111111111101111111011101111111001011111110111110110111100010111110111110101011111111101110001101111101111111111111100110111100101110011011110101010111111100111101101101011111011110011110110111111111011111111110101110101011101101111101101110101111110101011110111110111011100111110111111100110011010110000111101100111011101111101111111110101111011111111110101111111100111111011111101110101110100000111000111011111110010110111111101111001100010110111111011111100110111111111111100011111001111111111111100101111111000010011010001111101111110101011101110111111111101111111111011011111001111111110010110100101111010001111101100111101101110101111111011111001000011100110010111001011110111111111110101101111110110111110010011111001111101011000111111111101111001011111111110011110111111101101000111111110111111111101001101010111011111011111110111011111111111111111101001111010101101111111
4000
Expected output
7117,4002
7131,4012
7133,4010
7141,4008
7143,4004
7145,4018
7151,4001
7154,4008
7156,4021
7158,4010
7159,4025
7160,4014
7163,4006
7164,4012
7167,4000
7170,4039
7171,4011
7176,4007
7177,4007
7181,4005
7185,4017
7188,4016
7189,4009
7192,4028
7193,4005
7196,4015
7197,4007
7198,4021
7199,4032
7200,4034
7201,4013
7202,4031
7204,4014
7206,4014
7208,4032
7210,4017
7212,4033
7213,4051
7215,4039
7216,4025
7217,4053
7218,4046
7220,4002
7221,4007
7222,4033
7224,4018
7225,4024
7226,4047
7227,4013
7228,4026
7231,4025
7232,4031
7233,4023
7236,4020
7239,4020
7240,4042
7241,4029
7243,4018
7245,4012
7246,4050
7247,4029
7248,4053
7249,4036
7250,4067
7252,4056
7253,4050
7255,4060
7256,4040
7257,4061
7258,4034
7260,4036
7261,4040
7262,4044
7263,4017
7264,4049
7265,4035
7266,4048
7267,4062
7268,4041
7269,4085
7270,4066
7271,4060
7272,4049
7273,4057
7274,4057
7275,4034
7276,4040
7279,4070
7280,4072
7281,4052
7282,4070
7283,4065
7284,4051
7285,4075
7286,4053
7288,4064
7289,4064
7290,4055
7292,4072
7294,4041
7295,4036
7296,4046
7299,4096
7300,4072
7301,4048
7302,4061
7304,4073
7305,4035
7306,4036
7307,4066
7308,4061
7309,4080
7310,4058
7311,4050
7312,4092
7313,4076
7315,4063
7316,4062
7318,4074
7319,4048
7322,4099
7323,4069
7324,4083
7325,4064
7326,4086
7328,4066
7329,4070
7330,4098
7331,4065
7332,4068
7334,4081
7335,4087
7337,4055
7339,4076
7340,4055
7341,4091
7342,4074
7343,4084
7346,4086
7347,4094
7349,4108
7351,4083
7353,4114
7354,4089
7355,4104
7356,4104
7357,4095
7358,4097
7359,4092
7360,4115
7361,4097
7364,4106
7365,4092
7366,4100
7367,4123
7369,4097
7371,4109
7372,4107
7375,4115
7376,4126
7377,4109
7379,4128
7380,4131
7381,4145
7383,4155
7384,4126
7385,4080
7386,4108
7387,4121
7388,4081
7389,4116
7390,4129
7391,4100
7392,4112
7393,4106
7394,4121
7395,4105
7396,4132
7397,4105
7398,4121
7399,4089
7400,4105
7401,4132
7402,4103
7403,4104
7405,4130
7406,4113
7407,4138
7409,4148
7414,4154
7417,4119
7420,4114
7421,4151
7422,4136
7423,4111
7424,4125
7425,4124
7426,4129
7427,4149
7428,4127
7429,4137
7430,4138
7431,4133
7432,4138
7433,4164
7434,4169
7435,4125
7437,4133
7438,4139
7440,4131
7441,4134
7443,4151
7444,4116
7445,4159
7446,4148
7448,4144
7449,4155
7450,4113
7451,4112
7452,4154
7453,4184
7454,4158
7455,4142
7456,4121
7457,4148
7458,4153
7459,4154
7460,4166
7461,4158
7464,4165
7465,4174
7467,4163
7469,4188
7470,4174
7471,4166
7472,4149
7473,4151
7474,4176
7475,4130
7476,4142
7478,4171
7479,4154
7480,4169
7481,4165
7482,4144
7483,4171
7485,4166
7486,4146
7487,4169
7488,4204
7489,4157
7490,4164
7491,4192
7492,4155
7493,4163
7494,4151
7495,4171
7496,4178
7497,4174
7498,4186
7500,4192
7502,4177
7503,4192
7504,4177
7508,4214
7509,4189
7510,4243
7512,4178
7513,4187
7514,4191
7517,4197
7519,4182
7520,4187
7521,4210
7522,4192
7524,4232
7525,4201
7527,4176
7528,4205
7529,4186
7531,4200
7532,4184
7534,4215
7536,4195
7537,4215
7539,4221
7540,4198
7541,4203
7543,4215
7544,4219
7545,4193
7546,4201
7547,4192
7548,4197
7549,4210
7550,4197
7551,4218
7552,4234
7553,4207
7554,4218
7555,4231
7556,4216
7558,4208
7559,4205
7561,4213
7562,4198
7563,4200
7564,4246
7565,4221
7566,4218
7567,4193
7568,4236
7569,4196
7570,4231
7571,4208
7572,4236
7573,4201
7574,4216
7575,4224
7576,4222
7578,4214
7581,4232
7582,4224
7583,4212
7584,4227
7585,4219
7586,4215
7588,4201
7589,4243
7590,4253
7591,4226
7593,4206
7594,4234
7595,4221
7596,4225
7597,4251
7598,4239
7599,4221
7600,4231
7601,4242
7602,4228
7608,4244
7610,4223
7611,4267
7612,4239
7613,4286
7615,4231
7616,4248
7617,4250
7618,4208
7619,4260
7620,4248
7621,4259
7622,4253
7623,4265
7624,4252
7625,4261
7626,4249
7627,4279
7628,4247
7629,4266
7630,4241
7631,4239
7632,4260
7634,4281
7636,4257
7637,4256
7639,4220
7640,4221
7641,4264
7643,4241
7644,4233
7645,4288
7647,4290
7649,4284
7651,4245
7652,4272
7653,4264
7654,4236
7655,4269
7656,4258
7657,4246
7659,4282
7660,4248
7661,4255
7663,4307
7665,4305
7667,4284
7669,4255
7670,4273
7671,4260
7673,4253
7674,4265
7675,4290
7677,4282
7678,4279
7679,4265
7681,4298
7682,4251
7683,4290
7685,4283
7687,4273
7688,4277
7689,4280
7690,4313
7691,4303
7693,4284
7695,4286
7697,4295
7698,4284
7699,4272
7700,4294
7701,4294
7703,4271
7704,4270
7705,4331
7706,4322
7709,4301
7710,4259
7711,4313
7712,4301
7713,4277
7714,4280
7715,4280
7716,4294
7718,4332
7719,4285
7721,4304
7722,4289
7725,4324
7726,4283
7729,4296
7730,4307
7731,4328
7732,4313
7733,4298
7734,4323
7735,4311
7736,4318
7737,4309
7739,4319
7740,4308
7741,4303
7742,4316
7743,4312
7744,4319
7745,4325
7746,4305
7748,4296
7750,4343
7751,4301
7752,4293
7753,4314
7755,4320
7758,4324
7759,4351
7760,4327
7761,4349
7762,4345
7763,4332
7764,4289
7766,4334
7767,4333
7768,4305
7769,4357
7771,4325
7772,4320
7774,4327
7775,4340
7776,4358
7777,4356
7778,4336
7779,4372
7780,4313
7782,4363
7784,4360
7785,4367
7786,4352
7788,4336
7789,4347
7790,4333
7791,4349
7792,4333
7794,4360
7795,4329
7796,4341
7797,4367
7798,4353
7800,4349
7801,4335
7802,4344
7803,4315
7804,4336
7805,4369
7807,4339
7808,4353
7809,4347
7810,4374
7811,4360
7812,4369
7813,4337
7816,4364
7817,4376
7818,4385
7820,4385
7821,4378
7822,4387
7823,4367
7824,4366
7825,4349
7826,4354
7827,4368
7829,4381
7830,4348
7831,4359
7833,4350
7834,4354
7835,4349
7836,4358
7837,4372
7838,4383
7839,4347
7843,4346
7844,4388
7845,4347
7846,4375
7847,4354
7848,4377
7849,4397
7850,4364
7851,4354
7852,4384
7853,4403
7855,4379
7857,4385
7858,4395
7860,4388
7861,4427
7862,4371
7863,4388
7864,4387
7865,4371
7866,4414
7867,4407
7868,4363
7870,4386
7872,4393
7873,4403
7874,4376
7875,4400
7876,4399
7877,4396
7878,4381
7879,4408
7880,4382
7881,4391
7882,4368
7883,4387
7884,4382
7886,4415
7887,4370
7888,4418
7889,4417
7890,4418
7891,4388
7892,4448
7894,4391
7895,4369
7896,4398
7897,4417
7898,4405
7899,4394
7900,4413
7901,4397
7902,4395
7903,4400
7906,4427
7907,4402
7908,4422
7909,4437
7910,4417
7911,4403
7913,4388
7914,4422
7915,4427
7916,4401
7917,4403
7918,4442
7919,4416
7921,4417
7923,4439
7929,4415
7930,4404
7931,4445
7932,4399
7934,4411
7935,4424
7936,4422
7938,4417
7939,4413
7940,4417
7941,4453
7942,4434
7943,4422
7944,4433
7947,4434
7948,4440
7950,4417
7952,4423
7954,4411
7955,4424
7956,4434
7958,4470
7960,4442
7961,4456
7962,4438
7964,4451
7968,4450
7970,4450
7971,4434
7972,4439
7973,4430
7975,4450
7976,4450
7979,4450
7980,4445
7981,4469
7983,4431
7985,4460
7986,4460
7988,4473
7991,4462
7992,4449
7993,4447
7994,4450
8000,4453
8001,4454
8002,4465
8003,4460
8005,4436
8006,4455
8008,4456
8010,4467
8011,4457
8012,4455
8013,4465
8014,4450
8015,4468
8016,4488
8018,4449
8019,4470
8020,4480
8022,4461
8023,4467
8024,4475
8026,4468
8027,4443
8028,4458
8030,4475
8032,4452
8033,4469
8035,4487
8036,4513
8037,4462
8038,4465
8040,4490
8041,4487
8042,4483
8043,4482
8044,4462
8046,4473
8047,4516
8049,4491
8051,4466
8053,4488
8054,4493
8055,4467
8056,4483
8057,4513
8058,4468
8059,4487
8060,4442
8061,4491
8062,4492
8063,4506
8065,4489
8066,4488
8067,4510
8068,4474
8070,4483
8071,4501
8072,4498
8073,4497
8074,4516
8075,4486
8078,4484
8079,4511
8081,4494
8083,4530
8084,4467
8085,4494
8086,4505
8087,4541
8088,4507
8089,4493
8090,4522
8091,4520
8092,4477
8093,4492
8094,4476
8095,4503
8096,4522
8098,4534
8099,4498
8101,4520
8102,4504
8103,4512
8105,4515
8106,4525
8108,4501
8109,4494
8111,4521
8113,4546
8114,4503
8115,4525
8117,4490
8118,4515
8119,4516
8120,4541
8121,4501
8122,4525
8124,4530
8125,4569
8126,4558
8127,4520
8128,4527
8129,4525
8130,4542
8131,4542
8132,4532
8133,4523
8134,4516
8136,4519
8137,4529
8138,4533
8139,4514
8140,4512
8141,4537
8142,4556
8143,4535
8144,4518
8145,4503
8146,4517
8147,4533
8151,4533
8152,4524
8153,4527
8154,4518
8155,4557
8156,4529
8158,4524
8159,4534
8160,4565
8161,4525
8164,4530
8165,4505
8166,4537
8167,4543
8168,4557
8169,4546
8170,4557
8171,4565
8172,4569
8173,4529
8174,4533
8176,4548
8180,4604
8181,4543
8183,4572
8184,4523
8185,4560
8187,4547
8188,4562
8189,4580
8192,4531
8193,4516
8194,4550
8195,4590
8197,4556
8198,4543
8199,4522
8200,4559
8201,4536
8203,4563
8204,4536
8205,4554
8206,4552
8208,4556
8210,4548
8211,4558
8212,4550
8214,4584
8216,4538
8217,4582
8218,4576
8219,4552
8220,4531
8221,4557
8222,4540
8224,4532
8225,4553
8226,4533
8227,4540
8228,4563
8229,4525
8231,4535
8232,4539
8233,4533
8234,4539
8235,4534
8236,4548
8237,4538
8238,4536
8239,4534
8241,4498
8242,4519
8244,4536
8245,4531
8246,4519
8248,4522
8249,4526
8251,4572
8252,4553
8253,4545
8257,4503
8259,4530
8260,4492
8261,4509
8264,4505
8265,4518
8266,4529
8267,4546
8269,4520
8270,4527
8272,4510
8273,4521
8275,4500
8277,4512
8278,4508
8279,4524
8280,4478
8281,4509
8282,4536
8284,4480
8285,4544
8286,4510
8287,4482
8291,4529
8292,4481
8293,4482
8296,4518
8297,4512
8300,4508
8301,4471
8302,4483
8303,4497
8304,4519
8305,4487
8306,4488
8308,4501
8309,4482
8312,4472
8313,4485
8315,4492
8317,4534
8319,4491
8320,4513
8321,4508
8322,4482
8323,4522
8325,4507
8326,4476
8328,4468
8329,4479
8330,4484
8332,4505
8333,4467
8337,4474
8338,4492
8339,4481
8341,4482
8342,4474
8343,4475
8344,4462
8345,4448
8346,4506
8347,4437
8348,4489
8349,4447
8350,4470
8352,4465
8354,4480
8355,4473
8356,4475
8357,4498
8358,4452
8359,4468
8360,4446
8361,4450
8362,4459
8363,4460
8364,4460
8365,4484
8366,4414
8367,4491
8369,4462
8370,4447
8371,4458
8373,4428
8375,4478
8377,4462
8378,4462
8379,4449
8381,4430
8382,4454
8383,4489
8385,4442
8389,4473
8395,4444
8398,4430
8399,4432
8400,4434
8401,4418
8404,4412
8408,4446
8409,4430
8410,4467
8411,4429
8412,4459
8413,4419
8414,4433
8415,4466
8416,4437
8419,4452
8421,4454
8423,4430
8424,4409
8425,4417
8426,4465
8427,4407
8429,4453
8431,4416
8432,4405
8433,4447
8434,4431
8437,4412
8439,4432
8440,4439
8441,4407
8442,4411
8445,4396
8446,4387
8447,4416
8448,4415
8449,4415
8451,4417
8452,4411
8453,4427
8458,4417
8459,4441
8461,4420
8462,4390
8464,4419
8465,4403
8467,4419
8468,4396
8469,4442
8470,4346
8471,4395
8472,4404
8473,4413
8474,4416
8475,4410
8476,4414
8477,4409
8478,4407
8479,4411
8481,4384
8483,4388
8484,4387
8485,4395
8486,4399
8487,4420
8488,4383
8490,4381
8491,4389
8492,4411
8495,4426
8496,4405
8497,4385
8498,4395
8499,4388
8500,4382
8502,4390
8504,4396
8505,4405
8506,4384
8507,4397
8509,4373
8510,4380
8511,4376
8512,4386
8513,4375
8514,4379
8515,4406
8518,4406
8520,4379
8523,4403
8527,4400
8528,4361
8529,4384
8530,4387
8531,4394
8532,4374
8533,4384
8535,4383
8537,4364
8538,4370
8540,4380
8541,4360
8542,4359
8543,4333
8544,4387
8546,4386
8547,4362
8548,4403
8549,4387
8550,4389
8551,4364
8552,4377
8553,4347
8554,4360
8555,4356
8556,4349
8558,4377
8559,4369
8560,4372
8563,4368
8565,4366
8566,4332
8567,4347
8568,4351
8570,4366
8572,4359
8574,4393
8575,4352
8576,4342
8578,4359
8579,4358
8580,4327
8581,4377
8582,4341
8583,4346
8584,4330
8585,4347
8586,4374
8588,4381
8589,4348
8590,4359
8591,4372
8592,4346
8593,4338
8594,4344
8595,4350
8596,4341
8597,4329
8598,4349
8599,4326
8600,4345
8601,4358
8602,4345
8603,4342
8604,4345
8605,4307
8606,4320
8607,4348
8608,4326
8609,4336
8610,4329
8614,4330
8615,4327
8616,4350
8617,4340
8618,4347
8619,4318
8620,4360
8621,4343
8623,4321
8624,4349
8625,4317
8626,4319
8628,4350
8629,4325
8632,4279
8633,4315
8634,4303
8635,4317
8636,4347
8637,4311
8639,4316
8641,4313
8642,4301
8643,4335
8645,4314
8646,4324
8649,4333
8651,4323
8652,4312
8653,4307
8654,4330
8656,4304
8657,4278
8658,4317
8659,4290
8660,4304
8661,4295
8664,4308
8665,4287
8666,4292
8667,4292
8668,4311
8669,4255
8670,4287
8672,4257
8674,4298
8675,4329
8676,4289
8677,4322
8679,4310
8682,4331
8683,4295
8684,4308
8685,4291
8686,4269
8688,4265
8690,4295
8691,4305
8692,4307
8693,4295
8694,4305
8695,4284
8697,4295
8698,4312
8699,4255
8701,4301
8702,4292
8703,4283
8704,4323
8705,4284
8706,4263
8707,4282
8708,4290
8710,4275
8711,4268
8712,4276
8713,4288
8714,4305
8715,4270
8717,4255
8718,4299
8720,4287
8721,4234
8722,4274
8723,4268
8724,4296
8725,4288
8726,4256
8727,4280
8728,4273
8731,4280
8732,4282
8733,4255
8735,4256
8736,4272
8737,4252
8738,4258
8739,4284
8742,4251
8743,4272
8744,4288
8745,4230
8747,4287
8749,4259
8750,4242
8751,4231
8752,4275
8753,4259
8754,4271
8755,4252
8756,4231
8757,4240
8758,4281
8759,4264
8761,4264
8762,4236
8763,4238
8764,4253
8765,4231
8766,4238
8767,4258
8768,4254
8769,4258
8770,4252
8772,4269
8773,4271
8774,4237
8775,4223
8777,4257
8778,4250
8779,4257
8780,4273
8781,4254
8785,4233
8786,4224
8787,4259
8788,4263
8789,4228
8791,4259
8792,4226
8793,4209
8794,4234
8795,4214
8796,4257
8797,4242
8798,4241
8799,4238
8801,4241
8803,4251
8804,4174
8805,4208
8806,4221
8807,4211
8809,4220
8811,4247
8812,4195
8813,4212
8815,4241
8816,4202
8817,4205
8818,4200
8819,4240
8820,4203
8821,4204
8822,4258
8823,4242
8824,4215
8825,4219
8826,4210
8827,4227
8829,4226
8830,4212
8832,4252
8833,4217
8834,4229
8839,4201
8840,4232
8841,4195
8843,4216
8845,4211
8846,4200
8848,4178
8850,4194
8851,4229
8853,4196
8854,4159
8855,4211
8857,4228
8858,4191
8859,4201
8860,4223
8861,4229
8862,4215
8863,4156
8864,4180
8865,4181
8866,4200
8868,4220
8869,4192
8870,4192
8872,4196
8873,4208
8874,4187
8875,4185
8876,4189
8878,4208
8880,4164
8881,4185
8882,4192
8883,4175
8885,4200
8886,4183
8888,4179
8890,4205
8891,4200
8892,4176
8893,4176
8894,4216
8895,4180
8897,4193
8898,4178
8899,4175
8900,4162
8901,4158
8902,4165
8903,4192
8904,4193
8906,4191
8907,4179
8908,4174
8910,4189
8911,4149
8912,4157
8915,4146
8916,4169
8917,4153
8920,4121
8921,4170
8922,4144
8923,4164
8927,4158
8930,4130
8931,4156
8932,4147
8933,4146
8935,4143
8936,4158
8937,4155
8938,4169
8940,4126
8941,4136
8942,4176
8943,4135
8944,4141
8945,4142
8947,4120
8948,4135
8949,4161
8950,4160
8951,4157
8952,4141
8953,4120
8955,4133
8956,4130
8957,4129
8958,4171
8959,4154
8960,4156
8962,4152
8963,4148
8964,4141
8965,4149
8966,4118
8967,4140
8968,4138
8969,4127
8970,4152
8971,4158
8972,4139
8973,4128
8974,4137
8975,4171
8976,4111
8977,4126
8978,4142
8979,4129
8981,4144
8983,4170
8986,4123
8987,4131
8989,4128
8992,4130
8993,4102
8994,4118
8995,4116
8996,4115
8997,4140
8998,4121
9000,4146
9002,4095
9003,4130
9004,4115
9005,4118
9006,4139
9007,4137
9008,4101
9009,4122
9014,4111
9015,4104
9016,4142
9017,4113
9018,4107
9019,4086
9020,4122
9022,4113
9023,4112
9024,4113
9025,4092
9026,4110
9030,4102
9031,4113
9032,4101
9033,4109
9034,4095
9035,4079
9036,4084
9037,4110
9038,4107
9039,4091
9040,4097
9041,4128
9044,4093
9045,4095
9047,4117
9048,4075
9049,4068
9050,4110
9051,4082
9052,4083
9053,4092
9054,4093
9055,4089
9056,4103
9057,4082
9058,4085
9059,4075
9060,4070
9061,4077
9062,4073
9064,4096
9065,4084
9067,4082
9069,4060
9071,4080
9075,4079
9076,4077
9077,4080
9078,4074
9079,4062
9080,4091
9081,4051
9082,4078
9083,4064
9085,4100
9086,4073
9087,4059
9088,4077
9089,4056
9090,4049
9091,4057
9094,4083
9095,4070
9096,4049
9097,4073
9098,4059
9099,4078
9100,4086
9102,4075
9103,4074
9104,4071
9105,4068
9106,4048
9107,4024
9108,4052
9110,4052
9111,4071
9112,4048
9113,4058
9114,4072
9115,4045
9116,4042
9117,4035
9118,4033
9120,4056
9121,4027
9122,4035
9125,4040
9126,4081
9128,4051
9131,4056
9132,4039
9133,4011
9134,4027
9135,4022
9136,4038
9137,4006
9138,4035
9139,4046
9141,4014
9142,4052
9144,4025
9145,4010
9146,4020
9147,4027
9148,4016
9150,4035
9151,4042
9152,4019
9153,4021
9154,4033
9155,4020
9156,4024
9157,4025
9158,4022
9159,4017
9160,4045
9163,4013
9164,4027
9165,4023
9166,4021
9167,4020
9168,4009
9169,4009
9170,4019
9174,4033
9175,4038
9176,4018
9178,4031
9180,4011
9182,4031
9183,4000
9185,4015
9187,4017
9189,4014
9191,4008
9192,4009
9193,4013
9194,4004
9200,4013
9202,4051
9204,4016
9207,4016
9208,4007
9209,4028
9212,4006
9216,4011
9221,4008
9225,4025
9239,4000
Comment prefix #
Given input
0000100000001111000001111100000000111111111000100110000000001111000111000000001111000000000000010000000111110001111110001111000110001111000111110001111000000111111100011100000011110001100011111111111000111111111000111100011111111000000111100011111100011111100011111100011111110001111000110001111111111100011111111100011110001111111100000000000111111111100011110000000110001111111001000111111000000011111110001111111110001111000111111110000001111111111111111110001000111111000111111100011000111100011111111111000111111111000111111000111110001000111111111111000111100000011111110001110000001111000110001111111111100011111111100011111111000001111100011111111111111000100110000000001110000011000111111000000000000111110001111
1
Expected output
13,2
14,2
21,1
22,2
23,4
24,4
25,5
34,1
35,3
36,6
37,8
38,7
39,4
40,5
41,8
42,9
46,7
49,4
50,6
60,9
61,4
62,6
63,9
67,7
68,11
69,9
78,16
79,12
80,11
81,18
95,18
103,17
104,22
105,23
106,19
107,17
111,20
112,18
113,26
114,33
115,31
116,22
120,29
121,25
122,28
123,31
127,26
128,33
132,34
133,32
134,30
135,31
139,30
140,23
141,35
142,41
143,34
147,35
148,38
149,33
150,36
157,37
158,44
159,43
160,44
161,45
162,43
163,40
167,43
168,45
169,45
176,43
177,44
178,49
179,52
183,56
184,53
188,50
189,47
190,48
191,46
192,54
193,66
194,53
195,50
196,55
197,56
198,52
202,57
203,54
204,52
205,56
206,71
207,71
208,52
209,51
210,60
214,59
215,62
216,63
217,64
221,62
222,60
223,61
224,68
225,69
226,71
227,69
228,65
235,82
236,69
237,58
238,63
242,72
243,64
244,81
245,89
246,79
247,74
251,73
252,71
253,79
254,85
255,74
256,72
260,79
261,80
262,81
263,86
264,79
265,70
269,85
270,82
271,81
272,80
273,84
274,93
275,87
279,79
280,87
281,93
282,92
286,97
287,96
291,101
292,95
293,87
294,85
295,96
296,104
297,102
298,95
299,87
300,88
301,90
305,102
306,106
307,99
308,93
309,106
310,104
311,95
312,101
313,101
317,91
318,101
319,116
320,113
324,106
325,108
326,105
327,115
328,115
329,112
330,108
331,101
343,109
344,103
345,105
346,113
347,131
348,119
349,99
350,109
351,125
352,109
356,110
357,116
358,116
359,113
367,112
368,111
372,108
373,107
374,121
375,119
376,113
377,121
378,116
381,124
385,114
386,121
387,115
388,118
389,120
390,113
398,118
399,137
400,120
401,104
402,104
403,115
404,110
408,117
409,113
410,106
411,112
412,125
413,123
414,106
415,109
416,114
420,97
421,117
422,122
423,109
427,117
428,115
429,107
430,106
431,105
432,104
433,103
434,100
441,102
442,99
443,96
444,98
445,100
446,97
447,96
448,100
449,94
450,113
451,116
452,101
453,95
454,98
455,92
456,100
457,103
458,92
462,95
466,93
467,101
468,92
469,96
470,88
471,77
475,88
476,84
477,87
478,95
479,92
480,95
481,87
485,79
486,83
490,82
491,88
492,82
493,74
497,79
498,73
499,76
500,76
501,85
502,97
503,84
504,75
505,73
506,70
507,71
511,73
512,75
513,75
514,75
515,85
516,71
517,61
518,74
519,78
523,67
524,67
525,72
526,73
527,66
528,64
532,70
533,70
534,73
535,71
536,72
540,66
544,64
545,56
546,56
547,68
548,68
549,67
550,64
551,60
552,56
553,69
554,70
555,57
559,57
560,64
561,63
562,61
569,49
570,59
571,57
572,56
573,52
574,51
575,54
579,50
580,52
581,54
588,48
589,44
590,45
591,41
595,43
596,44
600,40
601,43
602,41
603,36
604,38
605,46
606,43
607,36
608,33
609,37
610,38
614,38
615,36
616,33
617,31
618,35
619,35
620,31
621,30
622,31
626,26
627,27
628,29
629,32
630,31
631,29
632,30
633,30
639,19
640,24
641,29
642,24
643,23
647,20
648,21
649,23
650,25
651,17
652,14
653,20
654,23
655,20
656,19
657,19
658,16
659,18
660,19
664,16
667,16
668,15
678,5
679,9
680,12
686,9
687,8
691,3
692,3
693,4
694,5
695,4
696,2
710,1
711,2
712,1
713,1
718,1
719,1