id
stringlengths
9
106
d_with_params
stringlengths
426
57.5k
MAXIMUM_EQULIBRIUM_SUM_ARRAY
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [7, 6, 5, 4, 0, 9, 4, 4]; int [] [] param0 = [[-2, 5, 3, 1, 2, 6, -4, 2], [4, 2, 8, -1, 2, -4, -1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 3, 0, 4], [1, 0, 2, 0, -2, 0, 1, 0, -2, 0, 0, 0, 0], [0, 1, 0, 1, 1, 0, 0, 0, 1, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0], [-2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1], [-1, 2, 3, 0, 3, 2, -1]]; int [] param1 = [8, 7, 19, 5, 13, 38, 21, 7]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i], param1[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
PROGRAM_DECIMAL_BINARY_CONVERSION_2
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [10010, 1011100, 1010111, 110010, 111000, 1011000, 11, 10000, 101101, 111010]; int [] param0 = [18, 92, 87, 50, 56, 88, 3, 16, 45, 58]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
SCHEDULE_JOBS_SERVER_GETS_EQUAL_LOAD
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [-1, -1, -1, -1, -1, -1, 81, -1, -1, -1]; int [] [] param0 = [[4, 9, 16, 18, 20, 23, 24, 25, 25, 26, 29, 30, 35, 40, 41, 43, 44, 46, 53, 53, 56, 56, 58, 60, 62, 70, 80, 80, 80, 82, 86, 90, 92, 92, 95], [-24, 70, -74, -90, 72, 50, -94, 86, -58, -68, 42, 0, 98, -70, -14, -32, 6, 74, 64, -78, 86, -42, -56, 2, -34, -46, 70, -62, 50, -58, -58, 42, 86, 96, -8, 8, -22, -14, -14, 98, 2, 98, -28], [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1], [98, 18, 50, 36, 88, 75, 2, 40, 74, 19, 63, 82, 77, 5, 59, 97, 70, 50, 71, 90, 90, 61, 63, 99], [-80, -64, -64, -64, -64, -62, -54, -48, -44, -44, -38, -30, -30, -26, -14, -12, -10, -6, -6, 6, 22, 22, 22, 26, 28, 50, 52, 70, 86, 86, 88, 90], [0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1], [59, 61, 64], [98, 92, 28, 42, -74, -36, 40, -8, 32, -22, -70, -22, -56, 74, 6, 6, -62, 46, 34, 2], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [72, 97, 79, 21, 83, 2, 31, 59, 6, 11, 79, 97]]; int [] [] param1 = [[3, 15, 16, 16, 18, 26, 30, 32, 32, 35, 37, 41, 42, 43, 48, 49, 49, 54, 55, 57, 65, 66, 67, 67, 68, 83, 85, 89, 89, 90, 91, 93, 96, 97, 99], [-26, 36, 48, 48, -38, -86, 90, -62, 30, -4, 82, 16, 32, -6, 58, 82, -66, -40, 52, -78, 94, -70, -80, -68, -58, -26, 50, -78, -90, -48, -28, 48, 56, 50, 72, -22, -2, 8, -94, 92, -44, -66, -30], [0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1], [93, 25, 16, 42, 55, 61, 69, 68, 95, 28, 40, 90, 1, 86, 76, 40, 13, 47, 71, 4, 64, 54, 84, 45], [-96, -94, -80, -74, -64, -56, -52, -32, -30, -24, -12, -12, -8, -2, 4, 8, 16, 20, 24, 24, 24, 48, 50, 54, 60, 64, 74, 80, 88, 90, 92, 92], [1, 1, 1, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1], [22, 59, 85], [-62, -84, 72, 60, 10, -18, -44, -22, 14, 0, 76, 72, 96, -28, -24, 52, -74, -30, 16, 66], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [27, 71, 87, 36, 73, 37, 80, 34, 57, 17, 88, 52]]; int [] param2 = [29, 34, 13, 16, 22, 20, 1, 18, 34, 9]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i], param1[i], param2[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
FIND_LARGEST_D_IN_ARRAY_SUCH_THAT_A_B_C_D
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [98, 92, 1, 67, 90, 1, 97, 96, 1, 99]; int [] [] param0 = [[8, 12, 14, 15, 16, 20, 27, 28, 29, 30, 35, 41, 46, 51, 53, 55, 55, 58, 63, 64, 72, 73, 75, 75, 75, 82, 82, 86, 89, 91, 92, 94, 95, 95, 97, 97, 98], [-96, -82, -62, -58, -56, -50, -44, -44, -40, -28, -22, -20, -12, -2, 10, 26, 34, 42, 48, 74, 86, 92], [0, 0, 0, 0, 0, 0, 0, 1, 1, 1], [10, 10, 47, 54, 55, 58, 65, 66, 67, 77, 84], [-46, -28, -20, -18, 4, 8, 18, 38, 90, 90], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [11, 13, 14, 21, 26, 28, 36, 39, 41, 42, 43, 44, 49, 49, 57, 58, 59, 59, 63, 64, 67, 69, 70, 75, 78, 79, 83, 83, 86, 91, 92, 93, 96, 96, 96, 97], [-88, -82, -82, -76, -70, -66, -62, -56, -48, -48, -32, -30, -18, -16, 0, 4, 34, 38, 46, 46, 50, 52, 54, 54, 62, 74, 76, 78, 96], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [4, 5, 6, 9, 11, 14, 18, 20, 21, 25, 33, 49, 55, 56, 58, 61, 66, 66, 68, 74, 74, 87, 92, 99]]; int [] param1 = [37, 22, 10, 11, 10, 45, 36, 29, 24, 24]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i], param1[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
MAXIMIZE_SUM_CONSECUTIVE_DIFFERENCES_CIRCULAR_ARRAY
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [1708, 3788, 6, 306, 3172, 44, 2146, 2704, 40, 688]; int [] [] param0 = [[8, 9, 12, 13, 17, 21, 24, 29, 37, 37, 39, 40, 41, 45, 49, 50, 53, 54, 56, 59, 60, 60, 70, 71, 72, 74, 77, 77, 78, 85, 89, 89, 90, 90, 95, 98, 98], [-92, -84, -84, -84, -84, -80, -80, -80, -64, -52, -40, -32, -20, -18, -16, 0, 6, 14, 20, 26, 28, 30, 32, 32, 44, 48, 48, 52, 54, 66, 76, 78, 88, 92, 94, 96], [0, 0, 0, 1, 1, 1], [7, 47, 53, 59, 80, 84, 96], [-88, -80, -68, -62, -60, -60, -48, -46, -44, -38, -16, -16, 0, 0, 2, 8, 20, 36, 40, 40, 44, 54, 60, 68, 70, 82, 82, 84, 92, 94, 96], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [2, 5, 10, 11, 13, 14, 15, 17, 17, 23, 23, 24, 27, 27, 28, 29, 30, 40, 42, 43, 46, 47, 51, 52, 57, 64, 65, 73, 74, 75, 76, 77, 81, 81, 82, 87, 89, 93, 95, 95, 99], [-94, -92, -84, -84, -76, -72, -72, -72, -54, -48, -38, -22, -16, -12, 2, 2, 12, 20, 20, 24, 26, 26, 26, 26, 30, 38, 48, 50, 84, 86], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [7, 8, 27, 31, 37, 46, 46, 52, 53, 53, 56, 57, 57, 73, 73, 74, 80, 84, 97]]; int [] param1 = [37, 36, 6, 7, 31, 48, 41, 30, 47, 19]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i], param1[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
DYNAMIC_PROGRAMMING_SET_14_MAXIMUM_SUM_INCREASING_SUBSEQUENCE
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [301, 102, 1, 396, 582, 1, 0, 254, 0, 550]; int [] [] param0 = [[4, 5, 7, 12, 23, 31, 31, 45, 47, 60, 67, 70, 84, 85, 91, 96], [-88, -38, -50, -14, 36, -32, 0, -8, -12, -62, -46, 66, -46, -26, 6, -44, 14, -74, -84, 52, -28], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [85, 42, 7, 35, 35, 21, 97, 59, 88, 50, 12, 44, 85, 22, 38, 23, 42, 61, 44, 63, 23, 69, 28, 17, 73, 20, 71, 80, 15, 42, 28, 10, 56, 77, 43], [-92, -82, -82, -74, -72, -68, -68, -66, -60, -54, -42, -38, -36, -32, -30, -16, -14, -12, -10, 14, 24, 28, 34, 34, 38, 42, 44, 52, 70, 72, 80, 84, 86, 94], [0, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 0, 0, 0], [33], [76, 86, 46, -70, 92, 6, 70, -66, 64, 46, 86, -42, -46, -24, 8, 76, 4, -96, -86, 18, 70, -72, -56, -88, -96, 62, 22, 20, 42], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [25, 46, 41, 61, 93, 29, 65, 24, 10, 89, 22, 51, 18, 65, 70, 59, 87, 82, 97, 99, 15, 64, 20, 97, 12, 23, 76]]; int [] param1 = [11, 18, 39, 26, 32, 8, 0, 21, 24, 20]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i], param1[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
FIND_INDEX_0_REPLACED_1_GET_LONGEST_CONTINUOUS_SEQUENCE_1S_BINARY_ARRAY
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [-1, 3, 28, -1, -1, 2, -1, -1, 8, -1]; int [] [] param0 = [[2, 8, 9, 13, 13, 19, 19, 21, 21, 24, 28, 28, 29, 29, 29, 32, 34, 38, 39, 43, 45, 46, 57, 59, 62, 63, 67, 67, 68, 69, 70, 70, 71, 72, 74, 74, 76, 78, 79, 81, 90, 90, 95, 96, 98], [28, 92, -16, 0, 6, 12, -88, 42, -48, 72, 2, -38, 80, 82, 96, 32, -42, -38, 62, -76, 20, -10, 2, -48, 4, 88, -24, -72, 32, -42, -48, -62, 38], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [70, 83, 9, 51, 11, 81, 27, 26, 37, 46], [50, 88], [0, 1, 0, 1, 1, 1, 0, 0, 0, 1, 1, 0, 1], [96], [18, 78, 14, 60, -12, -86, 32, 74, 74, 96, 58, 28, -42, 28, -18, -58, -82, -58, 22, 6, 2, -6, -4, -98], [0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [58, 22, 15, 85, 8, 74, 93, 76, 44, 51, 43, 93, 20, 51, 52, 35, 17, 13, 96, 82, 23, 51, 44, 18, 45, 79, 66, 48, 16, 31, 62, 99, 46, 66, 53, 89, 87, 2, 87, 20, 30]]; int [] param1 = [36, 20, 39, 7, 1, 6, 0, 21, 19, 24]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i], param1[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
MAXIMIZE_VOLUME_CUBOID_GIVEN_SUM_SIDES_1
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [18, 32768, 32768, 32768, 64, 31744, 13824, 19683, 2744, 80]; int [] param0 = [8, 96, 96, 96, 12, 95, 72, 81, 42, 13]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
C_PROGRAM_CONCATENATE_STRING_GIVEN_NUMBER_TIMES
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ string [] results = ["lpwsailpwsailpwsailpwsailpwsailpwsailpwsailpwsailpwsailpwsailpwsailpwsailpwsailpwsailpwsailpwsailpwsailpwsailpwsailpwsailpwsailpwsailpwsailpwsailpwsailpwsailpwsailpwsailpwsailpwsailpwsailpwsailpwsailpwsailpwsailpwsailpwsailpwsailpwsailpwsailpwsai", "903751510490375151049037515104903751510490375151049037515104903751510490375151049037515104903751510490375151049037515104903751510490375151049037515104903751510490375151049037515104903751510490375151049037515104903751510490375151049037515104903751510490375151049037515104903751510490375151049037515104903751510490375151049037515104903751510490375151049037515104903751510490375151049037515104903751510490375151049037515104903751510490375151049037515104903751510490375151049037515104903751510490375151049037515104903751510490375151049037515104903751510490375151049037515104903751510490375151049037515104903751510490375151049037515104903751510490375151049037515104903751510490375151049037515104903751510490375151049037515104", "0010001001011100100010010111001000100101110010001001011100100010010111001000100101110010001001011100100010010111001000100101110010001001011100100010010111001000100101110010001001011100100010010111001000100101110010001001011100100010010111001000100101110010001001011100100010010111001000100101110010001001011100100010010111001000100101110010001001011100100010010111001000100101110010001001011100100010010111001000100101110010001001011100100010010111001000100101110010001001011100100010010111001000100101110010001001011100100010010111001000100101110010001001011100100010010111001000100101110010001001011100100010010111001000100101110010001001011100100010010111001000100101110010001001011100100010010111001000100101110010001001011100100010010111001000100101110010001001011100100010010111001000100101110010001001011100100010010111001000100101110010001001011100100010010111001000100101110010001001011100100010010111001000100101110010001001011100100010010111001000100101110010001001011100100010010111001000100101110010001001011100100010010111001000100101110010001001011100100010010111001000100101110010001001011100100010010111001000100101110010001001011100100010010111001000100101110010001001011100100010010111001000100101110010001001011100100010010111001000100101110010001001011100100010010111001000100101110010001001011100100010010111", "sbwipuesbwipuesbwipuesbwipuesbwipuesbwipuesbwipuesbwipuesbwipuesbwipuesbwipuesbwipuesbwipuesbwipuesbwipuesbwipuesbwipuesbwipuesbwipuesbwipuesbwipuesbwipuesbwipuesbwipuesbwipuesbwipuesbwipue", "574314109574314109574314109574314109574314109", "1101110111011101110111011101110111011101110111011101110111011101110111011101110111011101110111011101110111011101110111011101110111011101110111011101110111011101110111011101110111011101110111011101110111011101110111011101110111011101110111011101110111011101110111011101110111011101", "fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", "068068068068068068068068068068068068068068068068068068068068068068068068068068068068068068068068068068068068068068068068068068068068068068068068068068", "000011001000011001000011001000011001000011001000011001000011001000011001000011001000011001000011001000011001000011001000011001000011001000011001000011001000011001000011001000011001000011001000011001000011001000011001000011001000011001000011001000011001000011001000011001000011001000011001000011001000011001000011001000011001000011001000011001", "bwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikcbwbutikc"]; string [] param0 = ["lpwsai", "9037515104", "00100010010111", "sbwipue", "574314109", "1101", "f", "068", "000011001", "bwbutikc"]; int [] param1 = [41, 72, 95, 27, 5, 70, 91, 50, 38, 79]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i], param1[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
MAXIMUM_LENGTH_PREFIX_ONE_STRING_OCCURS_SUBSEQUENCE_ANOTHER
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [0, 1, 1, 0, 2, 2, 0, 0, 0, 0]; string [] param0 = ["nobyiojeqz", "84574", "1010001010010", "djztafuudk", "550", "1110", "gywyxwh", "67318370914755", "11011000000101", "g"]; string [] param1 = ["uartdtqbmgi", "8538229", "11", "oewgm", "132744553919", "0101", "lpqqeqrdziwy", "9928", "00000", "v"]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i], param1[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
NUMBER_TRIANGLES_N_MOVES
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [53, 17, 485, 39365, 13121, 4373, 1062881, 118097, 354293, 1457]; int [] param0 = [3, 2, 5, 9, 8, 7, 12, 10, 11, 6]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
MARKOV_MATRIX
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ bool [] results = [true, false, false, false, true, true, false, false, false, false]; double [] [] [] param0 = [[[0.0, 0.0, 1.0], [0.5, 0.0, 0.5], [1.0, 0.0, 0.0]], [[0.0, 0.0, 1.0], [0.5, 0.0, 0.51], [1.0, 0.0, 0.0]], [[0.0, 0.0, 0.9], [1.0, 0.0, 0.1], [0.0, 1.0, 0.0]], [[]], [[0.0, 1.0], [0.9, 0.1], [0.0, 1.0]], [[1.0]], [[1800.5208165864472, 5129.668497755772, 4091.578454432755, 9520.788540775387, 9012.789443327169, 5479.787317916788, 4846.101760095075, 9310.645104102381, 6862.485564868333, 6537.037513320974, 7943.016882755804], [8081.404685413337, 2775.350842660207, 3624.18060172129, 320.5505410412923, 896.5298358859519, 9778.851990348234, 8093.842945978867, 5513.194168934705, 3238.213662532161, 2068.183825530009, 8922.404213665432, 2564.415908565606, 9541.992473376376, 3500.695185589028, 7425.292941600525, 1035.1769706476443, 1993.3236514377372, 7516.6428866994665, 7036.757321520528, 4521.722941224576, 6046.954992856951, 1480.947630193744, 2468.314968942801, 6721.875264461492, 729.3668691453537, 7013.1702771055125, 620.7860776027774, 4073.8164568995426, 6637.935131989998, 4970.880129282128, 8491.291538095455, 6017.257595728452, 8758.321951108288, 7450.774705441449, 2430.104778991052, 7653.421788466134, 9867.846002930755, 9025.832543077806, 3130.4709292949738], [4092.6187809701687, 3682.191052666517, 6210.3251142981435, 7559.705041866003, 8083.3992753238235, 7027.888848387021, 322.813354455147, 6396.660665360345], [6712.595190644637, 3351.7854488023168, 3596.9007070939974, 7383.906373292954, 6925.055360334225, 6564.096130017967, 9810.727474966703, 1812.3875023392943, 7582.083184537618, 6792.011378435494, 6737.106729773401, 5165.155358877282, 7694.499267616087, 3564.5292718018964, 8125.369501443796, 7515.428339325206, 3373.5371602639975, 8145.31715886053, 6297.6183870619725, 489.2402023933884, 9562.673985208492, 6553.732669130852, 7196.924911915597, 9239.272829887721, 5855.3831715786055, 9570.600140348652, 6684.3117497126605, 9977.065074407292, 9210.767097725591, 3456.1818868411087], [4472.26489764256, 7298.311171623871, 6184.798212074516, 5645.069795561799, 9113.123076453292, 5537.618956455394, 2142.794697171854, 8370.190271064876, 5972.2448507765475, 6299.8293468991715, 7388.052824286836, 735.079089195314, 4216.330577355761, 928.9766117855969, 1935.1190718709943, 5606.352487792576, 9764.404560908582, 5301.250390178857, 2250.0545430370357, 8159.5544835139635, 1327.0903534461743, 7505.6753057440255, 9918.714694238013, 8827.139931812451, 1859.1883736005789, 8018.161213209266, 7984.370920859778, 288.30827861459517, 1461.0614788611754, 2690.173572057434, 8427.499467578928, 4724.15901701013, 4457.387382560547, 9993.904502656509], [2842.9663139830186, 8957.4584498927, 8686.31672019927, 4832.99654565389], [1477.392902127036, 7189.591229360169, 8822.61208105902, 4851.411807703794, 9600.384550545641, 5836.4581179869165, 2366.7307632417446, 9442.85367113618, 9848.096373489492, 3805.2945900367695, 2741.21016804169, 7787.421240650287, 5163.029236960128, 3839.164193518556, 8999.926058466983, 5787.032859796697, 7669.921381103829, 7893.275228211627, 1051.182564195985, 7017.888839448166, 5215.123486606644, 5208.568127672256, 1134.2054935790945, 7573.233029924398, 6060.282198006302, 1395.7596136070006, 3653.7960603925126, 244.94506756705502, 3594.7042035479526, 6272.774300983842, 4043.3735550683537, 2274.103544548338, 4022.0181987353485, 9109.556771757481, 4286.57480001852, 6721.662297331347, 6105.99828625709, 8758.359235513371, 1658.875171187041, 2024.5696201552444], [5912.554579767912, 5341.080476025451, 4305.59603125092, 9800.436262778925, 8097.160534980595, 493.9680676037761, 4047.191664109233, 6070.216899309564, 5697.682730828276, 9448.806800500452, 7698.114392101278, 7020.216498152797, 7091.797827878821, 3273.5516687760546, 3685.5162670409804, 2210.2161977720316, 7182.207804931318, 3265.217158812098, 1798.8408452362914, 9318.266496779846, 2859.486203159565, 4314.215039310549, 8313.026936365693], [8911.686558511605, 5660.199086800985, 6475.525180381277, 4040.3172648744144, 5708.611042449874, 9524.099373256367, 7030.627120796817, 783.4145757917787, 9713.798324426925, 5284.149579386235, 986.5900188717991, 2567.146044707662, 2034.3874533234496, 7853.582414512236, 5610.18808118777, 9372.679297083534, 1227.8195252860025, 8558.328099907549, 5800.797131024546, 1345.9810037159548, 8059.092655056248, 1007.7145561634637, 1867.8280914974055, 8073.000957658564]], [[9784.847472945596, 1467.4849690692215, 326.01056399299114, 3577.1820356491303, 3413.7335834614014, 5621.398199278954, 75.70726246875714, 3072.65108747655, 7278.353400799695, 4703.166022097605, 9423.746532838595, 9651.338090892916, 7908.363875282913, 2112.03821823538, 1975.7721197648048, 1044.0925741602891, 8579.267990348524, 3350.769942053501, 5299.788699272214, 7928.710248719408, 8396.62857032498, 3836.1908586465343, 8012.249410750618, 7828.91833852811, 1917.7798073113083, 5120.386576342888, 3678.786128839827, 4600.911873999521, 9497.461077450645, 3000.203085004004, 7858.544769795873, 8325.214884003173, 2451.061402910233, 647.2264467569499, 7282.170138249182, 2285.3064693716783, 5922.10840378214, 6916.751327338277, 7063.312743282037, 6645.4394853366075, 5500.794550321606, 7493.492320906113, 7206.786508904741, 2686.298332703524, 2538.8761292983, 7253.98778369984], [4241.304996916518, 483.6596378334046, 2763.9580150656075, 1405.7652499741057, 258.3758368726019, 6614.609227113464, 2961.514732472338, 9474.777783117728, 2912.5365535711267, 5242.8884354914, 2501.548861500482, 6531.229223937745, 4140.476002883762, 132.56892540437048, 3020.289197641887, 5554.185397774308, 8773.09782632125, 5011.890905582158, 8392.625753242448, 7800.7407071334765, 4421.736562443395, 52.49756244802284, 7333.792465191643, 1840.7462281638009, 7908.087535935016, 3036.262276198375, 3509.2829531181924, 7645.618711034763, 5397.717763289013, 3243.612078360748, 34.14499888319544, 3384.2995707615296, 4853.062855850027, 2223.4821740514067, 7479.5354594110395, 5969.120408179362, 5192.807647536894, 3509.0771162909696, 7334.4495826109105, 4987.315435971069, 6816.016561595986, 442.4714082796233, 65.9273693936524, 9593.436472709476, 2670.0620305702496, 4952.745706389296, 6867.130101433143], [1926.3801797530411, 4684.089278792868, 1544.945305609513, 712.4317947088488, 6354.9413872948935, 2717.619315479798, 6846.354537398023, 3775.3936214538207, 6375.903394134439, 1363.1538350088424, 2277.399819529351, 4091.6667790722695, 3659.9052193584657, 3149.203276820165, 7595.555393770957, 5372.782288919421, 8515.657623246656, 3159.662631217324, 4043.737445094111, 1842.2411676778072, 9713.005101273826, 2832.78160742499, 4589.20341066574, 9043.00917767472], [3498.6444148809305, 2140.852698797143, 4510.872710314036, 2990.179189617128, 7420.541642401762, 1033.9572862948598], [2794.437679786802, 3463.1871053331233, 9732.829396187464, 663.0832249897201, 5276.910560721226, 481.59416166211446, 2090.2478003682513, 4558.692561388009, 8758.39373387397, 4610.715817786542, 9921.398649289273, 1682.6982416319624, 3585.6795224563066, 3977.0601543964967, 9993.300034767055, 8757.889303531827, 1287.4604767598673, 9265.34884519963, 9590.296620414523, 3376.6132678108816, 795.8613040403706, 6807.576250770766, 6498.575499062116, 3521.0998180866904, 818.8610607244495, 1889.8998767199425, 3567.5388991226396, 3904.860163650392, 7927.945627565823, 5684.632085876909, 2665.280318592044, 3200.1780479713084, 4080.5659548739804, 4423.8860644441, 2026.9544154357254, 6542.038761607715, 371.810846991496, 9089.128291277799, 7033.856907920886, 1925.889920294268, 7735.925631486304], [650.8667327357808, 4738.836852826164, 3985.4301749766173, 1955.6572393313954, 3810.217150006002, 8241.6067168621, 2457.8677884976973, 5043.061693161945, 4098.220705621862, 8311.523429129516, 2613.3577094067405, 8951.447431099867, 3413.493711945631, 195.07449236425666, 3526.5261452758646, 5987.082440383985, 7672.683285206186, 8940.181891567034, 8715.378318384124, 1609.9269146079098, 5147.181463101181, 3305.462535094599, 9965.648218377532, 3910.7964252545266, 8068.070848658828, 4992.46105696117, 116.74465555125413, 3636.501190685493, 6298.365303023811, 758.4342724419646, 9850.35171473097, 6154.099626143185, 6627.416733525318, 2147.4459586732773, 4542.271637456006, 6116.269798885344, 1404.5680346185973, 5378.69792918011], [283.30445322594545, 1212.7329453006353, 6176.516523951887, 7361.713020934436, 446.2529292320283, 3573.9634384317155, 2866.7667140384456, 716.9415721666761, 2066.5957334633813, 8494.234070043816, 6193.876480036603], [2136.416496948584, 4757.490297134756, 1761.236114129905, 9672.92860361088, 292.470289758332, 2616.287787938537, 2448.153310489565, 8852.291381698386, 9393.592818697269, 1859.3755772816644, 7576.3934917486795, 2082.9223147752805, 2503.5367105046867, 6532.795825292272, 9756.064172800725], [2016.9598997834726, 9246.468446682007, 7917.631622499911, 7530.075198225538, 1619.9210624035043, 8192.289210321009, 111.78933513454669, 1304.2859282076513, 752.9875736889525, 805.8026634404869, 3551.4066295443845, 5397.733935371496, 4669.6567467481555, 4794.75142820851, 4543.875056844882, 3805.9629250337543, 5742.679148326456, 3813.8720700893437, 5210.151412919032, 5556.602949642819, 2200.424210202666, 5908.92594615778, 13.819841484519202, 1329.454109503373, 3028.833109958248, 8592.293540323464, 9978.59670979421, 3605.121961455566, 5381.409564276148, 1891.7229437227568, 625.9300378157828, 2758.668754886496, 6051.709933922486, 6457.36281514481, 5548.754777623672], [8850.151741072603, 6337.421968969598, 6419.680943286824, 9156.134838807471, 8322.880320938539, 5346.094263229739, 8840.13035584083, 4662.998040082982, 5049.325678804513, 6885.637071688473, 4883.744421558373, 2324.765558938434, 995.0281814899331, 4461.416494281927, 9543.834187148504, 784.6027172885606, 4558.569173648864, 7373.848141952878, 9152.707277929396, 3448.6407116186224, 3753.543292707031, 4293.096821412292], [1409.0526006258365, 816.3081240623837, 2140.41426162899, 728.4924219143152, 2193.525472941873, 4035.7606724635307, 6500.846781261058, 5527.736115595666, 2134.0180018693986, 6779.435167553661, 1806.1545644495725, 9627.301890803697], [2371.0568858922543, 3268.660813251466, 1707.0991863723361, 5378.8673760312895, 4595.50873089922, 2635.8908557704995, 691.8444475043295, 1624.4384043918103, 8928.107824993145, 6825.313895904731, 8182.165500835241, 2451.226122788347, 7782.688704839678, 6441.579872434251, 4321.009439314746, 4899.256098629653, 5519.087620918876, 45.86639299398176, 429.87376466871564, 6270.117082341795, 6415.83724491815, 590.2483422808136, 2744.8282476562367, 3286.420684963404, 9655.583401408132, 5203.85048223821, 8915.078884333285, 2608.1519486714988, 886.3789741564909, 6130.506796586644, 6650.901924046862, 6646.892160204216, 3289.49925972008, 5166.474954280374, 6759.760310020064, 5274.430205929131, 5227.164076346812, 8287.373511433061, 8205.14217850992, 3862.4949439064203, 7981.66493597097, 3621.863491818439, 1773.8539613657788, 7194.120248679593, 6717.104192113617, 9016.56618386249], [4918.488645705508, 4863.9376793380325, 7980.4716752546, 8867.75386799514, 7286.076902807735, 6413.32763495569, 7345.819132709017, 610.4954669263795, 6823.681549442864, 1375.05106487004, 5238.380502512437, 2773.5771144536634, 1491.8279295443392, 7856.576929303261, 6541.511110001304, 9898.82817639193, 2431.5435459289947, 2730.7902667354133, 9195.287603503173, 6925.56268238798, 5431.128027542276, 8702.555149921645, 6465.507768740284, 9314.270576749725, 6272.806736480676, 3446.023537244589, 6842.356648227475, 5788.729554244277, 1502.222414850204, 5144.345936259722, 6576.536519145917, 2388.5817800660634, 9895.843552802167, 8863.44954106686, 8659.39270167813, 6782.724020047004, 6901.026465987045], [9835.349971287455, 1349.9943677780557, 9305.006231475043, 7682.072854084074, 7772.435685418998, 6457.172433005703, 2271.0896412754787, 147.3581960989412, 5040.667292338796, 5347.141489987937, 3007.9371262367195], [6024.724622587527, 1333.55102363379, 7543.244958334469, 9460.475824602792, 5402.777961971936, 8618.077786578586, 7680.609290490088, 5356.651624620611, 3081.6630316517667, 9965.820175569215, 7449.902533219914, 2376.8033440694426, 2121.6403598925017, 5899.797061644942, 8738.967016335799, 6819.82087022954], [3658.3990216338057, 5939.885133721119, 6112.535663798665, 4603.757105062263, 3601.7182918941257, 2699.3894158179332, 7634.713427911456, 1785.935936680989, 6282.120568441831, 5216.58891069557, 5607.715652949593, 5173.8490353923025, 7091.689227700492, 7231.192245003612, 8164.945945372898, 691.0808086432995, 8884.363372959273, 880.702711513005, 2983.6539638181393, 7041.501334247409, 2686.9984210291477, 6039.4806880060305, 4397.578815778263, 4727.811059409236, 8382.722608048367, 9206.150345275291, 172.2170912991472, 2020.4702767795213, 5489.448690729701, 2451.26584431948, 3295.4350676203826, 4629.077813268916, 343.6354616846271, 5913.229158529008, 2178.835131759951, 8464.236722574358, 598.6751867838647, 1890.7273951970649, 9233.763123524577, 3511.4462447810624, 7198.449866811291, 7009.77653163331, 8249.84422453666, 4282.457347563149, 2271.24825809504, 5764.120163554731, 5765.436670299819, 8908.501071223765, 2586.0376485095303], [4178.517530004291, 8230.813420124246, 1482.5779208939982, 9884.823630994786, 7654.976401516819, 7172.9744832796405, 6743.457935859208, 2332.0202265026755, 6512.820966135465, 7899.27033659936, 6446.637651589306, 3660.9711365100516, 6983.0340219305535, 8514.370249450678, 1743.2333221598017, 5103.440073973708, 9266.372786086862, 4118.043957388042, 5646.298272664013, 5981.854812259621, 3200.6662612242185, 6635.177996178426, 9679.83767911182, 3226.414516089032, 9037.63040871817, 1667.244125906292, 437.75555568785876, 8080.445197603589, 7182.504146702597, 8450.080668876279, 5837.320531337393, 375.1630048786392, 6609.658242430057, 4138.324209656617, 4978.355962743171], [6943.097108273823, 8155.800311882496, 881.1561722205652, 6892.581313027855, 8870.412782607324, 8669.932116289347, 570.9050959816841, 3403.556267239408, 6454.311530504761, 1789.7908209345858, 7910.710586936548, 5812.846543860358, 6168.21145124294, 2131.0842431388164, 2770.4029575820955, 1574.8495056694844, 8538.95214350614, 3406.107386087113, 2908.900240552177, 9882.928919376212, 2844.4878840063193, 43.21457208309343, 7278.594953930636, 9356.662142497536, 6209.878587941289, 3990.0985725352966, 414.3501395268456, 8619.011907510358, 6999.1215509988015, 2882.9851019850194], [9844.923038076766, 6980.156846171918, 3950.1442565126367, 3157.4009365459556, 5223.187529515773, 4385.453833112532, 5325.893429872211, 3353.2248195726265, 2442.165605224922, 3655.8385765512303, 3898.449238531656, 8850.04098103363, 6831.015148578976, 4445.821672553541, 9928.380860823137, 9561.952605608369, 1591.1130291936638, 5403.707165706667, 2275.6687548872, 887.1665703941445, 1270.6708733832606, 15.351416031957887, 6885.875136030228, 9550.622085409022, 769.7305357431617, 4632.5188789504755, 3118.15405662019, 7553.524447042849, 4528.6508356550885, 6481.3993346127445, 6479.947453700064, 5346.224605722107, 7272.600816935826, 261.5836192208221, 5155.049534248697, 5501.689301147346, 417.6298514208843, 2176.1185299140107, 6866.720403076896, 2801.874422363495, 6539.364493633207, 2948.3952227572686, 3413.699419210543, 8937.812262772239, 260.2567282196444, 9974.652627956628, 3607.8218449527135, 4313.257989389619, 5126.9798391913355], [6633.663300606726, 1812.9942057781057, 1654.7655510188663, 8405.163469784291, 1953.9035308876119, 8957.383693535636, 1421.2991902099047, 9264.40639576394, 8150.024375652974, 2257.3830199676427, 2479.3344627483484, 4043.056101781555, 9247.05324493969, 7363.206663924256, 8490.180569522778, 2927.295097067805, 3679.2436731106004, 3838.815927824232, 3115.4209839633218, 7612.651962526704, 7076.710446359618, 825.7143449578574, 9864.274122425695, 9647.78655096705, 7548.744154086509, 9815.450355850051, 8653.699152037381, 4050.238822185216, 5272.888444100065, 6951.384129122965, 1394.39534640736, 7755.935683847396, 5317.102211979815], [8829.674867773414, 6689.896932346349, 1968.0933078351115, 4809.007582058182, 6069.87219516547, 9766.476615420386, 8993.904574223372, 281.1877463140244, 5576.660306049759, 7140.548946726968, 2518.194869927194, 2172.7143296254435, 5507.955541433988, 5420.491404996137, 8394.755280403098, 4012.132315372791, 6389.889892691528, 717.5893819573375, 2875.0684389259386, 5280.900234755885, 8161.863197586057, 3926.09778356536, 7022.709269632878, 106.07736204608864, 2617.3249490483054, 8109.0289788950895, 4083.165322330473, 5420.617161522736, 4445.31100910545, 9393.19511825442, 176.7904030369116, 514.69093147267, 7614.2873289591125, 6264.256156371076, 1595.849249955039, 4210.816847220884, 127.47354248535902, 9212.920824942166, 2676.3018953846185, 7651.925841175547, 4176.854241193708, 3254.032717531873, 5064.677632904187], [2933.30773145417, 7167.004460596055, 6730.0751341762925, 1612.3416038398664, 9996.385398599057], [1469.1245592389023, 738.4910375434861, 5091.743233692105, 4943.243843219373, 8276.601429613058, 2099.0155722034933, 1123.1905308985645, 8721.083497458614, 9900.434613544232, 7607.245058601638, 5384.468994284775, 7529.134743235198, 6837.595578988219, 4384.871356847701, 63.287732870004334, 2024.4193945797394, 5173.262923609003, 5685.6159554472, 1043.3138744199034, 6561.322154461737, 5043.419149196029, 1528.205177909735, 8635.632452899306, 6625.361243781218, 1138.9370493081663, 8600.196985866145, 1988.3249787645564, 2698.6573886862807, 3376.856288948763, 9380.474940630262, 3444.5098538813136, 7264.095443784668, 9446.89932278781, 8424.493192525451, 9315.526779885298, 1047.4543557980887, 3662.6853228335076, 3828.4452182545315, 6635.496292334783, 7667.419322235606, 35.21225339409906, 2963.565449291854, 9156.290265259724, 7727.156188255046], [8444.782911920447, 1531.875281624423, 1699.8134908798013, 7098.064080652596, 1705.6887525781183, 4769.810129535693, 4765.399059911866, 3365.3409651977972, 9969.592937121795, 5626.5051907189345, 9397.353074698978, 3239.97430286867, 3201.0073584794072, 2131.5074414166947, 5957.610797969433, 1768.6186313252672, 5616.852203640092], [5673.7710445882185, 1647.625614019551, 5656.936125270759, 1461.1781245051013, 6574.86009082487, 6774.466975453835, 3556.387873542125, 6549.504662488484, 886.9791309380082, 3820.027258607421, 5024.250405254414, 3506.088366609631, 2328.582902932946, 3679.112881703358, 3462.9919828067, 3160.911388035562, 1846.9062209575804, 7117.953023727776, 4143.612558015889, 3572.534316888979, 319.14170051129065, 1991.6701484666844, 4560.568775382851, 8901.408228818616, 6935.299537774818, 8511.84810818133, 3234.869691027137, 1295.0435896601964, 8851.889516538351, 2489.8888199410617, 2150.116130246351, 4658.446390325435, 5811.264860869128, 685.8607919672866, 5378.0726932806465, 9702.618375935705, 9289.55238058894, 5269.520454210251, 7499.026434764086, 6002.394709230661], [5531.687229932249, 5270.626911688324, 6624.91325164783, 9195.735161525663, 9266.277822312304, 9275.612244101923, 8173.831391641886, 1019.8131750228023, 3540.52480573109, 4983.413349807722, 130.21910681093928, 9770.440852859852, 9084.150791955952, 2173.294809269972, 2626.817132323017, 5925.181708485516, 4528.1824472864855, 8068.031788501554, 3141.2705598953207, 3367.1318650759276, 4202.813507746614, 4921.654402545408, 6179.504202375986, 405.8037182681518, 9118.07199473433, 2364.02187704932, 7528.315731917878, 938.6323242878248, 4866.461999667605, 9592.4230672652, 7487.79868696995, 8665.033290573028, 2575.202765522496, 6907.965979702926, 9796.688661165712, 9809.595158621196, 141.61358495260566, 2879.523431694646, 9399.935781123395, 8148.891111247624, 6176.39610921895, 5458.065535590684, 9057.109293696058, 4091.3715908046956, 7455.832236582406, 8438.475825901112], [9744.238368205903, 7257.463958276382, 3501.640602033552, 5097.35039463446, 8356.088347682142, 1013.494789934316, 7760.657819535339, 2812.190929226328, 2095.6075816074826, 1500.6497868172942, 1593.50863029047, 7654.141363404645, 3036.4929462046775, 1264.0074125211331, 7295.376768297045, 4806.278483546197, 7588.593079677283, 862.8315269726494, 9602.080432568271, 8490.755890338718, 6964.467603996281, 846.0767010844494, 3356.979090302684, 8907.430974420711, 2398.102582887749, 4278.797398815162, 830.7948679651822, 2273.3942290608734, 2275.2588065251434, 2776.5976090708787, 8490.43423277904, 7033.653179624773, 7101.244630276114, 3462.954058628571]], [[6241.900245829036, 6667.025729021001, 5691.351954033881, 571.7284163476577, 599.5121330777808, 6243.463062193512, 6717.298231363792, 3608.7492690924137, 9032.092398160055, 5926.293767824268, 6210.655170074396, 4474.741994028476, 1861.945257692308, 1779.876008485327, 5869.991094563328, 5423.461312062491, 1370.6862587942037, 6873.167245632268, 7649.546578266097, 2351.8399326106596, 1989.178556111051, 422.20373285440036, 2925.774069473833, 6272.788011818715, 8279.978442600892, 5970.172054492473, 6285.440742792799, 7304.627499347196, 372.4523079479392, 2940.8339544890937, 7317.6400210247875, 5166.330426233502, 8284.813081839371, 4712.766186568946, 7997.385423676035], [6452.611650019052, 6533.207730947289, 8807.075741968045, 9613.017513620158, 7551.372353415147, 3814.9462465572815, 3178.498657329026, 807.6312013168241, 629.477046023933, 5989.092355191663], [1305.6504233275512, 1205.5849470621283, 2131.0955750784424, 6257.637312213648, 8633.528791950788, 736.2226708854236, 5119.414303257056, 8804.172116612383, 2288.600322833193, 6674.881539883841, 5432.169377077389, 9984.06868017292, 7926.301399413941, 2449.424127914216, 1688.0860689625322, 260.6488247313743, 1178.8654972754252, 2073.6854863269373, 5529.394205300341, 7653.727965408834, 569.9328536601145, 1224.9369795814468, 7797.080337878472, 1005.767754018665, 3090.0776894453675, 455.9069614769562, 9044.51867916772, 1718.965140003418, 6583.579031677243, 4791.924601541926, 7018.857860820445, 9808.375188561504, 1320.5685001544575, 329.7136763666042, 6342.892026874494, 8972.682821764105, 4668.29063954748, 6946.344862709311, 9805.303722784838, 2973.069105760632, 6985.874880236632, 9545.021104493411, 9719.80028292283, 7198.598793755461], [5331.89188600143, 3188.443349871333, 221.02133512022948, 880.68828138539, 1515.4027709793838, 7930.966870782095, 9507.713752644831, 4313.160757690817, 3846.72384161552, 1655.681262068367, 55.170275874311116, 2949.6754977555197, 1910.1840751659095, 4244.735303329609, 8121.260273473295, 3860.8176185770503, 4750.489350886882, 1467.6363234444666, 465.8560983548199, 4940.401342901576, 5809.536778997865, 4565.245203215682], [6828.767147722977, 128.93271215892787, 3797.8224655761874, 8079.884381341665], [4517.275715047743, 8940.097122408839, 7281.039946934588, 27.728369323011258, 3740.264596087575, 4874.93591726158, 8043.314070462276, 5166.097047074663, 4925.980878654775, 3648.0727223990084, 3791.9876484136016, 2912.2565199145156, 3834.847575889263, 1354.5777786291524, 9765.026115064547, 7549.4703666134255, 1936.525418831999, 1478.6811488485152, 893.3329941262602, 3586.843418684723, 7367.442903319976, 5813.70155527669, 8396.79082639397, 8247.306407746588, 6074.220118587592, 5634.113567301089], [7096.526417346024, 7299.596512835649, 6326.555025996232, 3505.971650102451, 4088.5960369402806, 6348.481260870844, 1022.4660759645033, 6479.299624221714, 8255.83540280519, 5318.646177823633, 385.5360954127318, 1742.7901571985306, 383.9634977990947], [8312.439822931368, 7693.173653102019, 9684.846018395066, 5436.851517291458, 2240.2570185572104, 8549.76817377781, 2863.1071822119657, 2364.4898333606247, 8387.6366465958, 235.49213883719779, 5635.75381122587, 8824.638572201757, 5855.982086624727, 9390.895322287037, 9729.264148554501, 7581.889326800262, 7539.671214598107, 8212.126365277514, 3414.4707187305257, 2186.9037265717116, 148.32911299373586, 3907.974409916858, 1171.2309102908814, 8222.6799813232, 9643.24040317058, 8560.840012204286, 8605.631358897996], [2080.1073040550423, 2877.2637236850574, 3818.077902160524, 2477.6928693570053, 7555.588606535247, 3270.181723572487, 4332.255274782373, 6344.623935872137, 7847.221150939287, 1112.3530198820374, 6944.858605401434, 8337.745136833113, 5061.397976451156, 9552.075051082322, 203.72691830435886, 1225.1921990053638, 3211.0942488406326, 1276.8268581899101, 7670.342953764469, 4181.706551221689, 1406.5485053574666, 7060.566377790574, 25.700288190759757, 8334.288430677061, 2867.655518166218, 9739.933759812533, 310.29910419946293, 2246.3458997758767, 8825.811097236192, 8480.717272229293, 8484.35331937365, 9453.101358520635, 5368.758902198425, 6711.186412720251, 4527.55608166248, 9086.130657920075, 1931.1440358139143, 5924.407535867492, 5380.415819375357], [3846.753290795024, 1732.6441416861594, 4543.440737272442, 7218.242312741953, 6321.872177360868, 6764.197557825947, 3503.1296065699958, 4159.706453642625, 2760.640834432676, 6725.738873358718, 593.3134928627992, 6645.189779519307, 1452.3664747870412, 6717.461512638625, 9729.597277117091, 3076.719110299966, 135.3391256749814, 7528.0224422840265, 6012.289608040301, 4014.73128472828, 1071.8528463489108, 4668.170320820327, 9114.25103505039, 751.3155545422634, 8509.699032980909, 8679.657328254336, 4057.877122536042, 7402.240832613551, 4542.251198006061, 3308.334311294533, 5502.399907436886, 4604.392185814295, 9896.08110125432, 6017.690628500904, 8830.375455102685, 9694.940638011103, 1270.5221941729205, 3630.751473478894, 6743.2106963398455, 4667.728606843594, 4731.991841183002, 8993.050057035647, 4536.511085240959, 4828.172159143931, 9631.71972231329, 3019.3395883885764, 5681.601206319076, 5189.918716253909, 9457.451025038778], [9858.490575174568, 7707.905607803832, 5021.584175638065, 2126.0930665803635, 1093.0428368047963, 3745.011847594666, 9771.166318207452, 472.61146441024306, 4008.6772252631677, 1585.794170199577, 483.33570777268295, 5227.284291977262, 3565.305570733922, 9644.097132819306, 829.7755761930725, 6055.538965298497, 175.36201751864766, 3413.0217400469296, 2640.2753174918603, 9155.091839148372, 2204.147217534156, 9646.824594662883, 5535.653721601298, 6999.1296089517145, 2052.106730093315, 8765.774235212373, 5618.504221894872, 1823.101083855152, 6450.228448742152, 3709.0840347005037, 2562.8685396231153, 9404.89205337425, 8223.893813893073], [2933.9119028337823, 1670.1502558318027, 6087.785052928502, 5830.496579124935, 6012.667523752366, 8605.549463703592, 8391.896202104264, 6781.779546376485, 8722.263881711979, 5244.490064787881, 7941.369082757103, 9725.010319453018, 5820.878548931412, 6412.693111293454, 8686.079007513366, 4832.8557027198185, 1971.5020676134554, 4713.00315718324, 23.95004735105899, 2043.0266876244518, 1744.4110544238877, 9582.30503057717, 1370.9954690178238, 4895.774712815934, 308.82987894597204, 4401.248882448594, 1374.6357709485146, 4959.382604347441, 3218.244984172339, 1034.0450323702598, 6737.440724743908, 634.1304172158091, 4999.24253043374, 6330.331284021177, 9139.827275144382], [6997.489257897447, 6806.800562474949, 3902.9309997574023, 6376.073892981555, 1670.3644171585763, 7131.487894217919, 1408.3540095032376, 412.2056336025215, 4304.210459722586, 3124.575744335187, 7828.129832271993, 2643.8811253771487, 6873.465900546271, 6509.248773293544, 579.0570266395179, 9394.219664404045, 8578.463028905046, 3835.6538352530943, 6162.595716602937, 9170.955208900608, 2407.4357214948327], [4870.0107594261635, 3324.1339614958356, 5932.348671574118, 7765.827307806859, 2031.094134376461, 6089.677488554667, 1434.5229583013374, 1396.7772537825929, 7054.601057121471, 1148.3122565408987, 7728.834323176571, 4487.6592414211855, 5517.523660019319, 5899.975978067698, 3265.7994047891757, 7871.939795019093, 9946.250158526567, 5665.668416355023, 6987.594052558873, 5279.374685773946, 9511.549579080132, 431.7493942707229, 3461.0964351048756, 309.70060280253506, 8983.523425189924, 2456.575385065778, 1265.8660899152085], [8529.096294439394, 2980.465082017305, 1247.057568565425, 1683.7901051144765, 2346.8054018979224, 5410.236203075452, 9768.449536539629, 754.8137030947732, 4162.952453094405, 6112.1743131963, 273.037880594309, 808.4213368212689, 4615.3391439094175, 8759.276596590496, 8992.405678183211, 3879.2595073552816, 7503.976937076325, 2178.3774847327077, 9626.995412254648, 4762.384453793243, 4304.784074817238, 1051.1728645390829, 4006.2527490710277, 9709.333274524432, 3201.6798740910435, 2478.8484504271014, 3115.7977329178675, 1663.9006122470812, 9723.917944178913, 8904.652104789036, 4893.318186460499, 1308.7180114241014, 6679.899715892782, 5764.6618025963535, 3532.443421003797, 3583.4289228422845, 9154.05602075901, 4110.438471296866, 547.2737136121641, 8607.280965840293, 6844.321723607965, 7456.603075966929, 3281.0807490473303, 2789.154901361526, 782.2666839299308, 4682.115076692754, 8304.025574969566], [7867.432895770139, 7142.481633795158, 616.3828766647327], [3387.3802798770657, 7144.366061237613, 9860.806002618854, 8079.830027999986, 960.6136403709353, 3649.091708134886, 2944.5665577603286, 4517.417094476161, 4018.920033033857, 2443.3697424046786, 5216.456010749324, 8490.246719274373, 5191.955006675276, 7368.537038688761, 1669.5608867539668, 3879.493413167572, 9889.474876929211, 9992.481486612269, 3660.7510158002187, 8138.870105890437, 4698.871535878607, 8170.396330191924, 2996.6723471223313, 3207.835113478479, 7602.8165060169995, 8428.482452334038, 3854.3925110712416, 4292.9644291593695, 3257.118330538692, 3205.1510927519776, 2351.8971372001183, 7927.634015142587, 2271.416178727619, 5279.455156231754, 9528.477679256916], [4809.558214848555, 6512.113001668395, 4126.780341230375, 8132.839211158911, 3910.846617356295, 3156.911078233957, 6491.515503128564, 6847.145249167793, 6321.306375289207], [5132.246799974731, 6370.43772475688, 758.3383190726755, 3822.1912772556598, 8392.762450933264, 6840.7826438867105, 906.171738227003, 3924.4554022145207, 4394.162240587243, 2168.1300970892626, 4967.331263775884, 3161.0163687093864, 5567.720858829881, 7250.935239567056, 3349.9827470371847, 7062.4877637767795, 8205.045407756192, 2845.672970275027, 3632.275199296913, 6278.2813550024985, 3311.7990092854398, 1244.3732947943565, 125.2291572270614, 966.8954156959719, 594.1764921541792, 665.1263367721838, 6373.084192169837, 2661.853212656231, 4270.594558825736, 3354.1377968170336, 4191.810824563139, 1447.4469824976234, 6100.290756172702, 7643.94222186592, 8064.262463824555, 4159.99596569145, 314.409524232685, 9662.847377558683, 1963.453914000497, 3833.110525685618, 1382.4852909355711, 5216.451524604983, 1923.6243302753153, 9366.946960746385, 7010.521276782435, 6438.24964953168, 6613.800664284052], [383.97664429939414, 6189.259103225889, 223.53430583521904, 6482.472343800064, 2428.333587831151, 9818.068366530008, 9781.347438012055], [3898.2961108062773, 9291.534494677917, 7317.398922809986, 6426.207629331639, 6967.6541718465505, 3752.1475543957704, 9733.352111551661, 5361.463573450924, 7189.933607605151, 8777.4997082165, 2824.233126142458, 7816.366398242133, 877.4402752427968, 6056.868857289174, 2182.6819683042677, 1280.1579204947611, 4436.555287965954, 1661.3145376490336, 2092.423589364817, 8260.380550864431, 5966.315646458932, 2432.5698050980773, 2739.185628046621, 7245.886255806842, 268.77157782930425, 1233.0706867884178, 5943.957524802674, 7405.470958601446, 501.9242163945048, 2971.016181534857, 7782.648869979246, 9913.953451407731], [2235.11258828775, 9865.00539197128, 8231.382920563366, 2952.921926617926, 2929.760559635134, 9595.450532333396, 6384.407369365793, 9412.122783013581, 175.63593700402947, 9514.63820403047, 371.6559244036188, 7825.43779507584], [5590.251121718374, 1407.730019930593, 6933.377338234666, 538.4946470584406, 3654.1200805880903, 5562.66912969946, 8950.192777377413, 312.53390952430624, 1975.0088926924968, 8822.979565516376, 6368.251716233585, 3094.0902834724347, 2238.6087134777144], [8225.011588911006, 447.0286611190544, 2531.794580124993, 5786.881077286801, 399.8362563738822, 1165.8075770758226, 2026.1937515817751, 196.0265843025899, 9049.138866114914, 9141.277243142813, 1800.317527008992, 688.9468968954048, 1037.703653911477, 5719.273573098196, 8613.212547189436, 447.6345582866159, 2408.581086134727, 338.52365298329136, 8235.860036451202, 8121.796753653178, 836.9094638861175, 8.520867197108206, 4628.612686002925, 4344.374163287639, 9274.546442753306, 2372.0278182942657, 3812.8030782577302, 3816.980924729987, 9211.587577868697, 6548.961092866181, 7683.6400177831965, 7210.282733624986, 8488.116010841984, 102.69806692702055, 7549.429474892514, 6546.469769481529, 6756.096944305571, 8869.645061932615, 6320.84551678245, 720.6570295438963, 9866.068905769132, 475.1409373336379, 2798.0614694422534, 9503.48700738789, 8161.54971021859, 1975.2144598311195, 3184.9270319596735, 7500.649344847348, 2844.260413115036], [2214.984180049143, 9727.826331483277, 7671.809203158182, 2004.4891504845953, 512.5558446894618, 3765.2938342348407, 831.8376948644524, 4359.633550677039, 3161.4136806221513, 7426.701730205041], [6151.439311123929, 8562.409749844177, 139.99318421840434, 2266.860770807414, 5297.3617285961345, 6076.901805064366, 3547.03069618111, 1096.5089121097703, 6608.441477711436, 8666.842749849327, 1964.6619061874371, 9606.368642264752, 7790.148934891385, 633.3946589981099, 3781.3793526328354, 6340.4956514955, 5472.202059979498, 5763.352374526418, 1576.1085832246936, 5536.915866053031, 2880.5928523811176, 4004.5592639781657, 1666.2604767999255, 6223.937189676776, 8128.506855231704, 5905.0244628740575, 1954.6037073995114, 7090.29168428198, 5371.213723343435, 9349.180160309432, 1526.9429567895588, 556.8638591150853, 6433.413998565571, 2525.8470467800466, 3589.839806422006, 6087.283736251727], [7911.322186291536, 5780.619078872976, 2943.817961220151, 4381.303592508306, 5014.256467510416, 8988.614196928396, 1582.6519734764588, 6647.652615108409, 877.1562024007295, 1358.4933337219384], [1406.4943067285296, 73.1155948257911, 5031.850371822942, 9438.22435420941, 5108.465505806064, 1042.4364006211772, 1314.8948841112551, 3329.40053119417, 1146.2165867620633, 4715.847078578909, 3456.824393156518, 2196.2603568035543, 29.439396941270957, 1270.3641942313304, 4177.467361294353, 1746.6041587714087, 5911.9535732701015, 6454.244236090103, 2688.3784140475386, 5617.285110191332, 5303.427954073207, 4387.293331306137, 611.7548697546293, 8811.91974824338, 7078.516064797247, 7901.196772955747, 1924.5406523846564, 4774.936619560966, 7355.620204940925], [6035.935933113421, 1226.8040806777858, 5523.165617454097, 8836.579142603414, 1113.4671947565266, 8213.4907263991, 7745.084802654282, 6340.957509377881, 415.03468684295774, 6608.493692843055, 7044.121740102962, 8825.803590215197, 4881.442071527774, 3642.575044234495], [6626.512216159988, 308.96301872390785, 8388.25754694902, 5486.470145073442, 997.4133362297155, 4392.157919012072, 8252.447545916273, 8907.78626494242, 3842.258839697337, 3161.5035951132877, 8956.139755168353, 4045.1642497512407, 4844.111745415444, 7848.103760574075, 4494.6730721434515, 6180.269049242508, 7409.033590289328, 985.7402365643653, 7196.726412389427], [269.77648903710906, 1126.2237816718923], [2040.8906107327562, 3413.4874201388643, 489.57760152147813, 3076.601982325039, 9102.021349349618, 1200.7208827667926, 699.6162509403681, 3101.634796437868, 3701.554108779237, 2411.9592533702184, 9068.483763610337, 4673.493274371369, 1056.6528905404548, 6871.406578573134, 7815.186266363301, 899.8258379586932, 7810.1777339325, 1923.2736881495427, 4907.3553254635835, 36.26787738972514, 9500.035076375627, 4385.290183219543, 7381.672654939276, 4931.537531704371, 9805.425209816323], [5022.436273571402, 1197.1797908028402, 2513.282515620119, 7293.5846831339295, 7864.075502303563, 2488.338611262899, 6965.7072214240725, 662.562087608145, 4890.8534220629, 5960.8202659888675, 6913.129571853039, 4416.960377812348, 8846.58033596835, 6414.317693274189, 4127.7024306320955, 6366.8329968171465, 9450.85060725369, 5628.414242086556, 192.2829859747388, 7182.850802625099, 63.242532136027485, 2300.6925952920365, 8846.636183933997, 3146.563889171922, 3754.3555017824315, 5770.426368716938], [5173.830964715877, 9890.226777233238, 1098.9324114713784, 364.69864035620805, 7723.254271184315, 5517.0747971463215, 6972.82355850263, 4377.688324442222, 3927.513417754829, 4505.799939384594, 7355.8915738696105, 1411.590170602457, 4931.86251176953, 986.90822558536, 8508.137950915048, 2684.400565521672, 7897.155849168546, 8674.145789673083, 2086.0891380332114, 7705.480883689803, 4665.449845287386, 6076.212330681365, 9407.328687432935, 5689.684512793414, 1831.0823727388226, 6617.606692308336, 5668.947544401989, 8930.611145243207, 8224.113654367518, 8359.300795112244, 3864.5610824686105, 9390.681712139136, 2815.184988367545], [2602.1776608357204], [3407.007216757638, 5724.919154311412, 9384.166952517773, 9690.602472466697], [8102.976838398982, 8849.784140503656, 7407.679966884767, 9836.701623369934, 1872.432781723563, 7281.574637677118, 8845.592713310316, 6876.737462800879, 7233.376167426852, 9591.734515742108, 7484.535374322941, 6180.868036361612, 28.122053896075805, 4850.750074639563, 2077.221298467284, 8422.360632110873, 5304.079773970775, 5150.322617258653, 7715.594320512252, 8676.906084883474, 7063.087615208, 4508.300896683666, 1870.212325326055, 1855.075140914788, 9334.738195960335, 1656.1473401916626, 9367.672340533432, 8863.981457613274, 6546.8262011327115, 9347.669364392037, 4747.065472443352, 5745.848959644722, 9360.338955845944, 2937.7200808032158], [6482.8595704273275, 8499.749853293006, 8440.713898627073, 8891.227554738834, 3180.022519782436, 7880.759241944946, 6056.006933773436, 5912.350437476278, 699.4588114039491, 886.0079001140298, 1822.0626664815043, 381.420906591744, 2607.676451122073, 3181.804873120423, 8202.497429425099, 6359.467064904772, 1496.8293150201127, 6518.407076371044, 9320.042455571478, 2666.589843222107, 3625.619379089742, 7276.918882277939, 1184.0298425253427, 5821.374205476385, 6630.175663663377, 3266.1551529734134, 6400.107810482856, 9315.153890473555], [1696.949632803242, 6995.182554254953, 4565.512300553068, 1555.3469991121383, 3041.5235799893594, 4512.822786172634, 3333.4924190545357, 1059.10366673576, 7496.936219842324], [671.3629839557877, 2236.177889510651, 5329.515026552306, 2048.8616958059147, 5268.330992320453, 7702.435041792674, 2049.848128237071, 6051.912730570009, 2654.641081175706, 6731.628675509916, 245.1033485342835, 7262.8856488773345, 3833.741123694605, 9584.561119746415, 9459.311341921759, 4189.750168909049, 3206.6744841142604, 6161.937614136377, 1550.3029984999139, 7403.993593415656, 1347.1793632618455, 8322.590251110072, 659.5491192120628, 9343.3284201924], [2952.3815506071505], [9115.411311885711, 6190.606498203099, 4032.1155657850204, 7875.049545423708, 9466.12681849252, 5594.839737431558, 8428.888075075625, 1941.9962664072598, 9032.133764189743, 4804.826796327835, 4821.763408431451, 8570.546357430994, 3087.060817370136, 2488.6336685063193, 917.2654167233518, 237.61057335929036, 3926.491893192462, 9982.873336882416, 5210.955793121945, 9577.59684717213, 562.8793455645009, 9974.932039818228, 4114.927049501123], [9536.842393889692, 1523.764350514798, 4576.664144907182, 5555.333574049817, 556.0702052726873, 5695.790313120072, 2940.1550048338086, 8906.823029982179, 9247.57985609783, 5670.479097671544, 1563.240912825089, 2058.2368149628714, 2586.2473296422704, 8548.765615315135, 6932.512942785251, 4001.355017761662, 8043.0396628980825, 9741.137424824428, 1872.3820437759841, 7653.178445488161, 4468.503690875622, 6444.766160470187]], [[9387.34729535443, 7898.461949606736, 6843.664771769185], [8854.224557496666, 3138.5658050816055, 7767.530379809834, 7516.323745513028, 2207.2409217929144, 8693.6916056422, 4885.133223819916, 8144.646738094058, 9472.851132664124, 7362.5846712389975, 5315.360555945713, 1617.4039470690004], [1687.9209124872664, 8464.46411568592, 3447.047038096602, 6532.400295186251], [7446.299482513876, 5930.804673782114, 8777.469690431497, 3199.603818228027, 615.6806451195662, 9000.507773811101, 793.3778314067674, 9665.503543616267, 1423.2311942967624, 9058.320927066101, 1099.8137862184076, 4415.691600581443, 8530.398535354901, 8250.714975402603, 9059.795084829342, 90.4120532143693, 9022.111328994652, 6322.358533615018, 9206.94022358282, 4798.187993893735, 4187.978740159638, 8014.734995401485, 693.8891854382779, 4251.830314994714, 6697.295656397563, 6335.49700736744, 8610.683236059502, 6298.635031818236, 4038.554993329112, 6360.121170960482, 4022.0110051334914, 1122.5234950192687, 6992.0496911377295, 2883.123124720399], [1056.4492709914664, 8567.000947158875, 217.69313002310332, 3254.5002663085174, 4601.802558945174, 4466.4132948941005, 6128.946430118579, 148.94225409799898, 3118.1375747804864, 196.52645396098012, 4504.754960546661, 9199.006855218553, 6614.3828800036, 2571.8878153978885, 8796.432276470714, 7918.001506620834, 9596.031561565336, 3214.753044787861, 9309.630430539835, 7439.472072880434, 9619.018552587135, 4063.006735339747, 6358.964169833173, 3840.2035380176226, 8937.716360911025, 1209.3175096114285, 1721.522884166612, 5216.987384793819, 8684.378443881262, 5495.2611059262845, 2264.1919806259802, 1252.543743534026, 655.3386733986899, 1855.3310449288451, 4847.535649990685, 997.5111777751711, 1053.7363758500662, 8535.863237331658, 8822.043281415563, 3018.8030141675526, 503.60316905774914, 6032.498466876322, 7916.5948041773745, 597.6478813730379], [8684.361358839811, 6833.710635677209, 2301.7133776801625, 275.89397954013384, 5627.0885508326655, 5749.889984495326, 2725.9411491042106, 2263.60838765113, 3220.8714827441454, 2126.1813280018205, 6336.34207671731, 7815.580881958889, 7692.190120063231, 1706.9068872384219, 7089.19633065844, 154.21143066395416, 6379.487447831323, 6113.035840785786, 9292.147103114716, 7285.722660158631, 4056.822238980331, 4410.131230785889, 6277.964120928899, 8029.2274137176, 7759.516664347943, 7600.10262069633, 6539.162345662414], [5216.963504767812, 6022.3717055600055, 875.1699166517468, 2976.028433448088, 4133.081572570095, 3599.4478354607086, 1431.019590353102, 8171.597170603135, 6676.016342458662, 7869.493915359824, 3017.0303643295547, 8547.37163325604, 6113.115846890411, 72.11597385577306, 2408.6468365371115, 7992.691113660823, 3225.521291389316, 5285.023809224858, 9981.08193760831, 4245.283394786782, 9350.710916404942, 156.5062811839235, 3809.4842218626645, 6715.87477975451, 4829.110054128289, 8193.308772328679, 2368.3570505600337, 2988.323558107737, 8440.90610248902], [593.9952608207976, 9015.387427783953, 2400.016721913174, 6206.8118144856235, 3732.352088196729, 1992.9549547278602, 866.736134350522], [6669.381677531302, 27.319788257704758, 2637.01567068781, 3235.943943964311, 8162.7447842874735, 7427.830546891691, 5632.948554742142, 5789.085625226065, 7072.633727802251, 9801.627019837071, 481.0860962500385, 1929.617450695501, 455.0942830517457, 7426.258332777612, 5315.1712596605685, 2377.1485177101213, 9147.659669601951, 7469.859392568566, 2119.6650171808783, 7181.008454540089, 2241.378497924079, 3691.445448003328, 7223.51362443932, 791.8386282872325, 1645.1957081534508, 1079.432157932666, 3581.8213870239433, 1271.6267364206535, 6918.799700879627, 7066.402451269379, 4548.9501257795355, 7771.868819145048], [9581.38150545251, 3410.336533530417, 2856.7662356133615, 2419.0079032541657, 950.0224986377892, 8837.283092999793, 3913.2155959905404, 6636.031805779068, 7592.195244455631, 7420.490147940853, 4471.464810532584, 2152.5663872694968, 9950.003125615844, 5917.471879140231, 5763.089927390933, 7213.237810657768, 337.1997863178189, 1856.5229771467207, 6717.1769095465, 3208.231458475995, 7184.886781951437, 458.4789706683656, 6045.885158102913, 2424.9990349388263, 2896.116810748228, 2319.061652740508, 2047.4513457389999, 6294.492404013903, 3334.9834269859025, 7368.8970490832635, 284.72641721660307, 9420.83255298125, 9859.380369000763], [9169.208331579337, 6500.7756467671825, 4122.966937565739, 1544.64347471575, 9324.722480784405, 8587.01517312793, 3984.021827632204, 8450.161731137936], [9258.381063410341, 3512.2061527605874, 9078.094037081228, 8366.947143769201, 6274.399530708722, 1273.2656720112545, 4407.4473886892565, 3277.961980926288, 6762.275884363325, 2485.552997462922, 7147.186755311224, 6006.1456642302965, 648.4562629752044, 6627.708061728291, 6708.785422640259, 875.7117573180994, 8684.281779960153, 2439.6863224086796, 7798.5461247933945, 9839.935322794892], [4370.801958830066, 612.4579958308252, 6622.693946746825, 3699.7853080311447, 8397.106214715017, 6938.451771935569, 964.9701499567243, 4097.361978551648, 1123.8931687029296, 1755.6273056704908, 293.17328676051966, 6467.777619293823, 989.4719132734375, 4055.8581179604757, 5256.550613502351, 1299.925024671782, 4789.230643713135, 1563.6991704648951, 3267.9045898051118, 7864.694377084369, 1772.628562638382, 9651.531346111839, 2274.1630302924764, 7933.6236919572975, 3121.1596560775, 8866.91589613497, 6246.988735967703, 7121.760563780332, 4865.089575698644, 8281.00498147027, 5085.228034421677], [6404.378481173949, 5131.811344485618, 4610.269533313499, 6136.038498844168, 3243.653004693182, 8675.223981532241, 9075.233149089272, 3285.9284650507925, 5252.767520217068, 9165.91955653066, 692.8358131662837, 2003.3532713768775], [2179.555844128038, 7795.173390996032, 1584.5811576718384, 8026.3344366294705, 7862.970621698384, 7076.0766099803195, 3362.8799147016252, 1096.8494981635213, 2497.3787517671985, 6467.47480827266, 8147.807275391677, 474.7811361711152, 3849.1485728177986, 8819.114225613455, 3643.8263413318837, 7149.719973775268, 319.94128606343986, 351.5817455597814, 3887.537481097733], [6182.269817013097, 9932.80710355981, 4375.52604490935], [5497.83023528442, 7000.943515738341, 9141.649955676245, 3984.347222137875, 5881.395660547033, 432.8745332071515, 1390.0548010976754, 7169.852370963141, 9638.074566266574, 8268.269302387289, 993.340087420359, 8926.312495484106, 9963.77867525507, 86.23903812557066, 6629.0543612085285, 7763.969523740677, 8484.748606467938, 82.25115949979434, 8993.610527478002, 6335.178529611683, 5767.486565260309, 6874.79423820253, 8047.152345465804, 820.8184154530907, 7791.514421602571, 9961.965504789934, 1979.4243726517634, 6485.2608094874095, 4213.721428033255, 6607.888206233299, 9702.017369245692, 9974.535801268215, 4696.642031529939, 8132.563081807331, 7622.293125092784, 1834.6931258898423, 7391.987759206572, 6500.344830172746, 136.48971242386287, 4200.133204789978, 2785.920779496308, 804.8994719309643, 2345.9269659084016, 8357.06549748538], [2766.311825930985, 247.82286534360765, 9210.351083194728, 3753.627957345187, 7962.917152771212, 1751.698129255792, 9212.829728137283, 682.3310004536054, 5741.1142555813885, 9761.752456788918, 7812.1571286188055, 3437.793780763595, 7186.784717752445, 191.24402764638003, 6395.160525892249, 5448.899650841235, 6448.336342731541, 2049.0552692066512, 1934.8055240768304, 4150.412336537698, 3905.3898304258137, 2943.1925104202073, 7517.903523696381, 5241.783668695016, 9328.846774552487, 7128.137571342247, 3454.0132065648754, 784.9234765927349, 7219.1905595332155, 835.6442343664172, 5656.669533993148, 2383.4909026049236, 2681.736245406704, 6966.710606643402], [2063.497842840252, 5822.371347317983, 5703.419199291243, 6524.047902146878, 2296.7642952695332], [1763.4495330058685, 934.5148677695203, 1619.0205544392566, 959.1621826615526, 4280.521969824521, 1369.5693371906193, 3273.1818661012935, 5115.8434116212275, 5985.42152117378, 9527.615090861202, 3354.904782657736, 7101.616336504692, 9762.728037978632, 1269.78383882561, 4875.059489948114, 1497.16737837024, 2422.0980602965283, 5716.250236875847, 6321.505597383554, 1340.667838547893, 8443.00252703888, 3735.8841178907255, 4899.856671866332, 6720.5246060937625, 7750.968585550362, 4238.977841764919, 5788.14965570911, 7274.903802452901, 3595.0484545350714], [9686.865788633631, 8233.772964679154, 660.7508618276447, 6306.683868508095, 8498.953442175642, 8114.077760774463, 1104.754624226918, 311.0692755307476, 2531.60881014545, 8451.28820029444, 3200.6570105366095, 2869.6853746417128, 1238.5022469776386, 231.89892573873271, 7233.737255599893, 8333.686335655733, 3494.76478845981, 6358.858772951813, 1592.5661835891135], [8729.302351090198, 6384.546837461195, 7171.290584657766, 5957.659783638356, 9085.037001227132, 5768.356633124855, 8327.482562249292, 5395.921276883439, 1861.2599624881498, 4765.111906737132, 3378.3810534074432, 9947.647762912382, 6959.705326382867, 3716.9948860458167, 3062.662164010396, 4763.191664464988, 7812.697916882337, 7917.498627199334, 8870.650688899828, 5065.742181053909, 2624.806153972363, 2975.0483110771174, 4364.205465054759, 3188.4425422580866, 8720.977081893758, 1459.87953565746, 4572.8264886204215, 2324.1540757260946, 5840.324208567349, 659.1512944086209, 6387.2382456619625, 1706.1961811177118, 4070.0269992801395, 6180.002343467976, 1707.116403493727, 1552.491504085135, 1627.8271363780805, 710.7568621692617, 2873.2219438669295, 6894.1926098992, 345.15307520545105, 3662.3233518062393], [3211.713546228133, 7896.40777964658, 5300.8078149063485, 6851.224397907975, 5696.065461614853, 5114.791911160674, 2564.1730817028897, 935.5405348126611, 5153.847785482536, 4577.349093295708, 669.4749252740984, 6331.618429957198, 9752.5524618502, 4348.913289388088, 5360.501700968088, 1947.5177649733143, 8717.345541701521, 2764.158876222086, 8439.468669204629, 4053.560412732092, 7445.1623077869335, 2681.809445597795, 227.24520795759483, 5796.36709151562, 1742.0265345346274, 8771.734793785536, 7678.398207518567, 5661.038366465821, 3269.4432986394963, 8668.907656759158, 1676.1950842333351, 5480.716778416091], [936.6238554926199, 4417.071383868515, 6954.953579576183, 5108.719616062134, 7182.39821842807, 893.3269681291046, 9329.321095066078, 4580.047117025584, 8767.112017513396, 5860.985413993845, 8199.847852762732, 1222.4269503900243, 6936.2060001009595, 8505.84929950005, 9178.71060254381, 3564.7845125447475, 5204.125789379878, 746.5779862826249, 3612.5357492902167, 8863.338857356202, 3207.8067128192033, 6411.350131694356], [6971.463246366584, 8656.829488481588, 4716.397759444882, 1871.0559596524602, 1400.7186558055407, 7972.157112200225, 2785.2894228904734, 1230.437360694544, 8007.762276598806, 2879.918281682995, 7129.5575876408775, 1804.8918776007638, 9866.87453607941, 8137.058205998907, 9310.146806768604, 8140.789040813295, 6053.202509221739, 1291.6766981885764, 5042.499167167728, 6617.2901410157865, 5184.765799310381, 8442.95630985222, 5949.8689231126455, 5292.165955504016, 2849.4937899043603, 4906.261299495095, 966.3171571506301, 8454.562916281682, 7489.005406107537, 3920.8761213857024, 8798.627174192734, 2997.865499624235, 1711.347679688806, 4027.298254353501, 2665.297130518587, 4207.206327946828, 2414.3945246142307, 4847.717343608347, 1070.5167501685087, 1704.8851914439756, 8171.119375036566, 3723.606800733539, 142.2932030262325, 9127.383634043443, 7118.072266257432], [339.52074175386815, 6222.346927985851, 7378.5920594735, 6483.541708564634, 362.64537232048144, 7138.700983753719, 2240.2956832486807, 2513.294144642031, 5297.54986666968, 7336.701719593464, 8533.030287569201, 5619.9926655639065, 6020.148727640418, 9972.565222705252, 2138.7215246647575], [9334.18747439277, 2305.316444035084, 1496.1818919744728, 2631.664575282966, 1560.644447319053, 8017.229344306232, 6842.526322961845, 2122.802524963182, 1925.0851490635769, 2446.861091468323, 9263.77307980419, 1483.1424881051537, 5287.2562923501, 9035.859888041217, 8023.375373059005, 1509.7451515868177, 5603.488799339734, 6952.921883793975, 2520.825724984489, 4774.46952604118, 3150.932309635256, 9437.021148222304, 5408.13867691267, 9230.165088724967, 7807.315410083818, 5405.386628850249, 1262.2511910367418, 697.3644405937873, 698.5354770211683, 1350.5821712909406, 5683.304986640956, 9411.453890399667, 7917.412705783028, 8454.459445136355, 7206.496995251545, 4184.077101861108, 6457.784133948724, 7829.579341560543, 9782.181419945555, 3072.675129166752], [8633.9400207655, 9053.67914423705, 9081.024953660442, 2853.802978909221, 7098.6377709172775, 6442.001286495734, 5352.453679308428, 6033.86163930825, 5295.367200513826, 2677.067926657917, 7715.416997612096, 3788.755738261852, 9546.352816383147, 2191.2027293058445, 5191.987053619508, 7361.459537716426, 7500.956977764495, 370.7365519990435, 2962.269562256985, 661.6552510251239, 1609.4504154422318, 3988.587061330161, 2398.369174193682, 1708.5280616204134, 2284.260481124326, 1232.8130458617104, 7282.24314102055, 6095.510118039444, 8316.544395798997, 4280.1892659343575, 8407.096352421157, 3773.58249506053, 5866.478536674913, 1059.4976355232154, 4198.072679613927, 4234.325659104923, 5473.390130450675, 2776.1105772896135, 1674.2483340926185, 9810.681965224623, 8123.877611121171, 2880.6804254366057, 611.8050413036724], [2993.2135939667937, 6516.371756368651, 3243.954240688501, 1707.4419839480238, 6117.910093882588, 2728.1465292580765, 6634.197180792388, 4372.280063161229, 9906.755136519236, 5628.301297423993, 4325.8026028396025, 5809.6193319701715, 4537.666496279663, 5195.153570340511, 1449.7797935032452, 5993.770275452789], [4543.424826252607, 8348.648362364054, 804.5165023634681, 1729.8028197600313, 1522.5403036030073, 3062.049396246639, 5614.200983933174, 5394.364801574996, 6082.364911270015, 7322.660128770181, 105.67616713120897, 3780.024680250308, 2043.1384239018603, 1911.4871928662747, 6600.417413983897, 5725.222210135139, 3159.2736284331845, 7911.867143170885, 6910.232736464181, 5082.363943676784, 398.9266438123795, 6600.002726524873, 9718.957727352494, 373.35598181310934, 1769.8440978937858, 1423.7660839786836, 6709.319258322703, 8863.059005113284, 8818.99294307518, 6869.765112779014, 2299.7066087856288], [5904.333165248659, 3737.2540517941134, 3234.8010931379345], [8741.274694147212, 8142.366348649237, 7178.080069844503], [9806.546398158205, 4111.328970709272, 1297.6979885312844, 6671.312196519337, 919.8636669576166, 3674.7691763561584, 9558.015583014578, 179.15421355732875, 6633.7786907057525, 5145.041583744364, 9650.732970966015, 2262.287535355311, 4078.381954659066, 9352.614142347535, 979.6245727881725, 1961.1517367115562, 671.592570513081, 4430.339128069768, 2945.127026543707, 6308.61484052264, 639.7007227096851, 5329.702461652472, 4258.603814362332, 2386.0945919632636, 7582.27847122242, 531.7809464507307, 619.6474357889825, 9850.258845427983, 3376.8188352510665, 1443.5852603295095, 5965.538654258386], [4064.611605775853], [8699.678950267016, 2638.8791938900504, 9864.32576829143, 9545.45934752491], [8967.277929781716, 158.487360223436, 2706.512848604518, 7632.722968650326, 9493.606876017158, 722.3053012762348, 6964.558269251513, 3890.6533336777193, 7324.280695126543, 2114.987955696953, 6493.602831666873, 7861.736242257294, 4577.950198510346, 1258.5279257186965, 8413.280602583125, 9809.221728733319, 9999.85897125298, 2687.9513051743697, 4310.701528942745, 8308.434209993517, 4632.868040691614, 1557.6045146848705, 2024.6772936559332, 4584.237100857744, 1162.3893821891406, 9006.014395722459, 8980.135554758763, 9645.94750029713, 5807.972419276929, 9641.914592343957, 6119.365848988399, 8925.074625708212], [3961.038699627797, 7941.386171416613, 8497.2079090036, 950.7156317300869, 1002.2655576124373], [4770.970512462653, 5751.274214977394, 7374.385304920768, 6583.555487016266, 1354.1896365063787], [9019.53955445245, 6116.076908287135, 8146.602392879152, 72.65131447226403, 1516.6254211993412, 8039.461012121285, 5038.821843934121, 8391.976024847978, 456.503039225048, 2670.191490719758, 3515.763578768253, 1092.421155822273, 6164.620640238656, 545.5694373578046, 4279.737736096799, 495.9879677990009, 4625.2520594959715], [1439.336923533866, 1302.3118323967053, 167.48167583331974, 6295.610633433874, 6721.42085515711, 6293.501666300752, 443.10543686137737, 5790.080920213072, 8246.409203016145, 1090.7269189639735, 3732.488593915935, 2911.804873618257, 9941.921987305477, 3792.731907876411, 4534.224944059517, 1472.278357602025, 5275.2635084540525, 859.5210260889396, 9597.694442577425, 4899.437560961888, 3899.188565008336, 291.1982655390333, 7689.693286997743, 8893.026162327125, 4327.722294090344, 5068.436180974043, 5900.3279123267785, 7465.30143721741, 7167.568894492006, 4383.153760951697, 6514.683704147853, 3810.559736196162, 2522.446986633412, 8028.80881494865, 8593.830034608267, 7739.336291343238, 2193.260515869928, 4073.821932851648, 7770.88670948187, 7663.446075181924, 5361.707839001343, 5038.736484800433, 6054.88382711972, 8169.620671795285, 9367.954744778806, 2939.9653782874825, 9453.300074929695, 2797.1126437886173], [1566.286547919663, 8936.617547502176, 9231.73742747379, 5926.868366854842, 9103.397262654895, 8368.856835536099, 7101.186219987764, 7810.498315791292, 7975.613043686254, 6534.1573199897975, 3221.878461550536, 8047.027853088147, 4308.07219595293], [4698.9398220605735, 1381.493549044479, 2511.354007653047, 1792.9062150709663, 3433.3984663747965, 6310.645731404196, 9282.773595893277, 1436.72903578846, 4255.664980727647, 5442.018955197633, 9070.360569097147, 997.3894557292784, 6111.892651874234, 9341.385608723269, 478.81757295908267, 1351.2651210460015, 1523.9132106506759, 7642.007210066544, 8023.924071903322], [6975.216490755457, 545.726967916269, 7829.418625853173, 285.96897390028687, 1788.3485134839195]]]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
LONGEST_COMMON_INCREASING_SUBSEQUENCE_LCS_LIS
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [0, 1, 2, 0, 0, 2, 4, 1, 2, 0]; int [] [] param0 = [[1, 7, 9, 35, 43, 51, 51, 66, 88], [-52, 52, -92, -46, -94, 30, -36, 18, -98, 22, -36, 96, -88, -50, 50], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [5, 74, 29], [-84, -74, -70, -62, -56, -56, -52, -2, 6, 24, 28, 44, 44, 52], [0, 0, 0, 1, 0, 1, 0, 0, 1, 1, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0], [3, 4, 4, 7, 15, 15, 16, 22, 32, 32, 37, 39, 39, 41, 43, 46, 47, 47, 49, 75, 79, 80, 86, 88, 93], [70, -64, 0, 52, 32, -98, 38, -8, 34, 70, 98, 58, -48, -60, -28, -22, -72, 82, -98, -36], [0, 0, 1, 1, 1, 1, 1, 1], [46, 87, 98]]; int [] param1 = [5, 7, 36, 1, 8, 17, 19, 16, 7, 2]; int [] [] param2 = [[10, 21, 38, 50, 65, 67, 87, 93, 99], [-58, 40, 56, -62, -92, -94, 40, 18, -2, -76, -78, -14, 44, 84, 4], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [57, 33, 48], [-98, -96, -88, -66, -32, -26, -24, -20, -4, 20, 48, 74, 90, 96], [1, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0], [9, 12, 15, 20, 22, 27, 28, 28, 30, 31, 35, 39, 47, 58, 58, 60, 73, 74, 76, 78, 80, 86, 95, 96, 98], [-18, 88, -40, -52, 30, -10, -18, -56, 84, -22, -64, 80, -14, -64, 40, 92, 48, -8, 24, 82], [0, 1, 1, 1, 1, 1, 1, 1], [67, 31, 54]]; int [] param3 = [8, 10, 22, 1, 12, 15, 14, 12, 7, 2]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i], param1[i], param2[i], param3[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
TAIL_RECURSION
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [5040, 2, 24, 720, 40320, 6, 362880, 3628800, 39916800, 1]; int [] param0 = [7, 2, 4, 6, 8, 3, 9, 10, 11, 1]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
SWAP_BITS_IN_A_GIVEN_NUMBER
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [5, 1, 5, 5, 129, 65, 192, 65, 3, 6]; int [] param0 = [5, 1, 5, 5, 9, 5, 6, 5, 3, 6]; int [] param1 = [8, 2, 5, 5, 1, 6, 6, 1, 3, 6]; int [] param2 = [7, 5, 4, 9, 5, 2, 1, 5, 9, 6]; int [] param3 = [2, 4, 4, 0, 3, 1, 9, 3, 4, 9]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i], param1[i], param2[i], param3[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
SQUARE_ROOT_OF_AN_INTEGER
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [9, 3, 3, 9, 8, 7, 7, 4, 9, 8]; int [] param0 = [89, 11, 14, 92, 76, 63, 51, 16, 83, 66]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
FIND_MINIMUM_DIFFERENCE_PAIR_1
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [2, 0, 0, 0, 0, 0, 15, 2, 0, 2147483647]; int [] [] param0 = [[3, 25, 44, 46, 54, 60, 81], [82, 68, -98, -66, -36, -42, 98, -38, 58, -6, -28, 70, -24, 18, 16, 10, 92, 44, 28, -96, -72, 24, 28, -80, -4, 38, 88, 76], [1, 1, 1], [87, 25, 80, 45, 44, 20, 48, 47, 51, 54, 68, 47, 89, 95, 15, 29, 5, 45, 2, 64, 53, 96, 94, 22, 23, 43, 61, 75, 74, 50], [-74, -48, -42, -26, -16, -12, 0, 4, 8, 18, 46, 46, 62, 70, 74, 88, 92, 96, 98], [0, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 1, 0, 0, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 0], [27, 42, 59, 80], [-96, -94, 10, -36, 18, -40], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1], [96]]; int [] param1 = [7, 28, 3, 30, 19, 40, 4, 6, 21, 1]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i], param1[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
PYTHAGOREAN_QUADRUPLE
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ bool [] results = [false, false, true, false, false, false, false, false, false, false]; int [] param0 = [1, 3, 0, -1, 82, 14, 6, 13, 96, 70]; int [] param1 = [1, 2, 0, -1, 79, 57, 96, 7, 65, 33]; int [] param2 = [1, 5, 0, -1, 6, 35, 45, 3, 72, 6]; int [] param3 = [3, 38, 0, 1, 59, 29, 75, 63, 93, 2]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i], param1[i], param2[i], param3[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
MINIMUM_DIFFERENCE_BETWEEN_GROUPS_OF_SIZE_TWO
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ long [] results = [10, 10, 1, 13, 38, 0, 9, 0, 1, 16]; long [] [] param0 = [[11, 12, 14, 15, 20, 21, 28, 28, 30, 33, 39, 39, 42, 43, 44, 45, 48, 53, 53, 58, 59, 67, 68, 70, 70, 72, 74, 76, 76, 81, 87, 91], [-94, -84, -70, -62, -60, -56, -44, -42, -30, -14, -14, -12, 0, 14, 18, 28, 42, 52, 58, 58, 88, 92], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [2, 4, 4, 6, 8, 9, 10, 21, 24, 28, 28, 31, 31, 31, 32, 34, 36, 37, 38, 44, 46, 46, 48, 49, 49, 61, 61, 64, 66, 67, 70, 70, 76, 76, 78, 78, 85, 90, 97], [-98, -78, -68, -58, -26, -10, 32, 42, 90, 96], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [8, 17, 23, 25, 29, 32, 35, 35, 52, 56, 57, 59, 70, 71, 77, 88, 96], [-10, 18, 46, 62, 82], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [3, 5, 5, 7, 11, 12, 13, 16, 20, 21, 24, 27, 28, 33, 39, 42, 43, 44, 46, 48, 49, 50, 52, 52, 53, 53, 56, 58, 60, 60, 61, 61, 67, 69, 70, 71, 76, 76, 76, 82, 82, 92, 93, 93, 98]]; int [] param1 = [31, 11, 19, 37, 8, 35, 16, 3, 20, 40]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i], param1[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
MAXIMUM_NUMBER_OF_SQUARES_THAT_CAN_BE_FIT_IN_A_RIGHT_ANGLE_ISOSCELES_TRIANGLE
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [0, 0, 0, 0, 1, 0, 0, 0, 153, 0]; int [] param0 = [40, 38, 47, 52, 21, 50, 8, 56, 93, 21]; int [] param1 = [74, 35, 71, 29, 9, 33, 82, 80, 5, 90]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i], param1[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
CHECK_ARRAY_CONTAINS_CONTIGUOUS_INTEGERS_DUPLICATES_ALLOWED
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ bool [] results = [false, false, true, false, false, true, false, false, true, false]; int [] [] param0 = [[2, 4, 19, 25, 65, 72, 75, 83, 90, 92], [46, 2, 28, -44, 74, -36, -8, 30, -96, 60, 52, -58, 16, -38, 78, 38, -28, 16, 26, -42, 48, 40, 6, 72], [0, 1, 1, 1], [50, 21, 9, 29, 86, 2, 82, 49, 34, 18, 77, 83, 44, 67, 85, 58, 15, 85, 22, 3, 39, 67, 42, 37, 6, 35, 18, 57, 41, 32, 39, 30, 41, 68, 84, 36, 64, 36], [-92, -82, -80, -78, -66, -66, -62, -58, -54, -52, -48, -30, -26, -22, -20, -20, -18, -14, -2, 12, 20, 24, 26, 26, 28, 28, 32, 36, 42, 48, 50, 52, 56, 64, 70, 72, 72, 80, 82, 84, 86, 92], [1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 0, 0, 1, 0, 1, 0, 0, 0, 0], [18, 19, 21, 23, 30, 33, 38, 40, 45, 56, 63, 68, 93, 96], [20, -90, -42, 48, 18, -46, 82, -12, -88, 82, 62, 24, 20, 64, -68, -34, -38, 8, -54, -20, -92, 34, -90, 78, 18, 8, -6, 10, 98, -24, 72, -92, 76, -22, 12, -44, 2, 68, -72, 42, 34, 20, -48], [0, 0, 0, 0, 0, 1, 1, 1, 1], [81, 25, 50, 48, 35, 38, 49, 21, 47, 94, 94, 55, 23, 45, 92, 23, 93, 33, 64, 9, 90, 64, 81, 17, 2, 73, 8, 7, 35, 36, 72]]; int [] param1 = [8, 14, 2, 23, 26, 43, 8, 34, 8, 27]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i], param1[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
MAXIMUM_LENGTH_SUBSEQUENCE_DIFFERENCE_ADJACENT_ELEMENTS_EITHER_0_1
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [2, 2, 29, 2, 1, 3, 3, 1, 38, 1]; int [] [] param0 = [[4, 5, 9, 31, 31, 37, 41, 55, 56, 61, 79, 81, 89, 93], [-76, 96, -68, -16, 22, -24, -24, 6, 98, -82, 54, -80, 46, 0, 0, -50], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [97, 93, 43, 51, 15, 33, 13, 96, 39, 89, 78, 25, 45, 6, 64, 54], [-98, -78, -72, -70, -68, -58, -56, -54, -46, -44, -38, -34, -30, -24, -18, -16, -14, -12, 2, 6, 8, 8, 10, 10, 16, 24, 26, 28, 40, 42, 44, 56, 58, 62, 66, 66, 78, 86], [1, 1, 0, 1, 0, 0], [7, 8, 10, 11, 12, 15, 16, 16, 19, 21, 23, 23, 23, 25, 26, 35, 38, 43, 46, 47, 51, 52, 53, 57, 60, 61, 66, 67, 69, 74, 75, 81, 83, 84, 88, 92, 94, 98, 98, 99], [14, -40], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [59, 70, 53]]; int [] param1 = [12, 15, 29, 13, 19, 3, 34, 1, 38, 1]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i], param1[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
FIND_SMALLEST_VALUE_REPRESENTED_SUM_SUBSET_GIVEN_ARRAY
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [1, -95, 4, 1, -93, 2, 1, 1, 12, 1]; int [] [] param0 = [[16, 23, 24, 41, 48, 58, 72, 75], [-14, -82, 12, -14, -38, 12, 40, 12, -74, 42, -36, 64], [0, 0, 1, 1, 1, 1], [17, 89, 44], [-94, -92, -84, -82, -72, -58, -56, -40, -34, -34, -24, -22, -8, -8, 12, 14, 16, 16, 22, 22, 34, 46, 54, 58, 68, 72, 74, 78, 88, 96], [0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0], [2, 12, 13, 13, 13, 16, 28, 32, 34, 41, 41, 47, 49, 49, 50, 52, 58, 61, 63, 65, 67, 68, 68, 74, 80, 80, 84, 84, 89, 93, 94, 98, 99, 99], [-54], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [42, 50, 76, 45, 6, 63, 46, 73, 65, 70, 87, 5, 41, 63, 96, 75, 38, 76, 27, 7, 71, 9, 65, 44, 76, 37, 94, 52, 55, 3, 38, 68, 45, 15, 35, 90, 36, 46, 13, 92, 32, 22, 49, 35, 83]]; int [] param1 = [4, 8, 5, 2, 25, 8, 23, 0, 33, 35]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i], param1[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
FIND_REPEATED_CHARACTER_PRESENT_FIRST_STRING
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [-1, 0, 0, 0, 0, 0, -1, 0, 0, 1]; string [] param0 = ["orxmflacqfbv", "39977638567848", "011110011011", "fyjfny", "222280492", "11", "ujntbg", "6866190138212", "0000", "fwz pweqgvlrz"]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
FIND_THE_NUMBER_OCCURRING_ODD_NUMBER_OF_TIMES
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [1, -56, 0, 36, -84, 1, 11, 52, 0, 4]; int [] [] param0 = [[1, 5, 5, 8, 14, 15, 17, 17, 18, 23, 23, 25, 26, 35, 36, 39, 51, 53, 56, 56, 60, 62, 64, 64, 65, 66, 67, 68, 71, 75, 80, 82, 83, 88, 89, 91, 91, 92, 93, 95, 99], [-56, 98, 44, 30, -88, 18, 60, 86, 4, 16, 10, 64, -22, -86, -66, -16, 70, -44, 98, 78, -96, -66, 92, 10, 40, -16], [0, 0, 0, 0, 0, 1, 1, 1], [36, 11, 83, 41, 42, 14, 46, 89, 91, 96, 57, 42, 74, 73, 9, 26, 79, 40, 31, 69, 44, 39, 14, 92, 34, 20, 52, 47, 14], [-84, -84, -84, -78, -66, -62, -62, -36, -24, -10, -10, -8, -4, -2, 12, 14, 20, 22, 36, 42, 46, 66, 84, 96, 96, 98], [1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1], [11, 12, 14, 28, 42, 48, 50, 58, 67, 74, 86, 89, 95], [52, -56, -6, 74, 10, 68, 74, 10, 16, -80, 82, -32, 6, -6, 82, 20], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [4, 80, 92]]; int [] param1 = [31, 19, 6, 25, 23, 19, 7, 11, 31, 1]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i], param1[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
COUNT_SUM_OF_DIGITS_IN_NUMBERS_FROM_1_TO_N
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [165, 865, 540, 667, 525, 168, 667, 177, 609, 240]; int [] param0 = [29, 97, 71, 82, 69, 30, 82, 32, 77, 39]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
CHECK_POSSIBLE_TRANSFORM_ONE_STRING_ANOTHER
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ bool [] results = [true, false, false, false, true, false, false, false, true, false]; string [] param0 = ["dabcd", "417514", "010000", "zckyguimrdyn", "argaju", "1110101101", "ysocosaygi", "204", "10011100000010", "nmaioozpmy"]; string [] param1 = ["abc", "9", "1111011010", "iz", "raj", "110101001", "arhxkyqh", "6986871066", "0", "wzfddkw"]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i], param1[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
COUNT_SET_BITS_IN_AN_INTEGER_2
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [1, 5, 2, 4, 2, 1, 2, 3, 2, 4]; int [] param0 = [32, 94, 33, 99, 17, 64, 80, 42, 12, 86]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
PRIMALITY_TEST_SET_5USING_LUCAS_LEHMER_SERIES
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ bool [] results = [false, true, true, false, true, false, false, false, false, false]; int [] param0 = [11, 7, 5, 4, 3, 14, 9, 2, 8, 12]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
CIRCLE_LATTICE_POINTS
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [12, 4, 12, 4, 4, 4, 4, 4, 4, 20]; int [] param0 = [34, 56, 90, 47, 36, 63, 21, 76, 18, 75]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
N_TH_NUMBER_WHOSE_SUM_OF_DIGITS_IS_TEN
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [406, 136, 613, 1054, 1126, 109, 1360, 433, 1054, 46]; int [] param0 = [37, 13, 51, 69, 76, 10, 97, 40, 69, 4]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
REMOVE_BRACKETS_ALGEBRAIC_STRING_CONTAINING_OPERATORS
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ string [] results = ["ggbsmvmzcmovd", "384292670", "10000100", "fdhme", "09198832", "0011111011", "snxwrs", "071", "01101", "xwmqxgba"]; string [] param0 = ["ggbsmvmzcmovd", "384292670", "10000100", "fdhme", "09198832", "0011111011", "snxwrs", "071", "01101", "xwmqxgba"]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
DICE_THROW_PROBLEM
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ long [] results = [50116, 77635844, 0, 0, 0, 0, 0, 1131, 0, 0]; int [] param0 = [94, 7, 20, 90, 50, 32, 46, 43, 43, 6]; int [] param1 = [4, 12, 44, 94, 58, 90, 25, 3, 82, 83]; int [] param2 = [69, 33, 24, 88, 27, 29, 6, 50, 70, 19]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i], param1[i], param2[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
PROGRAM_BINARY_DECIMAL_CONVERSION
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [14, 23, 9, 25, 8, 8, 9, 17, 17, 22]; int [] param0 = [70, 95, 41, 97, 8, 16, 41, 57, 81, 78]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
MAXIMUM_SUM_IARRI_AMONG_ROTATIONS_GIVEN_ARRAY_1
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [2249, 9152, 35, 34887, 586, 58, 11145, 14776, 297, 1359]; int [] [] param0 = [[6, 6, 13, 14, 16, 20, 24, 24, 24, 27, 28, 36, 49, 51, 55, 56, 62, 69, 74, 74, 76, 85, 86, 90, 92, 98], [-42, 96, 68, 64, 14, -74, 76, 42, 34, -92, -20, 28, -80, -34, -22, 96, -46, 96, 10, -82, 82, 50, -24, 48, 56, 72, -40, -86, 84, 66, -62, 50, -76, 34], [0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1], [37, 88, 70, 86, 24, 62, 34, 44, 37, 42, 46, 34, 23, 32, 55, 2, 5, 70, 30, 46, 40, 65, 91, 4, 7, 74, 46, 12, 30, 22, 1, 91, 89, 88, 97, 6, 6, 11, 33, 14, 68, 24], [-92, -90, -70, -70, -10, 2, 10, 12, 14, 40, 44, 46, 64, 68, 68, 96], [1, 0, 1, 0, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 1, 1, 1], [9, 15, 15, 17, 19, 20, 21, 23, 25, 25, 25, 32, 32, 33, 45, 51, 54, 59, 68, 71, 71, 71, 72, 75, 78, 80, 82, 82, 88, 89, 92, 93, 94, 97], [52, -78, -80, 32, -56, -98, -36, 86, 34, -36, 42, 46, 50, 0, 34, -46, -2, -18, -96, 12, -42, 62, 32, 78, 66, -8, 50, 60, 10, -18, 66, 80, -24, -98, 8, 48, 34, 44, -80, -34, 72, 0, -60, 52, 40, 20], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [45, 35, 25, 7, 24, 73, 25, 86, 48, 70, 47, 91, 96, 15, 39, 9]]; int [] param1 = [13, 27, 10, 39, 11, 15, 22, 45, 33, 8]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i], param1[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
BASIC_AND_EXTENDED_EUCLIDEAN_ALGORITHMS
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [1, 2, 4, 2, 1, 1, 1, 3, 2, 1]; int [] param0 = [46, 26, 40, 58, 25, 2, 8, 21, 82, 17]; int [] param1 = [89, 82, 12, 4, 44, 87, 65, 87, 10, 61]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i], param1[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
COUNT_SET_BITS_IN_AN_INTEGER_1
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [4, 5, 2, 4, 3, 2, 1, 3, 4, 2]; int [] param0 = [43, 94, 72, 86, 42, 33, 8, 74, 29, 34]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
CHECK_WHETHER_NUMBER_DUCK_NUMBER_NOT
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [0, 1, 8, 0, 2, 5, 0, 0, 1, 0]; string [] param0 = ["hllqwsphzcic", "080287724", "0000100000", " q", "4247040983", "00001011101", "lbnsnythmlbcf", "24", "110", "ie"]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
LCS_FORMED_CONSECUTIVE_SEGMENTS_LEAST_LENGTH_K
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [8, 2, 7, 5, 0, 5, 4, 3, 3, 0]; int [] param0 = [4, 2, 3, 5, 2, 3, 3, 1, 2, 2]; string [] param1 = ["aggayxysdfa", "55571659965107", "01011011100", "aggasdfa", "5710246551", "0100010", "aabcaaaa", "1219", "111000011", "wic od"]; string [] param2 = ["aggajxaaasdfa", "390286654154", "0000110001000", "aggajasdfaxy", "79032504084062", "10100000", "baaabcd", "3337119582", "011", "csiugouwe"]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i], param1[i], param2[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
FIND_SUM_UNIQUE_SUB_ARRAY_SUM_GIVEN_ARRAY
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [5631, 52, 0, 207596, -1638, 0, 27034, 1698, 0, 267019]; int [] [] param0 = [[7, 24, 34, 35, 36, 40, 49, 51, 53, 74, 78], [-34, 60, 32], [0], [80, 64, 10, 82, 14, 75, 51, 91, 1, 25, 98, 22, 36, 27, 21, 31, 93, 6, 52, 91, 80, 8, 62, 95, 10, 71, 40, 80, 35, 86, 85, 26, 74, 72, 64, 88, 4, 71, 4, 16], [-94, -46, -36, -24, -22, 0, 10, 14, 34, 34, 90, 92, 98], [1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 0, 1], [19, 20, 20, 24, 25, 33, 43, 47, 57, 61, 61, 64, 65, 71, 72, 73, 75, 82, 90, 93, 95], [-6, 56, 58, -36, 70, -92, 30, 58, -40, 98, 80, -96, -4, -88, 34, 76, 40, -32, -94, -26, 8, 72, -56, -96, -88, -24, 36, 14, -88, -32, 90, 4, -88, 28, 18], [0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [91, 51, 15, 78, 55, 3, 10, 24, 42, 84, 66, 78, 10, 41, 21, 53, 69, 57, 20, 22, 50, 72, 8, 80, 12, 91, 29, 95, 38, 74, 95, 26, 10, 57, 51, 25, 49, 74, 15, 42, 99, 21, 27]]; int [] param1 = [9, 2, 0, 31, 9, 21, 15, 24, 11, 36]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i], param1[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
COUNT_PAIRS_DIFFERENCE_EQUAL_K_1
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [1, 14, 1, 3, 4, 1, 0, 0, 0, 0]; int [] [] param0 = [[5, 5, 10, 19, 29, 32, 40, 60, 65, 70, 72, 89, 92], [-98, -90, -88, -82, -80, -78, -74, -74, -72, -62, -58, -58, -56, -52, -48, -46, -38, -38, -30, -12, -10, 4, 8, 8, 14, 22, 24, 26, 36, 40, 40, 48, 56, 58, 58, 58, 60, 62, 64, 68, 68, 74, 84], [0, 0, 1], [1, 7, 13, 14, 16, 29, 34, 42, 44, 49, 59, 62, 65, 66, 70, 71, 73, 73, 76, 80, 96, 96], [-98, -88, -58, -56, -48, -34, -22, -18, -14, -14, -8, -4, -2, 2, 18, 38, 42, 46, 54, 68, 70, 90, 94, 96, 98], [0, 1, 1], [11, 43, 50, 58, 60, 68, 75], [-80, -56, -10, 0, 6, 8, 24, 42, 52, 86, 88, 94], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [4, 7, 9, 9, 14, 34, 34, 36, 50, 54, 80, 81, 99]]; int [] param1 = [13, 43, 3, 22, 25, 3, 7, 12, 31, 13]; int [] param2 = [12, 36, 1, 16, 22, 1, 4, 9, 30, 8]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i], param1[i], param2[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
MINIMUM_STEPS_TO_DELETE_A_STRING_AFTER_REPEATED_DELETION_OF_PALINDROME_SUBSTRINGS
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [8, 7, 3, 7, 5, 2, 6, 7, 2, 2]; string [] param0 = ["yctlqthlwr", "47713514383248", "0100101001111", "xfdiyvn", "45499225407", "000100111001", "zouqhqwoap", "18579027952", "00000001111", "jd"]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
CHECK_GIVEN_SENTENCE_GIVEN_SET_SIMPLE_GRAMMER_RULES
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ bool [] results = [true, true, true, false, false, false, true, false, false, false]; char [] [] param0 = [['i', ' ', 'l', 'o', 'v', 'e', ' ', 'c', 'i', 'n', 'e', 'm', 'a', '.'], ['t', 'h', 'e', ' ', 'v', 'e', 'r', 't', 'e', 'x', ' ', 'i', 's', ' ', 's', '.'], ['i', ' ', 'a', 'm', ' ', 's', 'i', 'n', 'g', 'l', 'e', '.'], ['m', 'y', ' ', 'n', 'a', 'm', 'e', ' ', 'i', 's', ' ', 'k', 'g', '.'], ['i', ' ', 'l', 'o', 'v', 'e', ' ', 'c', 'i', 'n', 'e', 'm', 'a', '.'], ['g', 'e', 'e', 'k', 's', 'q', 'u', 'i', 'z', '.', ' ', 'i', 's', ' ', 'a', ' ', 'q', 'u', 'i', 'z', ' ', 's', 'i', 't', 'e', '.'], ['i', ' ', 'l', 'o', 'v', 'e', ' ', 'g', 'e', 'e', 'k', 's', 'q', 'u', 'i', 'z', ' ', 'a', 'n', 'd', ' ', 'g', 'e', 'e', 'k', 's', 'f', 'o', 'r', 'g', 'e', 'e', 'k', 's', '.'], [' ', ' ', 'y', 'o', 'u', ' ', 'a', 'r', 'e', ' ', 'm', 'y', ' ', 'f', 'r', 'i', 'e', 'n', 'd', '.'], ['i', ' ', 'l', 'o', 'v', 'e', ' ', 'c', 'i', 'n', 'e', 'm', 'a'], ['h', 'e', 'l', 'l', 'o', ' ', 'w', 'o', 'r', 'l', 'd', ' ', '!']]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
NON_REPEATING_ELEMENT
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [1, -96, -1, 19, -90, -1, 1, -84, -1, 2]; int [] [] param0 = [[1, 2, 3, 4, 6, 6, 7, 9, 10, 13, 16, 23, 30, 32, 36, 42, 42, 43, 44, 47, 48, 48, 49, 52, 52, 53, 55, 56, 58, 59, 60, 60, 63, 67, 68, 68, 74, 75, 76, 80, 81, 81, 83, 83, 86, 87, 91, 92, 97], [-96, -46, -86, 56, -72, 50, 18, 8, 50], [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [19, 10, 49, 40, 34, 21, 63, 51], [-96, -96, -90, -88, -88, -84, -80, -76, -68, -64, -64, -52, -52, -52, -52, -50, -50, -48, -48, -40, -32, -26, -24, -22, -20, -14, -12, 0, 6, 8, 10, 20, 24, 28, 34, 36, 54, 60, 60, 60, 68, 74, 74, 74, 84, 88, 94], [1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0], [1, 2, 3, 10, 15, 21, 28, 36, 41, 44, 45, 47, 72, 77, 77, 79, 85], [42, -84, 42, 36, -10, 24, -62, 60], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [2, 21, 42, 92, 65, 62, 75, 43, 81, 17, 92, 86, 37, 63, 27, 97, 24, 61, 85, 49, 84, 7, 14, 19, 60, 55, 68, 79, 8, 12, 75, 12, 92, 79, 42]]; int [] param1 = [47, 8, 14, 5, 27, 19, 15, 7, 35, 27]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i], param1[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
HOW_CAN_WE_SUM_THE_DIGITS_OF_A_GIVEN_NUMBER_IN_SINGLE_STATEMENT
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [12, 3, 2, 10, 16, 8, 8, 13, 4, 10]; int [] param0 = [57, 21, 11, 64, 88, 62, 17, 49, 22, 19]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
SUM_MANHATTAN_DISTANCES_PAIRS_POINTS
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [35930, 35216, 4, 19322, 42084, 4, 2776, 28932, 188, 0]; int [] [] param0 = [[2, 4, 6, 6, 8, 11, 12, 13, 14, 19, 20, 22, 24, 28, 29, 30, 32, 35, 37, 44, 48, 49, 51, 51, 56, 59, 59, 62, 65, 68, 68, 68, 72, 75, 77, 78, 89, 89, 91, 93, 95, 99], [16, 76, 2, 42, -24, -82, 68, -2, 98, -42, -72, 28, -22, -52, 28, -38, 36, 66, 84, 64, -28, 86, 52, 84, -98, -30], [0, 0, 0, 0, 0, 1, 1, 1, 1, 1], [61, 37, 57, 99, 22, 72, 38, 85, 23, 85, 15, 4, 49, 9, 15, 25, 7, 63, 79, 6, 85, 30, 12, 34, 38, 6, 59, 62, 59, 34, 72, 97, 70, 44, 95, 58, 99], [-96, -86, -82, -72, -72, -64, -62, -60, -56, -56, -56, -54, -52, -40, -36, -30, -10, 10, 18, 26, 28, 56, 56, 56, 64, 90, 92, 94], [1, 0, 1, 1, 1, 0, 1], [6, 10, 24, 25, 31, 41, 43, 45, 47, 65, 67, 90], [-74, 92, 34, 56, -54, -98, -76, -34, 16, 32, -4, -16, 22, 90, -52, -90, -60, 70, -40, 78, 96, -68, 78, -56, -94], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [20, 32]]; int [] [] param1 = [[6, 19, 19, 22, 25, 27, 31, 33, 34, 35, 37, 38, 38, 44, 46, 50, 51, 55, 58, 58, 64, 64, 64, 64, 65, 66, 66, 66, 67, 70, 75, 78, 79, 81, 81, 81, 82, 84, 84, 86, 94, 96], [-34, 92, -24, -62, 28, 72, -10, 10, 8, 90, -72, -24, 50, -46, 52, 58, 68, -62, -64, -78, -12, 24, 62, -30, 62, -60], [0, 0, 0, 0, 1, 1, 1, 1, 1, 1], [72, 41, 77, 62, 78, 36, 75, 28, 91, 39, 32, 56, 60, 64, 21, 15, 80, 85, 28, 22, 53, 58, 69, 62, 60, 48, 66, 91, 38, 66, 54, 5, 24, 1, 49, 71, 49], [-98, -98, -96, -96, -82, -80, -80, -68, -62, -60, -46, -38, -26, -26, -20, -18, 16, 22, 24, 26, 34, 46, 52, 52, 74, 76, 90, 92], [1, 0, 1, 0, 0, 1, 1], [4, 7, 11, 19, 21, 39, 57, 80, 84, 93, 94, 97], [14, 20, 24, -92, 58, 12, 78, 78, -90, 96, -44, 36, 30, -46, -30, -80, 26, -2, 26, 28, -16, -50, -2, -36, -8], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [23, 50]]; int [] param2 = [37, 24, 5, 26, 26, 3, 10, 21, 23, 1]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i], param1[i], param2[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
BINARY_REPRESENTATION_OF_NEXT_NUMBER
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ string [] results = ["1000", "48710000000000", "0010", "10000000000", "8410000000", "10", "10000000000", "100000000", "001110", "1000000000"]; string [] param0 = ["dxh", "48703586411816", "0001", "ywg wvjnks", "8408568459", "01", "dfecz cwtn", "37742236", "001101", "ldxerlmyn"]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
MIDDLE_OF_THREE_USING_MINIMUM_COMPARISONS_1
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [24, 66, 40, 10, 56, 50, 62, 16, 41, 63]; int [] param0 = [43, 76, 57, 10, 59, 92, 49, 16, 33, 66]; int [] param1 = [24, 54, 5, 13, 47, 14, 62, 95, 41, 63]; int [] param2 = [7, 66, 40, 4, 56, 50, 65, 12, 90, 46]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i], param1[i], param2[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
COUNT_PAIRS_WHOSE_PRODUCTS_EXIST_IN_ARRAY_1
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [0, 0, 36, 0, 2, 861, 9, 0, 66, 0]; int [] [] param0 = [[7, 10, 17, 17, 18, 20, 27, 28, 29, 29, 31, 32, 41, 43, 45, 46, 63, 66, 69, 69, 70, 75, 87, 95], [-60], [0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [52, 83, 36, 57, 93, 11, 32, 91, 52], [-98, -94, -90, -88, -76, -76, -64, -62, -60, -50, -46, -32, -24, -22, -20, -16, -4, -2, 6, 10, 20, 28, 30, 32, 34, 38, 40, 42, 54, 64, 72, 76, 82, 82, 86, 92, 92, 98, 98], [0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0], [2, 3, 10, 12, 15, 23, 26, 28, 29, 30, 31, 31, 33, 33, 35, 41, 45, 48, 50, 50, 53, 53, 56, 65, 66, 67, 68, 68, 72, 72, 75, 76, 79, 82, 90, 94, 94, 95, 97, 99], [14, 36, -54, -54], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1], [5, 69, 37, 80, 21, 98, 70, 70, 74, 95, 6, 67, 44, 55, 52, 89, 84, 99, 65, 52]]; int [] param1 = [17, 0, 9, 8, 22, 42, 35, 3, 12, 12]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i], param1[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
CHECK_IF_ALL_THE_ELEMENTS_CAN_BE_MADE_OF_SAME_PARITY_BY_INVERTING_ADJACENT_ELEMENTS
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ bool [] results = [true, true, false, true, true, true, true, true, true, true]; int [] [] param0 = [[1, 1, 1, 7, 7, 8, 10, 10, 10, 14, 15, 18, 20, 23, 24, 24, 26, 30, 32, 32, 33, 36, 42, 43, 46, 48, 51, 51, 52, 53, 58, 58, 59, 59, 59, 60, 67, 71, 72, 74, 76, 77, 83, 84, 86, 90, 91], [-90, -20, -60, -64, -24, 84, -2, -32, 28, -54, 44, -96, 52, 88, 20, -56, -2], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [98, 70, 24, 18, 7, 4, 78, 19, 70, 56, 99, 54, 69, 15, 88, 20, 40, 13, 19, 56, 62], [-72, -66, -58, -20, 36, 80, 92], [0, 1], [6, 13, 14, 16, 21, 26, 26, 28, 29, 35, 38, 42, 47, 47, 62, 67, 77, 81, 81, 83, 84, 88, 90, 96, 97, 98], [-48, -8, 20, 32, -90, -42, -6, -88, -72, 42, 66, -62, 82, -4, 8, 12, -22, 82, 56, 96, -54, 92, -42, 30, -18, 14, -6, -66, 34, 16, -84, -94, 48, -48, 52, -60, -92, -16], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1], [45, 86, 53, 80, 27, 45, 1, 85, 91, 93, 92, 43, 75, 86, 81, 48, 21, 34, 5, 10, 88, 42, 7, 15, 96, 85, 62, 86, 52, 37]]; int [] param1 = [30, 12, 36, 19, 6, 1, 17, 35, 14, 29]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i], param1[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
HYPERCUBE_GRAPH
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [536870912, 268435456, 33554432, 4194304, 524288, 65536, 8192, 1024, 128, 16]; int [] param0 = [29, 28, 25, 22, 19, 16, 13, 10, 7, 4]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
NUMBER_UNIQUE_RECTANGLES_FORMED_USING_N_UNIT_SQUARES
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [66, 104, 83, 28, 151, 76, 128, 144, 135, 127]; int [] param0 = [34, 49, 41, 17, 67, 38, 59, 64, 61, 58]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
K_TH_DISTINCT_OR_NON_REPEATING_ELEMENT_IN_AN_ARRAY
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [89, -32, -1, -1, 44, -1, -1, -1, -1, 65]; int [] [] param0 = [[2, 3, 8, 18, 20, 33, 53, 56, 60, 71, 76, 80, 81, 87, 88, 89, 92, 95], [-78, 6, 32, 52, -12, -32, 22, -40, -82, 24, 30, 10, -40], [0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1], [3, 28, 55, 21, 42, 60, 96, 83, 98, 75, 29, 73, 51, 21, 27, 65, 19, 47, 12, 81, 19, 94, 50, 43, 21, 32, 52, 44, 52, 91, 49, 59, 52, 10, 75, 86, 46, 43, 3, 49, 70, 60, 77, 99, 27, 63], [-96, -90, -76, -44, -16, -8, 0, 0, 2, 2, 8, 14, 16, 18, 18, 20, 20, 28, 34, 44, 68, 74, 84, 90], [0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0], [3, 4, 5, 8, 9, 15, 26, 26, 26, 35, 39, 40, 42, 43, 45, 45, 48, 52, 54, 56, 57, 67, 74, 77, 79, 80, 81, 86, 87, 92, 95, 97], [-76, -24, -12, 66, -40, 26, 72, 46, -56, 58, -68, 2, -82], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [29, 83, 32, 75, 5, 22, 68, 64, 36, 18, 7, 63, 16, 42, 77, 61, 1, 26, 12, 41, 67, 85, 85, 35, 94, 18, 14, 65, 8, 55, 44, 34, 48, 23, 8, 27, 86, 2, 51, 91]]; int [] param1 = [16, 8, 7, 40, 23, 10, 26, 6, 27, 28]; int [] param2 = [16, 6, 5, 39, 12, 8, 24, 10, 17, 24]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i], param1[i], param2[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
FIND_INDEX_GIVEN_FIBONACCI_NUMBER_CONSTANT_TIME_1
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [8, 11, 9, 8, 11, 11, 10, 10, 8, 4]; int [] param0 = [20, 95, 39, 21, 94, 79, 56, 62, 23, 3]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
COUNT_WAYS_DIVIDE_CIRCLE_USING_N_NON_INTERSECTING_CHORDS
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [477638700, 129644790, 2674440, 58786, 1430, 42, 2]; int [] param0 = [18, 17, 14, 11, 8, 5, 2]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
DYNAMIC_PROGRAMMING_SET_28_MINIMUM_INSERTIONS_TO_FORM_A_PALINDROME
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [0, 3, 0, 3, 0, 1, 2, 4, 0, 1]; char [] [] param0 = [['f', 'f', 'j', 'k', 'k', 'l', 'p', 's', 't', 'v', 'w', 'y', 'b', 'd', 'j', 'l', 't', 'u', 'x', 'y'], ['0', '1', '8', '8', '8', '4', '4', '3', '9', '6', '5', '2', '8', '2', '0', '2', '6', '0', '7', '7', '3', '2', '4', '5', '9', '7', '2', '4', '1', '8', '7', '9', '8', '0', '8', '5', '4', '2', '3'], ['1'], ['g', 'y', 'r', 'm', 'v', 'z', ' ', 'k', 's', 'p', 'x', 'p', 'e', 'z', 't', 'k', 'k', 'b', 's', 'p', 'p', 'e', 'g', 't', 'r', 'm', 'p', ' ', 'h', 'a'], ['0', '1', '1', '1', '1', '1', '1', '2', '2', '2', '2', '3', '3', '3', '3', '3', '4', '4', '4', '5', '5', '5', '5', '5', '6', '6', '6', '6', '6', '6', '6', '7', '8', '8', '8', '9', '9'], ['1', '1', '0', '1', '0', '1', '0', '1', '0', '1', '1', '1', '1', '1', '1', '0'], [' ', ' ', ' ', 'b', 'c', 'c', 'd', 'i', 'k', 'o', 'p', 'r', 't', 'v', 'w', 'a', 'b', 'd', 'j', 'y'], ['5', '0', '8', '6', '9', '3', '0', '3', '2', '0', '6', '2', '3', '7', '8', '9', '2', '0', '1', '9', '4', '1', '3', '1', '9', '2', '3', '4', '1', '2', '3', '8', '1'], ['0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1'], ['x', 'b', 'e', 'v', 'k', 't', 'k', 'k', 'q', 's', 'v', 'n', 'l', 'k', 't', 'n', 'j', 'z', 'f', 'p', 'j', 'g', 's', 'p', 'm', 'b', 'h', 'l', 'v', 'e', 'a', 'n', 'd', 'u', 'c', 's', 'm', 'q', 'p', 'g', 'g', ' ']]; int [] param1 = [11, 19, 0, 24, 33, 8, 14, 25, 35, 26]; int [] param2 = [11, 22, 0, 27, 34, 13, 16, 31, 37, 27]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i], param1[i], param2[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
N_TH_NUMBER_WHOSE_SUM_OF_DIGITS_IS_TEN_2
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [631, 649, 640, 856, 910, 415, 838, 82, 766, 478]; int [] param0 = [68, 70, 69, 93, 99, 44, 91, 8, 83, 51]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
MAXIMUM_AREA_RECTANGLE_PICKING_FOUR_SIDES_ARRAY
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [4845, 0, 1, 1632, 5412, 1, 5525, 1248, 1, 4794]; int [] [] param0 = [[99, 96, 95, 95, 92, 84, 83, 82, 81, 74, 72, 68, 67, 52, 51, 51, 49, 47, 44, 40, 36, 25, 24, 17, 16, 14, 12, 11, 9, 8, 6, 5, 1], [-32, -54, -82, -92], [1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [99, 96, 96, 94, 68, 65, 62, 60, 45, 44, 30, 26, 17, 17, 16, 15, 2], [98, 94, 82, 82, 74, 66, 66, 56, 54, 46, 16, -28, -34, -42, -50, -52, -78, -82, -88], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [97, 96, 93, 87, 85, 85, 75, 68, 65, 65, 64, 63, 62, 58, 56, 52, 49, 44, 43, 38, 33, 30, 29, 28, 27, 25, 24, 23, 14, 14, 13, 10, 8, 8, 8, 6, 1], [78, 78, 76, 70, 60, 54, 50, 32, 16, 16, 6, -6, -20, -56, -64, -68, -70, -90, -90, -92], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [94, 94, 94, 90, 84, 82, 75, 71, 57, 55, 53, 51, 51, 43, 35, 31, 30, 29, 22, 18, 14, 10, 7, 5, 4]]; int [] param1 = [33, 4, 18, 17, 19, 26, 37, 20, 34, 25]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i], param1[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
CALCULATE_AREA_TETRAHEDRON
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ double [] results = [22994.17, 20696.54, 5052.87, 114350.83, 258.92, 10739.18, 7542.47, 91769.26, 40.42, 258.92]; int [] param0 = [58, 56, 35, 99, 13, 45, 40, 92, 7, 13]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
SEARCH_INSERT_AND_DELETE_IN_A_SORTED_ARRAY_1
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [0, 7, 13, 21, 30, 12, 13, 38, 3, 24]; int [] [] param0 = [[69], [-34, -38, -72, 90, -84, -40, 6, -52, -12, 80, -4, -58], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1], [96, 34, 11, 1, 36, 79, 64, 75, 75, 96, 32, 18, 25, 79, 63, 80, 90, 75, 44, 71, 48, 1, 62, 53, 17, 98], [-98, -92, -92, -84, -82, -80, -80, -74, -70, -60, -48, -42, -36, -34, -34, -34, -30, -28, -16, -6, -2, -2, 2, 12, 14, 20, 24, 40, 46, 50, 60, 66, 70, 72, 78, 82, 88, 92, 94, 94, 96], [1, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0], [10, 12, 12, 13, 19, 20, 21, 24, 27, 37, 47, 50, 54, 58, 61, 63, 63, 68, 73, 75, 87, 90, 90, 92, 92], [-74, 62, 74, 92, -38, -28, -26, 4, 88, -68, -76, -20, -4, 12, 72, 6, 42, 36, 88, -96, -80, 90, 80, -26, -36, -72, -62, 38, -20, 40, -10, -22, -20, 38, 82, -84, 8, 26, 86, -26, 44, -72, -70, -16, -22, 18, -16, 76, -50], [1, 1, 1, 1, 1], [64, 80, 47, 58, 41, 3, 85, 96, 51, 4, 22, 89, 67, 54, 88, 15, 83, 31, 19, 24, 28, 40, 67, 37, 63, 38, 27, 14, 7, 68]]; int [] param1 = [0, 6, 13, 21, 30, 12, 12, 37, 3, 23]; int [] param2 = [0, 6, 19, 20, 32, 9, 13, 26, 4, 24]; int [] param3 = [0, 9, 11, 13, 28, 10, 21, 42, 2, 25]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i], param1[i], param2[i], param3[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
MINIMUM_FLIP_REQUIRED_MAKE_BINARY_MATRIX_SYMMETRIC_1
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [27, 15, 340, 21, 55, 46, 230, 0, 340, 432]; int [] [] [] param0 = [[[16, 16, 47, 49, 50, 64, 70, 83, 88], [11, 12, 24, 32, 36, 39, 48, 58, 62], [29, 31, 35, 49, 71, 78, 82, 92, 96], [6, 21, 46, 53, 83, 88, 94, 94, 97], [29, 36, 41, 52, 83, 89, 89, 90, 90], [3, 11, 35, 45, 47, 79, 81, 85, 96], [31, 43, 62, 62, 62, 65, 66, 68, 81], [8, 9, 10, 26, 36, 43, 58, 70, 95], [2, 8, 24, 31, 42, 43, 58, 90, 94]], [[20, 8, -42, -16, 58, 58, 80], [-28, -20, 54, 94, 62, 22, -86], [-26, 86, 48, -28, 10, 90, -40], [68, 76, 16, -50, -58, 18, -86], [40, -52, 8, -14, -8, 54, 78], [82, 92, 2, 54, 62, 80, 14], [-56, -90, 74, -16, -92, 76, 32]], [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [0, 0, 0,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 1, 1, 1, 1, 1, 1, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]], [[66, 95, 76, 26, 11, 80, 1, 59, 16], [79, 5, 47, 12, 55, 11, 49, 12, 84], [77, 16, 8, 92, 95, 71, 16, 71, 44], [14, 17, 30, 80, 42, 42, 35, 62, 87], [47, 75, 69, 34, 25, 54, 87, 49, 62], [9, 20, 35, 98, 95, 57, 51, 64, 72], [66, 38, 22, 59, 82, 49, 40, 46, 64], [31, 15, 63, 84, 6, 18, 93, 36, 62], [96, 13, 34, 87, 16, 6, 91, 65, 13]], [[-94, -68, -54, -36, -32, -28, -10, 10, 30, 38, 58, 66, 78, 90], [-98, -62, -44, -38, -36, -34, -34, -26, 28, 30, 34, 64, 90, 98], [-90, -88, -84, -62, -54, -24, 4, 6, 30, 32, 40, 50, 56, 68], [-98, -80, -74, -48, -18, -14, -10, 10, 24, 42, 54, 54, 74, 96], [-84, -68, -52, -32, -16, -8, -4, 6, 44, 48, 50, 78, 80, 84], [-96, -84, -78, -42, -38, -36, -16, -14, 2, 14, 16, 24, 28, 40], [-94, -92, -86, -84, -62, -58, -52, -46, -22, -12, 16, 32, 62, 68], [-92, -72, -68, -62, -50, -50, -38, -12, 22, 40, 40, 42, 48, 70], [-90, -72, -42, -28, 16, 22, 26, 36, 42, 50, 68, 82, 90, 94], [-86, -78, -66, -60, -46, -30, -26, -20, -14, 54, 60, 66, 76, 84], [-98, -96, -76, -64, -30, -16, -4, 14, 22, 28, 48, 64, 74, 96], [-88, -68, -58, -50, -28, -16, -8, 2, 18, 20, 28, 58, 60, 82], [-94, -82, -70, 14, 14, 24, 30, 36, 48, 50, 50, 76, 78, 96], [-88, -74, -12, 6, 10, 18, 28, 46, 56, 58, 84, 90, 90, 96]], [[1, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 1], [0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 1, 0], [0, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1, 1], [0, 0, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 1], [1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1], [0, 0, 1, 1, 1, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 0, 0], [1, 1, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0], [0, 1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0, 1, 0], [0, 0, 1, 1, 1, 0, 1, 1, 0, 0, 0, 0, 1,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 97, 98], [3, 4, 4, 6, 10, 13, 13, 13, 16, 18, 24, 25, 26, 27, 28, 31, 32, 34, 35, 38, 45, 50, 52, 53, 55, 57, 57, 58, 62, 64, 65, 70, 71, 72, 75, 77, 82, 86, 86, 92, 93, 94, 98, 99], [2, 4, 5, 8, 10, 10, 13, 14, 15, 18, 19, 21, 21, 21, 24, 24, 28, 30, 30, 31, 36, 37, 38, 48, 48, 52, 53, 58, 59, 60, 61, 67, 75, 77, 77, 78, 80, 81, 86, 87, 89, 89, 96, 96], [2, 4, 8, 16, 20, 20, 24, 26, 27, 28, 29, 36, 37, 43, 43, 43, 44, 45, 46, 46, 47, 48, 49, 50, 51, 52, 56, 59, 59, 62, 70, 71, 71, 72, 73, 79, 79, 86, 86, 89, 91, 91, 91, 97], [1, 1, 2, 5, 6, 10, 17, 21, 22, 23, 23, 28, 31, 34, 36, 38, 41, 42, 43, 44, 52, 53, 54, 56, 56, 58, 59, 62, 64, 67, 67, 68, 70, 71, 77, 81, 82, 83, 83, 85, 88, 89, 90, 98], [1, 1, 2, 3, 3, 4, 6, 6, 7, 10, 11, 12, 13, 14, 15, 15, 19, 21, 25, 27, 42, 45, 46, 50, 51, 51, 52, 55, 60, 60, 67, 70, 71, 71, 77, 78, 81, 85, 86, 86, 87, 90, 95, 99], [2, 4, 7, 9, 9, 11, 15, 17, 19, 22, 27, 27, 30, 32, 34, 35, 35, 36, 41, 42, 46, 46, 48, 54, 55, 56, 59, 61, 61, 65, 66, 67, 70, 73, 80, 81, 85, 89, 90, 91, 92, 96, 96, 97], [7, 8, 12, 14, 17, 19, 21, 24, 27, 28, 34, 36, 38, 48, 54, 57, 59, 59, 62, 66, 66, 67, 70, 71, 71, 71, 72, 73, 74, 74, 76, 76, 78, 79, 80, 80, 83, 88, 88, 90, 92, 95, 96, 98], [3, 3, 8, 10, 10, 15, 16, 20, 25, 25, 25, 29, 34, 36, 42, 50, 52, 54, 56, 58, 59, 63, 64, 65, 71, 73, 73, 74, 75, 75, 76, 76, 78, 80, 82, 86, 86, 87, 87, 92, 94, 94, 96, 99], [7, 9, 12, 15, 24, 24, 25, 26, 27, 28, 32, 37, 38, 43, 44, 46, 50, 50, 52, 52, 55, 56, 56, 56, 58, 58, 59, 62, 64, 65, 68, 72, 72, 80, 85, 85, 86, 90, 91, 92, 98, 98, 98, 99], [2, 7, 9, 18, 28, 29, 31, 32, 32, 38, 39, 39, 41, 41, 45, 48, 49, 49, 49, 50, 50, 58, 58, 62, 62, 63, 68, 69, 69, 71, 72, 74, 74, 75, 77, 78, 79, 81, 82, 82, 83, 83, 95, 98], [3, 5, 6, 6, 7, 10, 10, 13, 15, 17, 22, 23, 25, 25, 25, 25, 27, 29, 35, 37, 38, 46, 47, 50, 50, 51, 53, 56, 56, 59, 71, 71, 72, 74, 77, 79, 80, 83, 84, 90, 90, 92, 95, 98], [1, 9, 19, 20, 22, 22, 22, 23, 24, 28, 32, 32, 32, 36, 36, 37, 37, 39, 45, 50, 53, 56, 58, 58, 60, 64, 66, 68, 68, 69, 72, 73, 73, 73, 75, 75, 79, 80, 80, 82, 86, 87, 91, 99], [5, 9, 12, 13, 14, 18, 23, 25, 25, 28, 29, 32, 33, 34, 39, 41, 46, 49, 50, 52, 55, 55, 56, 59, 61, 63, 65, 65, 67, 69, 69, 74, 75, 78, 80, 81, 85, 85, 86, 88, 88, 92, 96, 98], [4, 4, 9, 11, 12, 20, 23, 23, 24, 27, 33, 35, 37, 40, 41, 43, 44, 45, 45, 49, 50, 51, 54, 54, 56, 58, 63, 65, 71, 71, 72, 73, 75, 76, 76, 78, 81, 84, 86, 88, 90, 90, 96, 99], [1, 2, 8, 9, 10, 15, 17, 18, 18, 19, 20, 21, 21, 21, 26, 27, 29, 32, 33, 34, 34, 39, 44, 47, 55, 56, 58, 60, 62, 64, 65, 70, 70, 72, 74, 74, 75, 76, 79, 81, 84, 86, 90, 93], [2, 2, 6, 8, 9, 13, 15, 16, 16, 17, 18, 20, 24, 28, 33, 34, 36, 39, 40, 44, 46, 48, 50, 53, 53, 54, 61, 67, 69, 71, 72, 75, 76, 78, 83, 87, 88, 91, 93, 94, 94, 96, 97, 98], [2, 6, 9, 10, 12, 13, 14, 15, 16, 17, 21, 22, 29, 29, 31, 31, 34, 38, 38, 39, 40, 43, 44, 46, 48, 50, 52, 52, 57, 62, 65, 66, 68, 69, 69, 73, 74, 77, 79, 80, 83, 84, 87, 95], [7, 7, 13, 14, 19, 22, 24, 24, 25, 30, 30, 32, 39, 41, 43, 48, 49, 50, 50, 52, 53, 54, 58, 61, 62, 65, 65, 66, 66, 67, 69, 70, 73, 73, 75, 77, 88, 89, 92, 92, 96, 96, 97, 98], [1, 3, 3, 4, 12, 14, 27, 32, 32, 33, 33, 37, 42, 42, 42, 43, 47, 49, 53, 55, 56, 57, 59, 60, 61, 61, 61, 65, 66, 66, 67, 71, 72, 73, 78, 79, 80, 82, 87, 89, 92, 94, 95, 96], [5, 6, 6, 11, 11, 13, 18, 18, 19, 21, 25, 28, 31, 37, 40, 40, 43, 45, 51, 53, 53, 58, 63, 64, 67, 68, 73, 75, 75, 77, 82, 84, 84, 86, 88, 91, 92, 94, 94, 96, 97, 97, 98, 99], [1, 2, 3, 7, 8, 8, 8, 17, 23, 23, 24, 31, 33, 33, 36, 37, 38, 38, 43, 44, 47, 47, 47, 49, 52, 55, 56, 56, 59, 68, 71, 72, 72, 75, 79, 79, 80, 82, 83, 92, 93, 97, 97, 98], [1, 2, 6, 6, 11, 13, 15, 15, 17, 20, 20, 24, 27, 27, 28, 30, 30, 33, 36, 37, 38, 40, 40, 40, 40, 42, 46, 51, 58, 60, 64, 65, 67, 71, 72, 75, 78, 82, 85, 87, 89, 97, 98, 98], [1, 2, 3, 5, 7, 7, 7, 16, 16, 18, 20, 20, 23, 23, 32, 32, 33, 33, 34, 38, 39, 41, 42, 43, 45, 47, 47, 50, 50, 53, 53, 56, 59, 60, 61, 64, 72, 79, 79, 84, 85, 89, 94, 98], [2, 9, 11, 11, 14, 25, 26, 27, 29, 31, 32, 34, 35, 38, 38, 38, 40, 46, 47, 47, 48, 49, 51, 55, 58, 63, 63, 66, 67, 67, 68, 69, 70, 77, 80, 81, 83, 85, 89, 90, 92, 95, 97, 98], [1, 2, 5, 8, 8, 9, 12, 12, 17, 19, 20, 28, 29, 35, 38, 38, 38, 41, 43, 45, 48, 51, 56, 62, 68, 69, 70, 73, 74, 74, 77, 79, 81, 83, 84, 87, 88, 89, 92, 93, 93, 97, 98, 99], [2, 3, 4, 5, 6, 6, 10, 11, 11, 13, 14, 14, 18, 18, 19, 20, 26, 30, 31, 32, 32, 34, 34, 35, 38, 42, 43, 44, 48, 53, 55, 56, 59, 59, 65, 72, 78, 84, 85, 88, 90, 97, 97, 98], [1, 9, 10, 15, 17, 17, 18, 18, 20, 24, 25, 26, 30, 31, 33, 35, 36, 42, 43, 43, 44, 46, 46, 48, 49, 49, 49, 49, 51, 51, 52, 59, 62, 64, 65, 71, 72, 74, 79, 79, 89, 90, 94, 97], [1, 2, 10, 11, 15, 18, 18, 19, 21, 22, 25, 28, 28, 30, 37, 38, 40, 41, 46, 46, 49, 51, 52, 53, 53, 56, 64, 69, 69, 72, 72, 74, 77, 77, 77, 78, 78, 84, 85, 96, 97, 98, 98, 99], [1, 6, 6, 6, 7, 7, 10, 11, 16, 17, 18, 18, 27, 27, 33, 33, 35, 38, 41, 46, 47, 53, 54, 54, 56, 62, 63, 63, 66, 67, 67, 77, 77, 78, 79, 83, 88, 88, 89, 92, 95, 95, 96, 99], [3, 4, 6, 8, 8, 8, 10, 12, 15, 17, 19, 19, 22, 22, 25, 28, 28, 29, 34, 34, 39, 41, 42, 43, 46, 46, 46, 53, 53, 54, 56, 56, 56, 63, 64, 68, 70, 75, 82, 84, 85, 94, 95, 96], [3, 4, 4, 5, 8, 9, 17, 21, 23, 25, 31, 32, 35, 38, 38, 39, 39, 43, 49, 54, 56, 61, 61, 64, 64, 65, 65, 65, 69, 70, 70, 70, 71, 72, 74, 74, 77, 78, 78, 80, 84, 90, 96, 99], [1, 3, 6, 12, 13, 13, 13, 20, 21, 21, 24, 29, 33, 33, 38, 40, 42, 42, 45, 46, 47, 49, 55, 57, 58, 60, 60, 62, 63, 63, 67, 68, 69, 70, 72, 72, 74, 75, 75, 77, 77, 88, 95, 99], [3, 4, 4, 8, 9, 9, 9, 11, 12, 12, 15, 16, 17, 18, 20, 21, 22, 22, 25, 28, 29, 33, 34, 35, 36, 43, 46, 57, 58, 59, 63, 68, 69, 72, 76, 78, 83, 89, 90, 91, 93, 96, 97, 99], [1, 9, 11, 12, 13, 15, 19, 26, 27, 32, 34, 42, 42, 44, 48, 54, 54, 56, 57, 58, 60, 64, 76, 80, 81, 82, 82, 82, 83, 84, 85, 85, 85, 86, 87, 92, 94, 95, 96, 97, 97, 97, 98, 98], [5, 7, 16, 20, 21, 22, 27, 29, 30, 31, 32, 33, 36, 37, 38, 44, 47, 47, 50, 53, 54, 56, 58, 60, 60, 61, 62, 63, 63, 64, 64, 68, 69, 77, 81, 81, 82, 82, 84, 86, 87, 90, 92, 96], [3, 3, 6, 6, 8, 8, 9, 13, 20, 21, 27, 27, 29, 32, 34, 40, 43, 47, 49, 49, 50, 53, 54, 54, 57, 61, 63, 65, 66, 71, 72, 72, 73, 73, 74, 75, 75, 75, 79, 82, 85, 90, 92, 94], [2, 3, 5, 5, 9, 9, 14, 17, 20, 21, 23, 27, 29, 31, 33, 36, 38, 42, 43, 45, 45, 46, 47, 47, 48, 53, 54, 55, 56, 58, 60, 64, 67, 67, 69, 77, 77, 84, 87, 92, 92, 93, 94, 98], [4, 9, 10, 12, 13, 15, 16, 20, 24, 25, 26, 27, 31, 34, 38, 38, 40, 41, 43, 44, 46, 46, 47, 47, 48, 57, 64, 74, 77, 78, 79, 82, 82, 85, 87, 87, 88, 89, 91, 92, 94, 96, 97, 99], [2, 2, 4, 8, 10, 12, 13, 20, 21, 21, 29, 32, 34, 40, 40, 40, 43, 45, 46, 47, 47, 48, 49, 51, 57, 67, 68, 68, 70, 72, 76, 76, 77, 78, 79, 81, 84, 88, 89, 91, 94, 95, 97, 98], [3, 4, 4, 6, 8, 8, 9, 11, 14, 14, 15, 16, 16, 22, 22, 23, 25, 30, 30, 33, 33, 35, 36, 37, 40, 40, 42, 42, 44, 52, 55, 56, 56, 58, 60, 64, 64, 66, 67, 69, 80, 81, 81, 91], [7, 10, 10, 11, 13, 13, 13, 15, 23, 25, 27, 28, 28, 30, 34, 35, 37, 38, 39, 44, 45, 46, 49, 50, 53, 53, 56, 60, 60, 64, 64, 65, 66, 68, 68, 70, 77, 78, 79, 80, 81, 85, 92, 95], [1, 3, 7, 7, 9, 11, 12, 19, 19, 20, 22, 22, 25, 26, 34, 38, 43, 45, 47, 49, 50, 54, 55, 55, 57, 60, 62, 62, 64, 69, 70, 72, 72, 76, 77, 79, 83, 89, 93, 94, 95, 98, 99, 99]], [[-6]], [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 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90, 89, 94, 69, 71, 43, 83, 23, 30, 15, 52, 78, 42, 34, 65, 45, 35, 9, 48, 4, 6, 1, 40, 13], [58, 15, 43, 30, 58, 15, 58, 90, 96, 92, 80, 66, 14, 16, 79, 49, 91, 19, 1, 64, 21, 27, 41, 48, 21, 21, 21, 26, 70, 97, 63, 35, 92, 96, 61, 3, 86, 47], [92, 91, 51, 18, 77, 83, 67, 81, 77, 78, 53, 40, 53, 35, 43, 16, 39, 69, 10, 38, 19, 3, 33, 94, 60, 84, 95, 76, 23, 52, 72, 67, 14, 61, 26, 52, 81, 62], [27, 60, 67, 50, 57, 97, 65, 22, 57, 91, 71, 61, 5, 56, 59, 55, 67, 23, 89, 88, 61, 21, 70, 69, 63, 59, 36, 29, 63, 60, 82, 33, 60, 83, 24, 22, 69, 96], [89, 59, 51, 55, 68, 44, 41, 11, 19, 44, 14, 47, 14, 3, 23, 84, 76, 95, 19, 69, 67, 62, 42, 69, 43, 18, 93, 93, 6, 18, 16, 37, 28, 46, 53, 82, 5, 64], [73, 22, 7, 71, 4, 28, 4, 43, 3, 28, 82, 66, 45, 52, 59, 66, 80, 50, 84, 82, 22, 52, 98, 13, 48, 33, 58, 15, 44, 79, 91, 80, 30, 67, 72, 23, 14, 1], [70, 78, 31, 58, 42, 81, 50, 88, 23, 99, 7, 59, 1, 63, 60, 8, 69, 81, 19, 96, 61, 16, 37, 47, 69, 83, 70, 77, 72, 45, 41, 34, 78, 71, 71, 6, 94, 53], [38, 46, 91, 77, 24, 94, 98, 68, 4, 23, 30, 65, 12, 71, 20, 21, 84, 39, 83, 98, 79, 72, 76, 71, 99, 73, 27, 47, 55, 43, 4, 10, 38, 93, 14, 65, 18, 98], [66, 76, 94, 19, 66, 43, 17, 53, 69, 25, 48, 29, 70, 65, 90, 93, 6, 85, 21, 33, 12, 90, 66, 32, 14, 88, 13, 6, 12, 5, 57, 75, 87, 44, 72, 45, 66, 48], [66, 44, 52, 38, 99, 65, 41, 88, 18, 93, 96, 39, 45, 19, 35, 53, 68, 76, 14, 6, 74, 30, 18, 28, 39, 67, 20, 48, 9, 77, 25, 45, 72, 48, 36, 24, 36, 16], [14, 90, 11, 65, 5, 97, 61, 91, 5, 47, 11, 85, 83, 39, 69, 12, 76, 44, 52, 24, 35, 99, 23, 94, 56, 55, 71, 19, 3, 86, 7, 1, 44, 20, 95, 81, 77, 43], [10, 93, 48, 53, 66, 88, 68, 58, 67, 17, 7, 54, 16, 33, 46, 15, 34, 56, 84, 18, 46, 93, 54, 99, 63, 47, 28, 48, 35, 94, 77, 34, 56, 36, 43, 12, 73, 90], [8, 56, 60, 26, 78, 18, 28, 30, 65, 81, 84, 40, 74, 17, 52, 46, 28, 4, 14, 41, 2, 91, 9, 16, 85, 82, 59, 58, 63, 35, 1, 13, 48, 39, 1, 12, 31, 34], [48, 3, 7, 11, 44, 41, 4, 35, 30, 23, 86, 98, 35, 82, 72, 49, 58, 32, 71, 58, 92, 49, 88, 84, 80, 3, 86, 37, 65, 91, 12, 7, 44, 74, 50, 65, 52, 16], [27, 21, 48, 22, 70, 83, 45, 34, 84, 45, 39, 9, 33, 76, 51, 19, 82, 27, 30, 83, 93, 62, 21, 84, 13, 24, 22, 95, 86, 33, 18, 74, 88, 95, 41, 91, 51, 7], [62, 22, 26, 38, 15, 3, 28, 93, 54, 23, 46, 10, 36, 83, 66, 14, 32, 80, 73, 58, 79, 51, 34, 94, 70, 24, 7, 64, 76, 96, 3, 85, 93, 79, 12, 37, 94, 93], [33, 20, 76, 50, 37, 56, 92, 79, 66, 76, 28, 69, 38, 6, 90, 30, 51, 95, 34, 15, 40, 24, 47, 99, 50, 3, 5, 8, 50, 35, 27, 30, 44, 31, 64, 79, 13, 73], [69, 56, 99, 12, 4, 16, 97, 89, 62, 15, 41, 67, 82, 6, 20, 80, 98, 42, 78, 86, 77, 59, 21, 11, 96, 96, 34, 69, 84, 67, 91, 64, 67, 75, 50, 47, 59, 79], [82, 78, 57, 77, 3, 60, 27, 93, 26, 98, 24, 38, 49, 31, 57, 44, 23, 33, 68, 66, 26, 17, 4, 76, 11, 10, 7, 98, 73, 57, 55, 37, 41, 57, 82, 29, 80, 86], [78, 61, 89, 44, 96, 59, 79, 39, 55, 23, 94, 23, 59, 4, 37, 19, 10, 94, 72, 90, 25, 86, 50, 68, 71, 34, 56, 72, 46, 45, 28, 85, 91, 50, 34, 71, 49, 68], [46, 60, 27, 21, 44, 61, 86, 9, 64, 78, 53, 97, 30, 57, 24, 67, 38, 30, 61, 87, 79, 40, 20, 59, 31, 20, 2, 22, 96, 63, 9, 8, 81, 96, 19, 60, 97, 40], [61, 59, 30, 75, 21, 33, 92, 89, 85, 72, 98, 3, 23, 61, 87, 93, 92, 83, 9, 82, 44, 89, 68, 54, 14, 76, 49, 29, 44, 33, 94, 23, 17, 46, 45, 50, 1, 88], [53, 90, 59, 33, 63, 59, 94, 93, 7, 61, 96, 16, 51, 52, 3, 42, 9, 10, 94, 66, 14, 89, 72, 94, 99, 14, 74, 45, 78, 99, 54, 53, 80, 19, 87, 48, 12, 38], [9, 17, 96, 94, 10, 97, 46, 40, 35, 37, 16, 11, 88, 65, 94, 87, 75, 42, 16, 32, 95, 4, 54, 42, 62, 10, 90, 31, 79, 45, 42, 88, 96, 47, 88, 4, 10, 76], [1, 14, 14, 41, 6, 62, 47, 66, 23, 51, 65, 6, 16, 47, 32, 22, 93, 54, 72, 82, 40, 24, 94, 62, 25, 61, 41, 14, 95, 50, 98, 30, 65, 22, 85, 79, 3, 10], [64, 40, 52, 51, 32, 35, 71, 5, 89, 12, 91, 33, 78, 88, 39, 68, 44, 30, 5, 57, 18, 30, 58, 57, 22, 44, 12, 16, 50, 42, 80, 85, 53, 29, 5, 56, 14, 92], [35, 81, 5, 71, 97, 39, 34, 19, 78, 75, 51, 49, 39, 12, 80, 2, 90, 35, 25, 48, 87, 75, 23, 92, 33, 78, 39, 37, 70, 74, 62, 92, 12, 99, 18, 33, 89, 28], [79, 82, 20, 51, 35, 70, 24, 9, 34, 25, 27, 53, 84, 45, 31, 20, 58, 55, 12, 51, 78, 45, 48, 66, 92, 7, 93, 72, 93, 59, 70, 66, 67, 11, 10, 95, 57, 65], [56, 23, 53, 92, 41, 98, 86, 27, 56, 38, 95, 34, 5, 83, 80, 49, 10, 71, 54, 40, 81, 44, 91, 61, 96, 22, 53, 7, 60, 35, 65, 93, 2, 59, 92, 60, 80, 70], [58, 75, 10, 84, 37, 32, 71, 91, 66, 98, 51, 28, 17, 91, 45, 22, 13, 19, 93, 85, 19, 11, 66, 2, 87, 58, 24, 42, 15, 21, 95, 59, 67, 27, 39, 48, 94, 53], [48, 39, 19, 44, 34, 20, 42, 38, 95, 24, 69, 5, 12, 75, 17, 5, 72, 70, 91, 24, 20, 45, 14, 29, 43, 10, 27, 98, 93, 21, 89, 23, 40, 38, 36, 99, 90, 82], [38, 1, 96, 18, 20, 6, 20, 88, 73, 92, 41, 90, 2, 18, 78, 89, 7, 81, 34, 8, 36, 88, 60, 64, 56, 70, 53, 27, 41, 54, 35, 94, 30, 20, 90, 47, 18, 75], [49, 44, 96, 84, 67, 89, 40, 83, 21, 42, 41, 3, 19, 59, 94, 65, 56, 16, 79, 61, 59, 63, 35, 32, 2, 8, 73, 65, 87, 56, 83, 16, 85, 83, 80, 11, 92, 74], [59, 63, 9, 66, 85, 47, 15, 81, 41, 75, 3, 5, 73, 2, 99, 89, 87, 67, 10, 2, 97, 20, 57, 75, 18, 77, 66, 36, 78, 43, 5, 76, 31, 3, 87, 62, 13, 38], [68, 88, 92, 3, 70, 43, 61, 91, 7, 17, 56, 91, 74, 15, 31, 8, 17, 25, 75, 5, 55, 46, 73, 48, 21, 53, 9, 23, 45, 30, 63, 67, 29, 53, 30, 68, 58, 41], [14, 51, 22, 93, 95, 99, 28, 63, 48, 48, 31, 5, 8, 96, 86, 98, 21, 34, 16, 31, 2, 27, 25, 34, 30, 68, 27, 86, 30, 24, 25, 14, 72, 6, 28, 5, 30, 97], [93, 73, 8, 62, 72, 47, 31, 64, 16, 42, 84, 12, 40, 49, 52, 62, 96, 3, 95, 10, 35, 62, 69, 77, 31, 90, 51, 13, 91, 58, 6, 77, 5, 86, 81, 19, 76, 12]]]; int [] param1 = [8, 6, 38, 7, 11, 14, 22, 0, 37, 30]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i], param1[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
FIND_SUBARRAY_WITH_GIVEN_SUM_1
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [1, 0, 1, 1, 0, 1, 1, 1, 1, 1]; int [] [] param0 = [[7, 7, 8, 8, 23, 24, 28, 32, 48, 53, 56, 62, 69, 77, 81, 82, 84, 87, 88, 90], [-62, -62, -80, -30, -80, 44, -12, -76, 16, -52, -86, 72, 32, -60, -70, -62, -78, -96, -18, 40, -4, -18, -58, 30, -70, 6, 0, -62, -66, 20, 92, -64, 20, -48, 48, -32, 64, 22, 16, 26], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [50, 25, 6, 87, 55, 86, 61, 97, 24, 30, 51, 43, 26, 1, 80, 47, 19, 36, 64, 62, 92, 5, 48, 27, 82, 76, 70, 59, 1, 43, 1, 36, 28, 9, 52, 22, 43], [-86, -76, -64, -22, -16, -8, 4, 6, 8, 32, 38, 60, 68, 74], [0, 0, 0, 0, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0], [7, 7, 12, 25, 25, 32, 33, 34, 37, 39, 39, 41, 46, 48, 56, 56, 57, 58, 61, 62, 62, 63, 65, 66, 69, 72, 74, 78, 78, 79, 80, 85, 89, 94, 95, 99], [98, -60], [0, 0, 0, 0, 1, 1, 1, 1, 1, 1], [80, 89, 83, 42, 75, 30, 64, 25, 95, 17, 90, 6, 11, 1, 77, 16, 75, 86, 96, 67, 27, 80, 27]]; int [] param1 = [16, 39, 40, 29, 7, 31, 22, 1, 8, 16]; int [] param2 = [31, 44, 7, 105, 2, 10, 39, 98, 0, 108]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i], param1[i], param2[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
CHECK_NUMBER_POWER_K_USING_BASE_CHANGING_METHOD
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ bool [] results = [true, true, true, false, true, false, false, false, false, false]; int [] param0 = [64, 16, 27, 81, 1, 69, 8, 31, 43, 54]; int [] param1 = [4, 2, 3, 72, 9, 17, 20, 79, 81, 89]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i], param1[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
ARRAY_RANGE_QUERIES_ELEMENTS_FREQUENCY_VALUE
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [3, 2, 1, 0, 0, 1, 0, 0, 0, 0]; int [] param0 = [0, 1, 3, 10, 2, 0, 14, 29, 31, 21]; int [] param1 = [31, 25, 4, 15, 3, 6, 18, 33, 19, 32]; int [] [] param2 = [[1, 2, 2, 3, 3, 3, 12, 13, 18, 18, 26, 28, 29, 36, 37, 39, 40, 49, 55, 57, 63, 69, 69, 73, 85, 86, 87, 87, 89, 89, 90, 91, 92, 93, 93, 93, 95, 99], [24, -62, 2, 1, 94, 56, -22, -70, -22, -34, -92, -18, 56, 2, 60, 38, -88, 16, -28, 30, -30, 58, -80, 94, 6, 56], [0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [84, 13, 81, 40, 87, 82, 50, 30, 90, 80, 81, 70, 14, 54, 72, 93, 78, 27, 61], [-20, 20, 34, 60, 90], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0], [11, 18, 18, 19, 25, 30, 42, 42, 56, 58, 63, 66, 67, 68, 69, 75, 78, 83, 83], [-24, -82, 24, -84, 94, 2, -30, 86, 58, -56, -96, 60, -38, 76, 94, 74, -98, -84, -38, 46, 4, -84, -90, -28, -50, 46, 16, 28, -14, -82, -64, 42, 64, -2, -40, 96, 60, 2, -86, 32, 38, -66], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [2, 91, 42, 85, 97, 92, 24, 39, 63, 89, 31, 59, 51, 89, 72, 62, 26, 92, 75, 4, 6, 13, 20, 95, 22, 30, 52, 60, 37, 27, 49, 15, 67, 26]]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i], param1[i], param2[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
MULTIPLY_TWO_NUMBERS_WITHOUT_USING_MULTIPLY_DIVISION_BITWISE_OPERATORS_AND_NO_LOOPS
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [1692, 828, 528, 6900, 1075, 1824, 1767, 136, 912, 5180]; int [] param0 = [18, 23, 24, 75, 25, 57, 31, 8, 12, 74]; int [] param1 = [94, 36, 22, 92, 43, 32, 57, 17, 76, 70]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i], param1[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
MINIMUM_INSERTIONS_SORT_ARRAY
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [0, 3, 0, 7, 0, 4, 0, 30, 0, 10]; int [] [] param0 = [[4, 7, 20, 22, 23, 31, 33, 36, 47, 61, 63, 63, 71, 74, 82, 91, 95, 99], [-84, 12, -42, -78, 22, 72, 56, 70, 28, -72], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [29, 41, 4, 62, 77, 74, 30, 2, 14, 90, 93, 10, 78, 36, 66, 22, 48, 89, 36, 73, 70, 23, 90], [-80, -72, -68, -66, -58, -50, -48, -32, -28, -24, -22, -18, 0, 2, 6, 10, 12, 14, 14, 18, 24, 24, 24, 28, 28, 28, 34, 38, 42, 42, 46, 46, 46, 58, 80, 82, 82, 84, 84, 86, 88, 90, 92, 96], [1, 1, 0, 1, 0, 1, 0, 0, 1, 0], [26, 36, 58, 64, 69, 72, 79, 82, 82, 87, 89, 90, 95], [-52, -40, 98, 40, 42, -50, 60, -64, -92, 36, -88, 72, -72, 38, -80, -52, 68, 70, 16, 22, -30, -74, 56, -80, 62, -54, -32, -22, -86, -70, 88, -76, -46, 28, 40, -2, -84, 68, -98, -16, 90, 36, -38, -86, 20, -40, 82, 98, 54], [0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1], [36, 62, 58, 24, 99, 12, 46, 3, 4, 40, 54, 97, 48, 94, 98, 7, 17, 5, 3, 36, 3]]; int [] param1 = [15, 7, 16, 13, 36, 8, 8, 41, 10, 16]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i], param1[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
FIND_SUM_NON_REPEATING_DISTINCT_ELEMENTS_ARRAY
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [971, 84, 1, 769, -972, 1, 765, 150, 1, 135]; int [] [] param0 = [[5, 6, 8, 10, 21, 22, 27, 32, 35, 36, 43, 44, 46, 48, 49, 55, 60, 61, 69, 69, 71, 72, 73, 78, 88, 94], [80, 94, 16, -74, 32, -64, -84, -66, -10], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [99, 4, 96, 39, 39, 24, 15, 47, 25, 74, 7, 98, 88, 91, 62, 12, 31, 14, 48, 26, 37, 25, 11, 32, 34, 64, 72, 5, 80, 86, 6], [-86, -84, -84, -78, -78, -76, -74, -68, -66, -64, -60, -60, -56, -50, -42, -42, -38, -34, -32, -22, -16, -14, -10, -6, -6, 4, 4, 26, 36, 36, 54, 62, 64, 68, 70, 76, 76, 76, 84, 92, 92, 94, 96], [1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1], [3, 3, 5, 8, 32, 33, 35, 35, 42, 48, 67, 71, 71, 74, 77, 80, 94, 96, 96, 97], [-50, -18, -66, 76, -54, 96, 98, 26, 42, 64, -60], [0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [70, 21, 44, 82, 62, 41, 86]]; int [] param1 = [24, 6, 27, 15, 27, 25, 19, 9, 15, 3]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i], param1[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
SUM_SERIES_23_45_67_89_UPTO_N_TERMS
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ double [] results = [0.7803986631477524, -0.16507936507936516, -0.21050375120783382, -0.21185466678122022, -0.2120245854859959, 0.7770671416747363, -0.21172836828074082, 0.780190394898247, 0.7821931668684383, 0.7825573460049735]; int [] param0 = [49, 4, 60, 90, 96, 29, 86, 47, 77, 87]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
PROGRAM_FOR_DEADLOCK_FREE_CONDITION_IN_OPERATING_SYSTEM
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [1369, 165, 51, 2699, 2605, 5761, 89, 61, 1509, 2443]; int [] param0 = [38, 82, 2, 38, 31, 80, 11, 2, 26, 37]; int [] param1 = [37, 3, 26, 72, 85, 73, 9, 31, 59, 67]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i], param1[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
QUICK_WAY_CHECK_CHARACTERS_STRING
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ bool [] results = [true, true, true, false, false, false, true, true, true, false]; string [] param0 = ["", "ggg", "11", "koyihns", "232", "10111000011101", "dddd", "11", "11111", "ewjvixqzu"]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
PROGRAM_TO_CHECK_IF_A_MATRIX_IS_SYMMETRIC
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ bool [] results = [true, true, false, false, false, false, false, false, false, false]; int [] [] [] param0 = [[[29]], [[1, 3, 5], [3, 2, 4], [5, 4, 1]], [[1, 2, 5], [3, 2, 4], [5, 4, 1]], [[32, 53, 61, 4, 94, 83, 17, 81, 12, 79, 93, 11, 91, 14, 15], [13, 34, 5, 70, 47, 93, 43, 97, 24, 44, 49, 93, 33, 2, 34], [94, 82, 63, 86, 67, 80, 10, 15, 76, 76, 39, 51, 15, 91, 20], [71, 90, 63, 91, 53, 14, 13, 78, 84, 44, 96, 39, 66, 80, 82], [60, 33, 64, 97, 47, 93, 89, 32, 10, 64, 77, 3, 60, 87, 26], [69, 81, 93, 32, 34, 95, 76, 38, 85, 22, 30, 53, 84, 86, 2], [71, 38, 57, 33, 49, 92, 28, 63, 54, 6, 62, 95, 36, 74, 19], [6, 34, 8, 6, 41, 89, 15, 22, 4, 73, 86, 56, 18, 24, 99], [67, 18, 89, 84, 39, 89, 61, 77, 78, 94, 44, 28, 30, 51, 33], [82, 64, 52, 28, 73, 14, 69, 99, 54, 49, 7, 44, 60, 1, 51], [99, 38, 66, 68, 74, 99, 59, 98, 62, 39, 63, 32, 21, 85, 23], [15, 1, 29, 94, 19, 33, 88, 70, 10, 46, 47, 55, 18, 71, 10], [92, 59, 34, 42, 98, 91, 42, 67, 7, 15, 35, 53, 1, 14, 90], [22, 84, 62, 36, 99, 16, 63, 6, 22, 7, 95, 17, 80, 50, 59], [42, 40, 14, 73, 80, 53, 8, 91, 78, 59, 66, 88, 72, 71, 63]], [[93, 91, 59, 11, 73, 34, 33, 29, 78, 95, 52, 61, 39, 63, 91, 82, 75, 35, 18, 71, 19, 42, 64], [92, 7, 2, 46, 32, 22, 94, 78, 67, 73, 52, 15, 70, 89, 48, 40, 60, 4, 21, 67, 60, 67, 39], [94, 67, 26, 74, 69, 58, 14, 10, 9, 3, 75, 67, 48, 38, 39, 41, 43, 78, 67, 6, 46, 78, 16], [25, 44, 27, 86, 54, 56, 75, 43, 59, 83, 83, 80, 94, 72, 94, 56, 8, 51, 29, 14, 12, 13, 12], [78, 10, 44, 59, 8, 24, 37, 43, 89, 8, 64, 77, 67, 73, 40, 74, 46, 83, 92, 18, 82, 72, 8], [59, 36, 96, 21, 3, 88, 16, 83, 55, 22, 22, 77, 12, 60, 92, 72, 9, 84, 79, 68, 24, 48, 45], [6, 64, 87, 15, 30, 84, 27, 27, 98, 97, 58, 10, 73, 72, 78, 1, 74, 4, 59, 82, 94, 41, 90], [43, 14, 29, 73, 37, 22, 88, 99, 36, 95, 58, 15, 61, 7, 99, 91, 42, 98, 25, 64, 44, 6, 4], [66, 14, 4, 35, 77, 93, 34, 26, 56, 90, 68, 78, 75, 3, 87, 8, 44, 90, 78, 5, 58, 86, 78], [12, 67, 94, 20, 3, 33, 77, 18, 75, 26, 7, 90, 3, 1, 17, 12, 73, 81, 82, 23, 91, 2, 27], [55, 15, 44, 69, 95, 49, 63, 35, 19, 53, 92, 2, 52, 20, 59, 3, 8, 40, 30, 12, 49, 17, 66], [23, 39, 27, 57, 19, 44, 66, 32, 33, 43, 23, 14, 80, 57, 98, 57, 58, 62, 40, 44, 47, 84, 46], [53, 29, 49, 53, 9, 73, 25, 47, 81, 50, 71, 16, 37, 18, 39, 78, 56, 82, 8, 57, 89, 20, 57], [1, 88, 13, 75, 52, 97, 30, 81, 57, 5, 22, 51, 79, 74, 1, 46, 79, 42, 42, 93, 64, 21, 79], [99, 69, 19, 14, 15, 51, 83, 91, 16, 83, 53, 55, 23, 36, 18, 45, 88, 71, 89, 45, 7, 69, 88], [84, 85, 20, 74, 87, 46, 33, 15, 34, 79, 5, 9, 91, 64, 60, 28, 9, 50, 36, 9, 31, 45, 55], [78, 15, 41, 66, 63, 96, 27, 64, 60, 56, 71, 14, 60, 93, 40, 20, 51, 5, 82, 72, 50, 71, 88], [60, 86, 20, 27, 20, 6, 8, 79, 22, 35, 42, 77, 92, 20, 93, 69, 3, 27, 69, 60, 20, 23, 96], [12, 55, 49, 96, 80, 27, 65, 51, 76, 77, 72, 44, 29, 39, 16, 5, 43, 57, 97, 20, 36, 96, 48], [50, 2, 12, 39, 53, 63, 12, 34, 34, 12, 17, 6, 30, 86, 37, 87, 80, 26, 48, 40, 31, 46, 66], [67, 88, 91, 37, 17, 94, 68, 59, 82, 40, 27, 95, 12, 31, 28, 26, 13, 82, 17, 41, 32, 22, 99], [80, 50, 3, 22, 59, 95, 16, 66, 40, 56, 86, 56, 78, 14, 62, 69, 27, 47, 80, 68, 87, 74, 95], [17, 27, 51, 59, 59, 79, 24, 54, 99, 13, 14, 70, 70, 52, 96, 85, 21, 30, 54, 86, 19, 59, 47]], [[1, 88, 52, 21, 60, 48, 74, 12, 87, 76, 80, 55, 3, 66, 6, 22, 67, 73, 21, 37, 33, 1, 65, 71, 37, 40, 63, 52, 76, 32, 27, 42, 52], [29, 46, 66, 46, 83, 25, 99, 65, 57, 28, 18, 63, 18, 24, 51, 29, 19, 31, 95, 86, 29, 20, 66, 68, 46, 19, 7, 42, 16, 52, 33, 39, 43], [84, 46, 4, 15, 43, 30, 39, 43, 14, 70, 86, 18, 46, 79, 21, 76, 91, 61, 75, 95, 65, 25, 89, 81, 71, 32, 48, 89, 82, 35, 90, 76, 78], [8, 22, 76, 32, 46, 13, 33, 1, 92, 67, 80, 50, 32, 10, 1, 71, 47, 7, 62, 52, 68, 4, 57, 89, 5, 71, 55, 67, 57, 99, 75, 76, 39], [80, 43, 71, 85, 10, 82, 29, 26, 30, 65, 38, 15, 89, 19, 28, 97, 15, 78, 61, 38, 99, 32, 78, 77, 41, 85, 76, 15, 88, 84, 63, 1, 43], [14, 2, 8, 11, 20, 44, 59, 17, 12, 84, 74, 21, 67, 4, 88, 54, 27, 95, 74, 68, 76, 79, 90, 34, 1, 59, 52, 45, 18, 73, 50, 34, 54], [54, 52, 30, 4, 53, 24, 50, 45, 61, 90, 7, 45, 85, 78, 34, 10, 11, 45, 49, 40, 51, 71, 99, 28, 62, 15, 38, 49, 1, 50, 14, 13, 22], [57, 85, 41, 37, 82, 73, 95, 5, 31, 65, 86, 57, 15, 90, 29, 54, 41, 91, 34, 85, 76, 35, 55, 98, 33, 42, 87, 8, 83, 99, 91, 30, 84], [92, 74, 42, 25, 14, 65, 30, 13, 89, 12, 24, 70, 73, 38, 87, 52, 70, 35, 28, 5, 42, 84, 80, 20, 22, 51, 87, 76, 47, 97, 39, 28, 68], [47, 72, 21, 48, 50, 49, 76, 62, 35, 80, 72, 5, 76, 90, 37, 73, 41, 92, 40, 58, 72, 2, 50, 86, 94, 80, 48, 24, 91, 33, 70, 94, 42], [26, 78, 95, 16, 21, 2, 59, 8, 7, 90, 21, 18, 82, 1, 91, 8, 92, 2, 22, 20, 78, 35, 60, 31, 41, 67, 72, 90, 24, 15, 38, 79, 99], [38, 81, 95, 66, 5, 2, 2, 90, 38, 37, 10, 91, 72, 74, 99, 24, 24, 95, 4, 40, 14, 26, 12, 27, 6, 27, 14, 22, 49, 20, 3, 73, 80], [73, 49, 96, 98, 25, 27, 91, 2, 22, 66, 48, 53, 1, 54, 39, 10, 12, 37, 46, 17, 3, 85, 76, 59, 27, 15, 45, 41, 67, 5, 34, 63, 98], [85, 13, 89, 14, 82, 61, 3, 3, 45, 96, 18, 32, 96, 44, 93, 37, 99, 27, 40, 24, 56, 36, 99, 6, 71, 78, 17, 61, 27, 44, 70, 3, 39], [35, 66, 83, 87, 17, 9, 9, 35, 9, 12, 67, 85, 57, 92, 97, 98, 43, 22, 60, 30, 31, 80, 99, 65, 73, 65, 87, 37, 82, 4, 10, 27, 2], [55, 68, 40, 97, 8, 15, 61, 7, 94, 24, 20, 55, 5, 7, 2, 74, 77, 21, 3, 53, 14, 53, 80, 63, 54, 72, 24, 78, 50, 6, 88, 93, 26], [34, 44, 69, 98, 98, 77, 67, 5, 86, 85, 91, 88, 39, 53, 8, 68, 36, 70, 95, 69, 6, 2, 1, 62, 29, 87, 18, 3, 80, 31, 22, 8, 22], [77, 29, 80, 10, 46, 34, 56, 59, 33, 78, 96, 23, 15, 25, 26, 12, 64, 19, 49, 19, 96, 74, 91, 23, 56, 63, 52, 64, 18, 99, 50, 13, 66], [36, 22, 84, 7, 12, 79, 93, 8, 23, 13, 97, 5, 83, 7, 68, 9, 19, 89, 65, 68, 82, 71, 83, 52, 87, 28, 93, 6, 44, 27, 46, 4, 87], [30, 45, 58, 62, 54, 24, 96, 75, 30, 90, 80, 57, 53, 70, 89, 84, 10, 1, 44, 59, 11, 76, 20, 76, 60, 44, 16, 79, 62, 90, 56, 75, 3], [2, 44, 83, 96, 87, 44, 24, 13, 1, 39, 5, 13, 8, 51, 49, 49, 48, 40, 30, 44, 92, 93, 53, 36, 84, 69, 71, 30, 38, 7, 75, 75, 84], [33, 79, 68, 51, 10, 38, 40, 3, 24, 2, 23, 51, 59, 42, 19, 8, 26, 82, 44, 48, 73, 36, 9, 97, 11, 41, 62, 88, 24, 32, 33, 81, 90], [45, 33, 2, 66, 78, 21, 87, 22, 65, 32, 29, 69, 36, 25, 22, 69, 52, 67, 24, 97, 92, 47, 85, 80, 11, 6, 51, 83, 61, 82, 44, 10, 76], [33, 64, 15, 76, 50, 5, 1, 38, 98, 12, 30, 11, 73, 44, 46, 71, 81, 52, 63, 26, 27, 97, 39, 5, 73, 87, 94, 36, 1, 52, 8, 1, 74], [7, 38, 59, 60, 67, 7, 8, 34, 40, 42, 96, 32, 69, 91, 13, 55, 12, 74, 1, 85, 7, 10, 81, 37, 48, 65, 42, 13, 23, 57, 92, 19, 32], [10, 82, 8, 16, 35, 58, 81, 48, 48, 23, 26, 55, 23, 50, 23, 54, 56, 45, 71, 12, 22, 17, 77, 48, 78, 71, 50, 83, 59, 39, 71, 60, 91], [17, 34, 75, 9, 39, 67, 23, 40, 4, 57, 16, 59, 85, 25, 5, 1, 96, 20, 11, 97, 32, 83, 39, 45, 57, 82, 36, 42, 88, 96, 9, 24, 79], [47, 46, 86, 98, 59, 10, 2, 42, 7, 1, 9, 42, 26, 79, 57, 22, 87, 3, 11, 56, 86, 62, 40, 78, 16, 98, 5, 53, 72, 66, 11, 45, 62], [87, 65, 74, 6, 67, 83, 29, 79, 87, 49, 8, 89, 88, 52, 12, 1, 4, 94, 98, 60, 43, 97, 44, 30, 40, 13, 30, 19, 20, 38, 63, 68, 23], [89, 11, 31, 76, 41, 98, 57, 30, 80, 96, 82, 8, 95, 36, 77, 82, 62, 35, 27, 6, 64, 74, 37, 47, 44, 71, 80, 66, 43, 57, 47, 89, 90], [90, 18, 20, 92, 67, 57, 1, 74, 95, 84, 56, 8, 48, 58, 64, 71, 57, 51, 99, 40, 84, 3, 63, 11, 58, 76, 46, 12, 8, 45, 86, 84, 15], [49, 31, 46, 94, 40, 31, 20, 2, 6, 78, 26, 97, 87, 89, 37, 92, 99, 71, 59, 66, 64, 17, 91, 48, 66, 12, 80, 32, 18, 62, 16, 5, 24], [49, 75, 64, 46, 42, 88, 78, 1, 90, 26, 68, 90, 4, 96, 16, 80, 40, 84, 81, 49, 84, 96, 42, 11, 62, 93, 55, 27, 85, 29, 32, 41, 12]], [[97, 17, 59, 40, 18, 53, 65, 84, 85, 42, 38, 32, 22, 61, 89, 32, 31, 99, 58, 77, 80, 56, 83, 41, 15, 46, 97, 59, 65, 51, 13, 24, 87, 93, 16, 49, 32, 16, 43, 88, 53, 21, 33, 59, 60], [27, 29, 33, 50, 32, 46, 28, 51, 26, 48, 58, 47, 63, 47, 70, 19, 79, 81, 98, 65, 19, 67, 81, 46, 78, 75, 80, 54, 94, 91, 82, 87, 49, 27, 56, 44, 75, 77, 44, 23, 90, 42, 64, 34, 99], [43, 84, 88, 96, 26, 2, 13, 3, 12, 27, 14, 74, 38, 76, 40, 75, 50, 66, 95, 62, 10, 6, 55, 42, 61, 22, 47, 19, 74, 47, 91, 92, 10, 45, 60, 17, 79, 43, 12, 84, 64, 80, 47, 84, 50], [27, 22, 91, 13, 59, 69, 81, 98, 22, 94, 67, 71, 15, 71, 3, 29, 6, 49, 91, 65, 54, 34, 58, 8, 89, 15, 38, 11, 73, 27, 77, 76, 11, 58, 35, 44, 57, 87, 21, 28, 7, 77, 95, 35, 81], [88, 86, 74, 80, 6, 12, 1, 16, 98, 63, 58, 91, 5, 83, 11, 37, 63, 75, 8, 53, 16, 95, 11, 65, 47, 81, 49, 25, 55, 26, 34, 2, 16, 31, 22, 86, 32, 70, 2, 71, 11, 10, 16, 51, 1], [35, 39, 74, 59, 99, 77, 78, 76, 44, 3, 38, 75, 98, 25, 87, 72, 64, 27, 50, 4, 62, 88, 60, 63, 13, 31, 64, 14, 84, 86, 76, 67, 96, 5, 96, 76, 92, 91, 87, 68, 69, 45, 9, 9, 93], [57, 81, 83, 66, 96, 54, 15, 2, 78, 96, 49, 90, 12, 90, 36, 76, 97, 90, 87, 13, 37, 40, 92, 34, 54, 83, 89, 99, 85, 70, 16, 24, 51, 16, 94, 28, 74, 17, 84, 48, 24, 80, 20, 55, 26], [29, 22, 20, 96, 29, 87, 57, 98, 76, 83, 17, 86, 10, 82, 69, 1, 90, 89, 77, 39, 46, 12, 20, 6, 18, 2, 73, 33, 54, 1, 75, 22, 68, 21, 29, 20, 69, 51, 27, 97, 18, 22, 41, 37, 18], [21, 6, 28, 2, 79, 11, 11, 26, 91, 43, 87, 56, 8, 63, 46, 59, 84, 98, 26, 65, 63, 88, 53, 41, 93, 11, 8, 30, 79, 82, 25, 64, 60, 11, 48, 51, 73, 32, 12, 42, 23, 88, 83, 74, 82], [15, 94, 47, 98, 42, 39, 13, 42, 23, 45, 22, 60, 27, 52, 69, 11, 40, 6, 67, 32, 74, 40, 20, 18, 98, 82, 2, 13, 56, 46, 62, 77, 47, 59, 90, 64, 12, 12, 12, 23, 18, 24, 47, 91, 70], [40, 45, 67, 62, 58, 95, 96, 92, 54, 9, 34, 60, 27, 27, 60, 25, 83, 78, 40, 83, 76, 95, 36, 25, 58, 61, 52, 6, 14, 7, 93, 90, 34, 36, 51, 75, 76, 81, 87, 31, 82, 53, 61, 26, 87], [50, 8, 23, 75, 95, 19, 22, 41, 81, 49, 57, 91, 31, 17, 17, 98, 99, 11, 84, 60, 4, 58, 3, 72, 36, 43, 83, 20, 5, 90, 86, 55, 26, 50, 74, 88, 52, 96, 61, 89, 15, 53, 34, 16, 47], [64, 74, 70, 61, 41, 85, 45, 2, 49, 19, 38, 87, 17, 6, 54, 48, 44, 59, 34, 15, 91, 22, 35, 83, 2, 44, 20, 45, 62, 61, 97, 81, 56, 56, 2, 12, 82, 23, 19, 54, 69, 21, 60, 20, 80], [6, 59, 90, 96, 99, 23, 54, 18, 42, 85, 48, 13, 28, 14, 94, 37, 99, 47, 53, 41, 40, 22, 35, 77, 9, 80, 77, 18, 53, 73, 8, 19, 80, 75, 43, 92, 32, 19, 7, 24, 23, 7, 40, 79, 23], [79, 72, 73, 91, 22, 22, 20, 21, 14, 85, 22, 33, 78, 13, 86, 90, 85, 15, 75, 12, 6, 32, 24, 17, 98, 88, 25, 60, 63, 86, 23, 86, 84, 45, 76, 81, 53, 27, 65, 45, 56, 1, 37, 78, 43], [90, 67, 47, 22, 16, 72, 11, 25, 17, 50, 89, 84, 15, 7, 22, 32, 89, 15, 10, 5, 81, 6, 3, 31, 43, 72, 33, 23, 43, 12, 10, 33, 13, 48, 6, 24, 27, 92, 63, 99, 24, 55, 10, 20, 22], [45, 52, 19, 18, 80, 74, 48, 70, 47, 13, 8, 88, 84, 89, 5, 68, 90, 35, 15, 35, 75, 33, 40, 68, 60, 21, 67, 96, 35, 1, 18, 6, 19, 31, 48, 60, 56, 49, 8, 70, 87, 68, 12, 15, 51], [68, 10, 30, 46, 76, 42, 39, 8, 59, 61, 70, 81, 87, 50, 7, 97, 53, 7, 96, 93, 30, 77, 54, 38, 82, 30, 85, 30, 18, 62, 98, 29, 49, 45, 51, 20, 31, 47, 83, 13, 77, 45, 70, 57, 87], [28, 1, 55, 6, 63, 56, 56, 97, 48, 21, 77, 81, 95, 80, 48, 64, 45, 45, 17, 72, 42, 89, 64, 95, 92, 52, 40, 64, 8, 51, 66, 73, 50, 20, 68, 99, 60, 54, 64, 43, 32, 9, 30, 49, 1], [49, 96, 37, 62, 18, 86, 55, 83, 16, 85, 49, 64, 57, 39, 68, 15, 12, 80, 64, 93, 89, 77, 20, 34, 19, 75, 93, 92, 19, 82, 49, 29, 20, 28, 8, 40, 46, 56, 99, 69, 41, 89, 84, 71, 28], [25, 56, 58, 92, 77, 94, 72, 67, 80, 80, 87, 10, 6, 83, 38, 90, 18, 91, 20, 6, 81, 30, 16, 25, 51, 16, 70, 37, 64, 71, 60, 96, 55, 52, 56, 17, 27, 3, 92, 98, 29, 4, 27, 84, 76], [99, 74, 14, 56, 22, 24, 90, 11, 84, 72, 29, 73, 38, 70, 92, 90, 9, 45, 26, 89, 52, 6, 21, 60, 59, 21, 91, 11, 20, 17, 98, 51, 64, 55, 86, 16, 85, 77, 98, 54, 54, 56, 7, 96, 13], [96, 83, 88, 44, 40, 69, 28, 81, 40, 94, 62, 59, 50, 11, 15, 60, 10, 20, 30, 35, 99, 96, 59, 51, 58, 12, 46, 7, 64, 18, 28, 11, 98, 35, 76, 76, 15, 54, 40, 19, 40, 53, 10, 72, 22], [21, 20, 69, 1, 27, 36, 33, 90, 63, 14, 86, 32, 11, 93, 93, 74, 65, 49, 84, 94, 34, 61, 56, 95, 39, 50, 30, 14, 35, 25, 53, 56, 29, 40, 65, 53, 99, 64, 21, 81, 14, 10, 74, 1, 12], [79, 15, 42, 97, 70, 30, 28, 31, 17, 97, 85, 50, 51, 87, 67, 49, 92, 28, 81, 14, 80, 89, 3, 69, 70, 95, 68, 67, 60, 68, 99, 44, 74, 55, 69, 78, 34, 2, 79, 34, 4, 12, 13, 73, 4], [31, 44, 56, 6, 71, 62, 82, 94, 22, 78, 12, 48, 46, 72, 25, 42, 75, 55, 25, 80, 81, 54, 92, 68, 98, 26, 6, 52, 85, 64, 58, 57, 72, 68, 75, 34, 2, 83, 39, 67, 73, 95, 76, 12, 73], [39, 32, 69, 72, 32, 22, 88, 51, 91, 41, 50, 17, 45, 59, 44, 32, 48, 30, 28, 83, 18, 20, 74, 11, 60, 34, 39, 38, 17, 49, 87, 71, 6, 56, 24, 60, 72, 4, 81, 66, 22, 51, 51, 16, 85], [40, 8, 71, 64, 71, 4, 25, 59, 70, 82, 79, 85, 16, 55, 24, 11, 71, 42, 3, 41, 22, 26, 4, 16, 63, 17, 19, 79, 7, 66, 55, 45, 87, 72, 1, 17, 39, 8, 57, 85, 50, 55, 26, 95, 53], [33, 30, 94, 36, 21, 41, 37, 21, 29, 8, 52, 39, 69, 14, 85, 38, 15, 30, 71, 27, 72, 35, 41, 53, 61, 95, 45, 30, 91, 1, 33, 78, 7, 62, 22, 51, 69, 85, 55, 31, 54, 27, 44, 79, 87], [60, 53, 17, 94, 36, 66, 2, 97, 20, 10, 69, 58, 81, 47, 63, 39, 62, 82, 60, 73, 74, 32, 63, 39, 18, 24, 2, 16, 79, 51, 84, 54, 56, 62, 71, 82, 89, 77, 60, 75, 72, 91, 20, 64, 98], [68, 79, 77, 49, 86, 26, 52, 61, 9, 5, 30, 4, 31, 14, 25, 28, 15, 67, 95, 77, 9, 66, 23, 48, 33, 28, 63, 8, 36, 2, 24, 22, 79, 24, 69, 91, 97, 53, 85, 81, 58, 35, 55, 26, 46], [25, 85, 11, 24, 78, 24, 73, 2, 6, 25, 81, 3, 5, 32, 48, 55, 93, 36, 36, 25, 56, 28, 35, 13, 79, 60, 27, 75, 6, 56, 27, 42, 94, 97, 38, 55, 19, 86, 13, 68, 6, 29, 94, 89, 61], [15, 12, 21, 82, 25, 38, 69, 76, 49, 29, 62, 42, 22, 95, 48, 28, 23, 53, 16, 60, 40, 97, 39, 68, 6, 47, 11, 10, 31, 71, 14, 59, 6, 58, 18, 33, 30, 84, 92, 1, 57, 81, 59, 26, 53], [18, 24, 18, 39, 79, 36, 90, 32, 84, 70, 91, 72, 39, 86, 37, 38, 71, 73, 34, 98, 28, 63, 73, 30, 41, 95, 8, 8, 78, 9, 98, 25, 9, 64, 3, 96, 27, 74, 66, 82, 59, 40, 24, 23, 41], [53, 49, 66, 61, 64, 34, 27, 64, 60, 35, 53, 72, 71, 58, 13, 76, 77, 53, 17, 57, 60, 15, 78, 19, 35, 18, 17, 84, 25, 37, 23, 23, 75, 46, 84, 7, 87, 62, 23, 91, 85, 21, 58, 96, 50], [28, 66, 93, 9, 35, 61, 68, 86, 23, 6, 84, 69, 12, 59, 65, 39, 41, 3, 42, 43, 85, 66, 96, 29, 47, 92, 97, 26, 15, 45, 90, 73, 61, 85, 20, 49, 27, 65, 9, 58, 51, 38, 84, 19, 44], [11, 78, 89, 76, 45, 7, 3, 80, 62, 1, 15, 44, 11, 1, 3, 22, 43, 6, 22, 50, 28, 78, 96, 29, 5, 35, 11, 1, 7, 3, 86, 31, 3, 17, 18, 79, 99, 80, 94, 99, 17, 79, 42, 27, 65], [30, 30, 69, 65, 4, 11, 58, 13, 10, 88, 84, 18, 87, 42, 99, 44, 62, 91, 79, 24, 30, 65, 41, 67, 24, 32, 63, 4, 98, 1, 21, 8, 46, 12, 1, 22, 78, 89, 28, 72, 64, 40, 89, 55, 87], [60, 41, 80, 59, 68, 36, 33, 94, 45, 75, 50, 47, 77, 44, 68, 88, 33, 97, 76, 21, 97, 46, 97, 73, 31, 62, 94, 16, 12, 54, 9, 35, 53, 43, 70, 89, 56, 64, 28, 87, 29, 86, 58, 24, 20], [27, 97, 19, 90, 38, 60, 3, 23, 59, 91, 91, 74, 24, 56, 52, 41, 66, 98, 22, 66, 28, 88, 38, 86, 67, 58, 37, 2, 57, 87, 77, 79, 97, 45, 53, 77, 84, 7, 77, 39, 68, 63, 46, 91, 96], [2, 15, 5, 3, 16, 49, 90, 6, 35, 38, 84, 86, 64, 85, 32, 1, 48, 23, 18, 17, 31, 93, 54, 77, 60, 66, 73, 96, 86, 18, 18, 83, 63, 31, 29, 88, 97, 83, 80, 51, 32, 21, 30, 7, 38], [12, 59, 92, 14, 71, 17, 23, 77, 20, 5, 6, 13, 3, 53, 31, 3, 8, 71, 50, 71, 75, 88, 59, 21, 20, 93, 74, 49, 80, 74, 38, 33, 69, 59, 12, 8, 70, 87, 48, 67, 38, 93, 34, 4, 7], [85, 74, 96, 89, 77, 85, 83, 59, 8, 61, 50, 84, 8, 16, 48, 62, 56, 28, 74, 21, 44, 79, 70, 41, 35, 56, 85, 17, 26, 63, 74, 34, 71, 32, 4, 10, 79, 56, 35, 33, 25, 47, 11, 34, 36], [17, 12, 80, 97, 26, 74, 13, 82, 85, 87, 87, 36, 69, 45, 79, 88, 12, 83, 97, 89, 38, 77, 88, 67, 76, 66, 20, 40, 34, 22, 15, 97, 66, 35, 98, 91, 31, 77, 53, 94, 90, 88, 57, 65, 38], [38, 86, 10, 46, 27, 42, 2, 58, 19, 62, 11, 14, 57, 33, 44, 18, 29, 30, 3, 32, 15, 49, 87, 60, 98, 46, 80, 50, 6, 80, 20, 49, 28, 26, 56, 48, 6, 53, 59, 80, 33, 12, 78, 39, 2]], [[19, 98, 9, 31, 79, 4, 63, 46, 32, 81, 5, 39, 97, 92, 13, 68, 28, 13, 92, 57, 99, 24, 9, 7, 22, 3, 72, 4, 42, 2, 53, 46, 6, 57, 86, 3, 17, 74, 88, 60, 39, 28, 45, 94], [92, 4, 82, 39, 3, 65, 97, 16, 46, 94, 40, 55, 97, 36, 60, 95, 36, 36, 47, 48, 10, 22, 28, 36, 32, 13, 34, 63, 65, 80, 91, 22, 31, 48, 93, 22, 71, 55, 40, 4, 78, 43, 81, 65], [2, 82, 3, 56, 85, 77, 49, 27, 60, 67, 69, 37, 48, 66, 94, 70, 27, 77, 5, 52, 58, 25, 91, 62, 16, 48, 71, 52, 67, 15, 81, 67, 61, 66, 69, 24, 95, 44, 71, 25, 20, 89, 66, 66], [10, 50, 70, 11, 93, 30, 85, 27, 42, 36, 45, 97, 27, 56, 37, 70, 39, 8, 76, 47, 67, 54, 9, 43, 12, 40, 3, 97, 77, 12, 37, 7, 70, 41, 4, 87, 4, 67, 38, 27, 11, 93, 93, 37], [58, 8, 32, 78, 84, 88, 93, 60, 65, 10, 19, 39, 45, 48, 18, 71, 88, 86, 16, 6, 71, 82, 99, 49, 88, 80, 19, 83, 65, 22, 31, 14, 30, 95, 51, 32, 43, 17, 92, 98, 62, 17, 61, 6], [93, 9, 31, 30, 59, 73, 10, 64, 33, 3, 93, 53, 41, 78, 15, 10, 80, 97, 92, 39, 24, 79, 13, 83, 11, 13, 40, 59, 96, 54, 61, 90, 59, 80, 17, 13, 13, 15, 11, 1, 35, 82, 44, 58], [1, 86, 52, 66, 94, 53, 82, 65, 3, 74, 48, 15, 67, 77, 62, 88, 30, 43, 32, 99, 35, 55, 15, 34, 98, 82, 99, 23, 32, 50, 50, 83, 93, 40, 44, 12, 68, 22, 43, 79, 85, 42, 99, 19], [72, 79, 4, 25, 51, 60, 37, 26, 73, 44, 55, 50, 31, 70, 25, 60, 6, 19, 5, 69, 59, 54, 5, 49, 20, 54, 77, 73, 78, 13, 97, 48, 87, 94, 63, 82, 82, 43, 78, 12, 39, 91, 57, 93], [71, 79, 83, 9, 84, 62, 22, 36, 96, 3, 82, 16, 3, 76, 88, 58, 75, 23, 33, 68, 61, 14, 38, 73, 98, 53, 61, 33, 83, 67, 56, 61, 38, 27, 40, 6, 96, 48, 18, 32, 84, 36, 79, 23], [14, 85, 46, 3, 7, 17, 68, 58, 50, 99, 70, 96, 99, 46, 59, 22, 72, 91, 28, 2, 59, 54, 66, 63, 27, 7, 12, 8, 9, 86, 18, 92, 38, 34, 70, 95, 15, 61, 68, 5, 87, 77, 61, 27], [45, 58, 95, 19, 30, 63, 94, 5, 62, 75, 74, 41, 65, 79, 85, 86, 96, 26, 77, 69, 78, 54, 55, 68, 8, 9, 95, 3, 27, 9, 93, 98, 29, 74, 77, 65, 40, 78, 96, 80, 56, 26, 33, 95], [72, 25, 97, 94, 1, 1, 27, 68, 37, 24, 44, 88, 6, 39, 65, 93, 88, 77, 92, 15, 64, 31, 86, 76, 17, 26, 77, 53, 41, 45, 81, 26, 51, 92, 38, 50, 42, 42, 32, 85, 9, 80, 5, 38], [9, 70, 79, 82, 69, 41, 74, 80, 27, 40, 53, 23, 92, 75, 4, 68, 80, 28, 29, 58, 17, 70, 18, 13, 64, 60, 61, 35, 89, 55, 35, 42, 11, 76, 54, 38, 32, 78, 25, 97, 98, 59, 70, 57], [41, 4, 7, 99, 19, 31, 20, 21, 25, 12, 98, 17, 96, 1, 79, 65, 63, 25, 71, 34, 44, 70, 1, 79, 77, 21, 77, 40, 17, 17, 76, 34, 39, 75, 14, 79, 87, 4, 33, 25, 41, 86, 32, 1], [63, 88, 53, 7, 43, 37, 70, 15, 34, 63, 65, 72, 35, 76, 46, 24, 1, 77, 79, 34, 37, 13, 16, 36, 70, 98, 76, 54, 44, 38, 47, 49, 36, 64, 63, 24, 68, 89, 11, 46, 3, 7, 54, 11], [65, 41, 55, 59, 26, 54, 14, 47, 16, 12, 93, 59, 32, 10, 93, 83, 55, 73, 89, 19, 39, 9, 17, 91, 8, 87, 55, 77, 41, 8, 13, 77, 55, 81, 20, 69, 25, 16, 43, 82, 59, 73, 35, 10], [99, 19, 13, 89, 69, 81, 34, 43, 87, 67, 10, 32, 97, 71, 13, 38, 11, 15, 87, 83, 8, 49, 88, 66, 30, 44, 54, 97, 83, 31, 24, 86, 39, 93, 34, 61, 4, 50, 53, 81, 28, 38, 4, 16], [42, 43, 64, 31, 79, 9, 68, 83, 34, 88, 11, 35, 28, 92, 11, 38, 98, 15, 61, 8, 65, 24, 50, 10, 17, 78, 1, 11, 41, 3, 17, 64, 75, 88, 33, 32, 25, 91, 47, 43, 81, 81, 57, 40], [68, 82, 75, 41, 40, 76, 37, 74, 15, 58, 58, 11, 98, 99, 8, 31, 15, 93, 79, 64, 31, 7, 94, 89, 79, 77, 74, 19, 49, 15, 3, 18, 22, 96, 95, 74, 45, 21, 34, 93, 74, 28, 54, 10], [32, 78, 32, 52, 30, 56, 72, 19, 22, 88, 28, 41, 43, 69, 73, 72, 59, 56, 82, 40, 77, 70, 16, 18, 42, 81, 2, 82, 64, 11, 55, 2, 2, 57, 18, 86, 16, 27, 17, 54, 17, 6, 97, 13], [6, 90, 83, 19, 61, 90, 86, 11, 86, 96, 7, 86, 6, 15, 38, 41, 56, 18, 35, 98, 45, 29, 69, 88, 32, 94, 5, 44, 98, 50, 82, 21, 22, 61, 39, 85, 99, 5, 33, 71, 24, 39, 72, 15], [70, 5, 87, 48, 20, 76, 21, 86, 89, 12, 66, 30, 7, 58, 18, 60, 18, 92, 48, 34, 72, 83, 6, 45, 60, 71, 84, 24, 93, 92, 69, 17, 62, 33, 62, 6, 3, 74, 54, 11, 87, 46, 4, 7], [26, 97, 35, 28, 41, 50, 99, 39, 80, 10, 71, 7, 25, 69, 90, 30, 11, 71, 39, 26, 57, 55, 22, 12, 64, 86, 66, 60, 62, 52, 62, 76, 65, 15, 40, 7, 55, 37, 86, 97, 33, 29, 19, 69], [14, 9, 5, 35, 85, 28, 45, 2, 6, 31, 32, 75, 59, 14, 74, 59, 1, 55, 31, 59, 8, 66, 99, 95, 12, 31, 99, 96, 81, 57, 8, 19, 53, 11, 57, 69, 59, 28, 2, 11, 64, 18, 47, 53], [5, 19, 5, 40, 83, 76, 92, 48, 99, 23, 55, 34, 87, 97, 58, 77, 98, 93, 30, 61, 82, 56, 99, 5, 4, 69, 39, 79, 73, 50, 72, 74, 22, 88, 24, 73, 22, 34, 48, 76, 81, 4, 57, 63], [30, 65, 97, 91, 78, 4, 35, 33, 51, 12, 68, 98, 78, 2, 91, 95, 33, 91, 45, 56, 28, 98, 30, 34, 1, 52, 13, 82, 40, 65, 9, 70, 72, 72, 88, 49, 25, 26, 26, 40, 34, 8, 2, 82], [16, 92, 72, 63, 18, 39, 42, 83, 32, 62, 32, 85, 93, 69, 84, 22, 27, 1, 13, 97, 6, 13, 78, 72, 67, 37, 76, 8, 93, 20, 62, 23, 68, 25, 32, 58, 25, 69, 10, 64, 31, 4, 57, 71], [34, 21, 83, 7, 98, 58, 33, 42, 53, 85, 55, 50, 38, 81, 46, 81, 15, 8, 49, 53, 37, 83, 93, 38, 97, 28, 61, 97, 7, 99, 72, 7, 59, 21, 25, 67, 32, 48, 55, 75, 85, 96, 66, 23], [45, 10, 78, 55, 60, 9, 83, 3, 32, 54, 87, 83, 76, 23, 14, 36, 48, 67, 10, 86, 68, 79, 52, 99, 49, 44, 5, 92, 91, 15, 94, 8, 55, 20, 77, 6, 1, 46, 42, 82, 70, 49, 90, 34], [57, 17, 89, 63, 61, 59, 92, 79, 4, 91, 33, 20, 21, 41, 74, 44, 32, 64, 37, 61, 26, 22, 40, 59, 50, 77, 96, 73, 39, 16, 98, 74, 88, 10, 45, 90, 34, 63, 68, 93, 86, 89, 11, 84], [88, 95, 25, 69, 31, 57, 87, 53, 81, 66, 56, 66, 91, 22, 81, 53, 57, 33, 5, 13, 17, 43, 84, 84, 92, 12, 84, 71, 56, 69, 29, 25, 11, 41, 11, 96, 38, 82, 62, 79, 81, 24, 44, 19], [37, 5, 4, 1, 94, 17, 43, 50, 30, 64, 82, 36, 1, 69, 82, 29, 81, 85, 66, 36, 62, 20, 83, 54, 82, 13, 47, 75, 97, 28, 55, 43, 44, 21, 94, 53, 47, 96, 87, 25, 96, 41, 31, 13], [6, 1, 8, 56, 62, 87, 69, 93, 22, 64, 69, 17, 18, 45, 54, 39, 65, 95, 88, 54, 16, 69, 32, 26, 35, 53, 43, 41, 24, 44, 79, 23, 75, 94, 45, 94, 55, 70, 69, 64, 14, 30, 4, 6], [39, 18, 51, 56, 89, 57, 59, 61, 17, 97, 38, 76, 81, 89, 37, 17, 91, 31, 14, 53, 36, 86, 5, 40, 70, 69, 88, 22, 14, 25, 84, 65, 49, 35, 52, 92, 29, 58, 72, 82, 31, 21, 6, 9], [30, 18, 30, 84, 60, 55, 10, 13, 41, 2, 5, 33, 65, 37, 61, 58, 12, 41, 28, 82, 36, 94, 42, 54, 54, 38, 85, 71, 69, 58, 99, 79, 9, 48, 18, 12, 27, 78, 77, 94, 36, 49, 9, 34], [76, 50, 89, 50, 22, 5, 15, 18, 77, 15, 89, 98, 66, 21, 87, 81, 61, 4, 48, 1, 7, 61, 53, 95, 35, 21, 60, 76, 5, 3, 59, 76, 10, 46, 50, 62, 59, 94, 17, 56, 44, 19, 18, 26], [28, 49, 32, 20, 85, 46, 58, 16, 76, 1, 46, 32, 14, 14, 83, 65, 25, 42, 13, 53, 68, 60, 84, 68, 41, 6, 26, 91, 22, 29, 40, 66, 36, 87, 19, 16, 88, 34, 63, 25, 75, 69, 84, 14], [21, 90, 44, 52, 79, 85, 80, 75, 48, 78, 85, 62, 80, 2, 42, 66, 28, 5, 8, 73, 81, 83, 42, 26, 95, 98, 93, 74, 58, 11, 97, 95, 22, 54, 93, 41, 85, 40, 12, 16, 43, 26, 94, 87], [97, 88, 6, 98, 19, 23, 25, 93, 16, 2, 93, 58, 97, 18, 44, 54, 9, 2, 55, 5, 20, 4, 5, 17, 5, 50, 72, 96, 25, 25, 89, 42, 31, 92, 47, 79, 51, 55, 60, 27, 39, 78, 13, 96], [35, 48, 14, 36, 53, 39, 5, 72, 10, 2, 95, 39, 25, 34, 79, 56, 81, 22, 33, 70, 58, 82, 30, 63, 67, 95, 12, 10, 62, 63, 36, 56, 6, 31, 33, 74, 63, 38, 26, 16, 24, 24, 73, 25], [23, 54, 67, 32, 74, 47, 35, 86, 14, 25, 59, 54, 79, 94, 95, 78, 8, 8, 95, 3, 97, 12, 32, 96, 21, 74, 41, 42, 57, 90, 77, 62, 73, 97, 95, 56, 12, 56, 58, 23, 89, 93, 33, 18], [41, 12, 62, 58, 4, 13, 31, 22, 39, 58, 30, 34, 95, 6, 90, 49, 45, 77, 93, 50, 26, 39, 86, 52, 4, 35, 5, 28, 21, 73, 10, 55, 33, 40, 5, 73, 81, 33, 81, 70, 91, 91, 78, 5], [81, 4, 71, 37, 78, 13, 29, 98, 98, 39, 48, 89, 35, 62, 20, 95, 59, 44, 54, 89, 58, 93, 52, 50, 46, 98, 10, 19, 11, 40, 40, 36, 87, 55, 44, 89, 44, 45, 85, 63, 91, 2, 6, 99], [73, 20, 55, 97, 47, 93, 27, 1, 13, 67, 65, 84, 58, 90, 76, 70, 50, 9, 55, 36, 20, 10, 10, 31, 84, 89, 45, 31, 9, 88, 4, 45, 24, 78, 72, 91, 53, 94, 78, 40, 58, 82, 77, 29]], [[91, 36, 24, 57], [88, 3, 45, 19], [49, 9, 86, 22], [55, 16, 72, 81]], [[27, 35, 35, 78, 52, 41, 22, 22, 75, 96, 91, 20, 46, 34, 83, 62, 10, 13, 92, 8, 86, 54, 92, 16, 17, 40, 49, 62, 19, 49, 38, 82, 62, 37, 93, 15, 85], [61, 56, 7, 36, 86, 37, 70, 40, 78, 17, 1, 44, 66, 42, 45, 46, 55, 21, 5, 84, 41, 86, 40, 87, 65, 13, 88, 89, 92, 68, 23, 4, 40, 61, 58, 98, 84], [17, 30, 92, 24, 95, 96, 38, 59, 63, 93, 64, 71, 52, 54, 15, 56, 70, 54, 81, 97, 61, 44, 1, 63, 59, 3, 13, 11, 61, 12, 82, 80, 33, 41, 4, 88, 47], [46, 54, 71, 9, 83, 93, 70, 36, 58, 86, 86, 38, 43, 67, 25, 78, 5, 18, 28, 30, 70, 95, 18, 25, 34, 72, 92, 71, 63, 98, 25, 65, 59, 66, 98, 96, 63], [12, 44, 54, 26, 54, 86, 31, 97, 22, 48, 8, 80, 28, 78, 68, 24, 83, 25, 47, 17, 66, 91, 8, 62, 37, 5, 46, 4, 59, 70, 29, 8, 48, 74, 99, 61, 53], [74, 64, 16, 76, 25, 79, 64, 78, 60, 70, 67, 27, 17, 89, 35, 69, 62, 94, 82, 84, 27, 44, 81, 63, 98, 56, 8, 57, 76, 61, 99, 3, 47, 14, 45, 79, 39], [67, 24, 62, 2, 69, 68, 2, 62, 11, 17, 12, 83, 77, 83, 84, 21, 56, 31, 31, 69, 40, 2, 11, 52, 24, 48, 62, 95, 2, 90, 17, 60, 55, 49, 75, 55, 42], [77, 90, 94, 20, 72, 64, 84, 75, 28, 75, 73, 36, 27, 6, 28, 13, 87, 47, 11, 85, 39, 24, 75, 45, 90, 48, 42, 84, 59, 29, 68, 82, 46, 58, 12, 32, 95], [8, 89, 11, 26, 41, 60, 19, 48, 17, 63, 10, 34, 93, 51, 45, 28, 18, 96, 36, 5, 82, 80, 3, 6, 97, 60, 80, 44, 66, 66, 69, 92, 52, 1, 5, 68, 93], [66, 79, 5, 59, 95, 26, 14, 41, 75, 83, 74, 52, 42, 81, 82, 60, 89, 15, 47, 33, 95, 37, 47, 36, 70, 46, 52, 72, 75, 26, 29, 2, 24, 18, 33, 85, 86], [33, 32, 33, 40, 62, 14, 45, 26, 27, 10, 71, 81, 43, 68, 97, 16, 24, 21, 93, 50, 79, 62, 92, 52, 18, 8, 9, 59, 44, 70, 98, 67, 18, 83, 73, 13, 40], [69, 47, 24, 37, 44, 46, 44, 75, 60, 74, 3, 17, 51, 5, 35, 82, 91, 90, 57, 31, 77, 60, 80, 50, 22, 80, 72, 32, 18, 33, 64, 45, 38, 30, 64, 42, 13], [77, 68, 42, 6, 79, 27, 96, 53, 7, 31, 88, 66, 72, 71, 65, 8, 53, 68, 30, 83, 61, 37, 84, 45, 53, 13, 32, 62, 2, 77, 8, 96, 48, 14, 85, 33, 36], [85, 59, 70, 69, 48, 30, 28, 41, 76, 58, 41, 11, 6, 20, 91, 29, 73, 48, 71, 85, 82, 15, 2, 97, 75, 53, 55, 70, 13, 44, 58, 17, 41, 25, 69, 14, 29], [52, 30, 12, 91, 95, 93, 91, 69, 9, 26, 27, 15, 79, 98, 14, 2, 46, 70, 80, 73, 80, 44, 86, 19, 72, 44, 45, 85, 67, 79, 66, 22, 17, 58, 80, 47, 14], [41, 69, 55, 21, 80, 31, 32, 80, 9, 37, 9, 21, 56, 8, 24, 80, 95, 20, 5, 50, 2, 67, 58, 96, 89, 99, 30, 15, 93, 2, 70, 93, 22, 70, 93, 62, 81], [96, 82, 25, 18, 46, 75, 69, 63, 54, 27, 44, 62, 70, 75, 29, 96, 4, 69, 60, 82, 72, 23, 38, 62, 12, 85, 22, 96, 58, 92, 61, 18, 67, 94, 77, 65, 35], [39, 26, 17, 50, 32, 22, 39, 89, 32, 88, 59, 8, 44, 30, 77, 23, 64, 77, 30, 70, 94, 98, 17, 88, 73, 54, 19, 31, 25, 97, 38, 55, 50, 37, 35, 96, 60], [86, 67, 75, 88, 98, 30, 15, 75, 84, 88, 74, 39, 99, 42, 95, 27, 5, 76, 98, 75, 29, 62, 91, 56, 43, 80, 79, 13, 97, 5, 94, 50, 49, 90, 73, 69, 99], [55, 59, 1, 67, 9, 26, 66, 92, 20, 90, 14, 2, 21, 59, 19, 46, 15, 32, 36, 78, 35, 9, 98, 95, 25, 41, 44, 74, 98, 49, 55, 15, 66, 62, 26, 42, 35], [45, 32, 62, 64, 52, 96, 43, 92, 55, 44, 91, 79, 59, 54, 88, 85, 1, 85, 87, 22, 50, 31, 50, 29, 39, 1, 65, 50, 18, 49, 75, 37, 70, 76, 35, 72, 43], [65, 43, 66, 35, 34, 42, 80, 8, 6, 40, 68, 23, 63, 14, 89, 58, 36, 34, 76, 21, 45, 58, 15, 45, 17, 50, 88, 55, 92, 31, 31, 85, 97, 10, 66, 53, 11], [56, 79, 89, 34, 87, 43, 92, 68, 3, 14, 29, 85, 17, 70, 45, 53, 50, 48, 69, 65, 74, 5, 28, 96, 71, 42, 60, 2, 22, 92, 97, 95, 98, 10, 28, 88, 78], [36, 61, 2, 51, 34, 35, 43, 11, 32, 38, 47, 81, 85, 95, 5, 64, 86, 53, 29, 1, 30, 26, 86, 10, 13, 25, 15, 1, 75, 44, 35, 13, 19, 48, 12, 73, 84], [82, 64, 25, 6, 5, 38, 12, 55, 66, 67, 26, 51, 31, 6, 30, 96, 82, 39, 9, 99, 73, 63, 70, 99, 4, 30, 45, 26, 74, 70, 31, 26, 71, 8, 61, 85, 38], [48, 62, 97, 16, 3, 62, 56, 67, 99, 87, 12, 88, 55, 13, 15, 7, 24, 13, 19, 67, 5, 50, 74, 64, 48, 49, 84, 80, 63, 7, 98, 34, 79, 5, 57, 74, 42], [72, 85, 45, 71, 40, 9, 64, 93, 60, 20, 17, 39, 63, 22, 71, 45, 28, 6, 81, 66, 61, 8, 7, 80, 66, 22, 43, 49, 71, 26, 98, 54, 39, 12, 41, 99, 2], [52, 93, 84, 53, 55, 19, 26, 37, 13, 87, 25, 58, 47, 23, 3, 51, 78, 79, 35, 78, 17, 6, 58, 84, 48, 10, 14, 27, 68, 83, 52, 51, 45, 66, 57, 27, 47], [88, 42, 63, 58, 68, 66, 46, 22, 85, 54, 78, 84, 98, 84, 33, 73, 42, 38, 77, 13, 55, 69, 97, 58, 49, 50, 46, 1, 91, 39, 6, 52, 68, 73, 63, 90, 2], [61, 24, 64, 5, 65, 50, 55, 35, 71, 4, 50, 85, 73, 90, 58, 1, 20, 75, 32, 13, 28, 10, 2, 5, 71, 97, 71, 66, 14, 85, 18, 14, 13, 83, 21, 30, 35], [96, 51, 55, 58, 82, 71, 12, 74, 38, 3, 46, 73, 57, 71, 26, 46, 48, 18, 63, 44, 57, 59, 82, 62, 46, 18, 85, 15, 6, 60, 59, 82, 23, 32, 35, 55, 35], [2, 24, 90, 62, 90, 44, 4, 22, 51, 16, 56, 30, 66, 37, 18, 19, 94, 9, 31, 82, 69, 74, 86, 49, 40, 80, 23, 94, 60, 10, 75, 92, 30, 25, 27, 72, 74], [98, 93, 17, 27, 23, 91, 74, 80, 70, 1, 89, 49, 17, 33, 32, 14, 4, 96, 62, 17, 89, 14, 6, 11, 28, 9, 72, 30, 60, 44, 38, 80, 64, 84, 74, 62, 53], [99, 7, 63, 10, 21, 94, 70, 34, 12, 75, 55, 68, 87, 33, 33, 14, 2, 3, 52, 18, 35, 68, 8, 71, 37, 44, 26, 11, 57, 81, 69, 77, 20, 99, 82, 14, 77], [86, 13, 54, 5, 89, 15, 79, 15, 86, 36, 85, 17, 13, 59, 94, 16, 60, 16, 50, 99, 49, 2, 8, 91, 69, 92, 58, 52, 5, 23, 42, 74, 26, 71, 82, 83, 2], [89, 44, 88, 67, 64, 70, 91, 85, 18, 33, 46, 80, 57, 85, 66, 51, 45, 2, 39, 3, 80, 28, 28, 97, 31, 44, 20, 11, 11, 39, 6, 64, 63, 60, 63, 31, 38], [99, 18, 9, 42, 28, 67, 23, 10, 5, 2, 25, 60, 87, 67, 53, 17, 41, 33, 92, 5, 87, 73, 70, 6, 73, 81, 13, 3, 73, 14, 67, 36, 84, 46, 82, 1, 20]]]; int [] param1 = [0, 3, 3, 13, 12, 22, 34, 37, 3, 36]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i], param1[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
FIND_ONE_EXTRA_CHARACTER_STRING_1
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ char [] results = [' ', '3', '0', 's', '6', '2', 'q', '4', '0', 'v']; string [] param0 = ["obfla mmmyvghh", "2941", "0111111", "owvbfsti", "4937516500", "101110100", "hyzscjqfbe", "58443", "1100", "zudyuibvnaeeb"]; string [] param1 = ["obfla mmmyvghh", "23941", "01011111", "owvsbfsti", "49376516500", "1011210100", "hyzscjqqfbe", "584443", "11000", "zudyvuibvnaeeb"]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i], param1[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
BREAK_NUMBER_THREE_PARTS_1
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ long [] results = [2628, 2628, 703, 10, 4851, 2485, 136, 1225, 3081, 28]; long [] param0 = [71, 71, 36, 3, 97, 69, 15, 48, 77, 6]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
FIND_THE_ELEMENT_BEFORE_WHICH_ALL_THE_ELEMENTS_ARE_SMALLER_THAN_IT_AND_AFTER_WHICH_ALL_ARE_GREATER_THAN_IT
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [3, -1, -1, -1, 28, -1, 8, -1, -1, -1]; int [] [] param0 = [[4, 24, 30, 33, 56, 67, 87, 90], [72, -48, 12, 4, 46, 36, 2, 58, 82, -88, -14, 56, 90, 76, 18, -6, -28, 18, 88, 90, 40, -68, -10, -82, -28, 16, 32, -90, 12, -86, -16, 78, -98, -52, -26, 80, 6, 50, 40, -12, 52, 38, -92, 94, -32, 14, -80, -88, 48], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [51, 87, 46, 76, 2, 89, 56, 34, 49, 61, 44, 73, 14, 60, 89], [-90, -90, -80, -72, -68, -64, -62, -62, -60, -46, -44, -44, -44, -42, -42, -32, -22, -22, -18, -2, 4, 6, 10, 12, 14, 30, 34, 34, 40, 56, 56, 56, 58, 68, 74, 78, 78, 82, 84, 86, 88, 90, 92], [0, 0, 0, 1, 1, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 1, 1, 0, 0, 0, 1, 1, 0], [7, 8, 11, 12, 15, 17, 28, 34, 57, 61, 66, 76, 92], [-22, -96, -78, -60, 34, -18, 86, -42, -78, 76, 8, 28, -80, 80, 6, -72, 34, 66, 84, 50, -4, 18, 72, -66, -68, -24, 56, -12, -70, 24, -82], [0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1], [79, 81, 55, 6, 78, 93, 81, 33, 29, 1, 27, 49, 21, 58, 22, 65, 44, 95, 6, 51, 75, 42, 14, 55, 79, 82, 90, 8, 15, 15, 53, 98, 76, 43, 33]]; int [] param1 = [4, 28, 30, 11, 29, 26, 9, 19, 9, 30]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i], param1[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
SUM_K_TH_GROUP_ODD_POSITIVE_NUMBERS_1
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [185193, 884736, 2744, 262144, 13824, 405224, 614125, 19683, 474552, 1]; int [] param0 = [57, 96, 14, 64, 24, 74, 85, 27, 78, 1]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
FIND_THE_MAXIMUM_ELEMENT_IN_AN_ARRAY_WHICH_IS_FIRST_INCREASING_AND_THEN_DECREASING
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [94, 92, 1, 83, 86, 0, 97, 86, 1, 61]; int [] [] param0 = [[11, 15, 16, 19, 24, 25, 26, 28, 34, 34, 43, 61, 63, 66, 67, 72, 77, 79, 81, 83, 87, 94, 99], [8, 92], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [84, 39, 92, 89, 38, 75, 18, 39, 83, 67, 41, 46, 49, 27], [-98, -94, -88, -84, -74, -72, -58, -52, -48, -48, -46, -42, -42, -32, -30, -30, -18, -10, -8, -8, -6, -4, 4, 6, 28, 30, 34, 38, 44, 48, 56, 58, 60, 64, 86], [0, 1, 0], [5, 9, 10, 16, 18, 19, 23, 24, 26, 33, 37, 44, 46, 54, 55, 57, 58, 59, 63, 64, 70, 75, 77, 81, 83, 84, 85, 85, 88, 89, 96, 97, 99], [86, 20, -50, 74, -78, 86], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [16, 57, 65, 61, 17, 63, 7, 35, 69, 91, 30, 44, 99, 80, 6, 80, 56, 8, 84, 95, 20, 73, 30, 62, 77, 26, 66, 61, 61, 45]]; int [] param1 = [15, 1, 23, 8, 31, 2, 20, 3, 19, 28]; int [] param2 = [21, 1, 15, 13, 34, 2, 31, 5, 18, 22]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i], param1[i], param2[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
LEXICOGRAPHICALLY_MINIMUM_STRING_ROTATION
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ string [] results = ["echlonw", "2", "001", "aghbcz", "05505687982061", "000100101111", "yhznnyulljp", "17599845449992", "01111", "cyejsyjwzqvypg"]; string [] param0 = ["onwechl", "2", "100", "ghbcza", "50568798206105", "001011110001", "lljpyhznnyu", "54499921759984", "11101", "qvypgcyejsyjwz"]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
COUNT_NUMBER_OF_SOLUTIONS_OF_X2_1_MOD_P_IN_GIVEN_RANGE
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [11, 1, 6, 4, 1, 11, 3, 17, 1, 9]; int [] param0 = [94, 11, 88, 85, 74, 96, 49, 50, 21, 81]; int [] param1 = [36, 79, 63, 43, 89, 33, 51, 24, 26, 19]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i], param1[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
MAXIMIZE_VOLUME_CUBOID_GIVEN_SUM_SIDES
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [11132, 4096, 7600, 392, 100, 10648, 0, 15625, 7220, 17576]; int [] param0 = [67, 48, 59, 22, 14, 66, 1, 75, 58, 78]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
PROGRAM_PRINT_SUM_GIVEN_NTH_TERM_1
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [1764, 1600, 4489, 5329, 324, 256, 5476, 1089, 8464, 484]; long [] param0 = [42, 40, 67, 73, 18, 16, 74, 33, 92, 22]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
DECIMAL_REPRESENTATION_GIVEN_BINARY_STRING_DIVISIBLE_10_NOT
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ bool [] results = [true, false, false, true, true, false, true, false, false, true]; string [] param0 = ["101000", "39613456759141", "11", "poihjo", "2", "0000101", "t s dzkedx gk", "3944713969", "1000", "ifyugdpmt"]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
FIND_N_TH_ELEMENT_FROM_STERNS_DIATOMIC_SERIES
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [11, 2, 5, 3, 5, 11, 11, 4, 1, 7]; int [] param0 = [37, 24, 13, 56, 26, 67, 82, 60, 64, 65]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
COUNT_SUBARRAYS_TOTAL_DISTINCT_ELEMENTS_ORIGINAL_ARRAY
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [1, 4, 160, 1, 1, 609, 1, 1, 91, 1]; int [] [] param0 = [[13, 39, 49, 52, 53, 69, 72, 79, 83, 96], [-98, -98, 22, -10, -28, 0, 56, 72, 36, 88, 96, 22, 90, 74, -60, -64, 0, 2, -42, 0, 94, -82, -74], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [35, 23, 41, 58, 66, 92, 3, 33, 78, 70, 80, 86, 21, 21, 74, 19], [-98, -80, -52, -10, 4, 76], [1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 0, 0, 1, 1, 0, 1, 1, 1, 1], [2, 7, 10, 17, 26, 36, 37, 85, 87, 88], [64, -2, -94, -84, -48, 86], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [91, 49, 94, 81, 64, 5, 13, 70, 82, 9, 80, 82]]; int [] param1 = [5, 20, 26, 12, 3, 36, 8, 5, 20, 9]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i], param1[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
MINIMUM_SUM_SUBSEQUENCE_LEAST_ONE_EVERY_FOUR_CONSECUTIVE_ELEMENTS_PICKED_1
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [188, -76, 6, 48, -366, 1, 61, -474, 0, 36]; int [] [] param0 = [[4, 4, 9, 26, 31, 31, 33, 35, 40, 45, 48, 52, 57, 60, 69, 75, 82, 89, 90, 92, 95, 97], [60, -68, 30, -62, -8, 48, -20, 30, 16, -60, -20], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [15, 70, 50, 28, 67, 11, 27, 42, 1, 61, 37, 8, 66, 54, 50, 91, 86, 57, 4], [-98, -92, -84, -80, -70, -58, -58, -48, -42, -14, -8, 24, 30, 32, 42, 62, 68, 70, 72, 88], [1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0], [4, 5, 5, 10, 12, 13, 16, 19, 19, 21, 22, 25, 26, 29, 30, 33, 34, 44, 46, 52, 55, 55, 56, 78, 86, 88, 88, 90, 92], [40, -50, -96, 78, 82, -16, 26, 8, 38, 38, 54, -24, 88, 96, -42, -84, -28, -32, -64, 74, 74, -10, -8, 66, 14, -78, 56, -22, -90, 66, -68], [0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1], [29, 38, 20, 25, 16, 97, 16, 90, 30, 99]]; int [] param1 = [19, 5, 43, 15, 16, 7, 16, 26, 7, 9]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i], param1[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
STEINS_ALGORITHM_FOR_FINDING_GCD
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [1, 1, 1, 1, 1, 3, 1, 1, 1, 2]; int [] param0 = [37, 58, 89, 75, 59, 84, 47, 37, 83, 28]; int [] param1 = [93, 13, 27, 14, 47, 39, 76, 75, 62, 58]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i], param1[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
FIRST_UPPERCASE_LETTER_IN_A_STRING_ITERATIVE_AND_RECURSIVE
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ char [] results = ['h', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00']; string [] param0 = ["ph", "96544000", "000010000", "ujqpx", "20684847994", "111", "rclkv", "45173693434", "11111011001101", "f"]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
SUM_TWO_LARGE_NUMBERS
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ string [] results = ["575584", "0526110507350", "121110010", "74169", "614", "01110101112", "106743", "898423490593", "01211112110121", "359233"]; string [] param0 = ["12687", "0526110506447", "011010010", "70234", "3", "0101", "98353", "2317170", "111111000010", "2341"]; string [] param1 = ["562897", "903", "110100000", "3935", "611", "01110101011", "8390", "898421173423", "01100001110111", "356892"]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i], param1[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
PADOVAN_SEQUENCE
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [1, 351, 151, 3, 4, 9, 49, 4410, 12, 7]; int [] param0 = [1, 22, 19, 5, 6, 9, 15, 31, 10, 8]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
CASSINIS_IDENTITY
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [-1, 1, 1, 1, 1, -1, -1, 1, -1, 1]; int [] param0 = [67, 2, 58, 6, 42, 17, 37, 44, 23, 40]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
COUNT_OPERATIONS_MAKE_STRINGAB_FREE
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [0, 0, 0, 5, 0, 0, 0, 0, 0, 9]; char [] [] param0 = [['l', 'k', 'y'], ['1', '0', '9', '5', '7', '4', '6', '0', '4', '8', '0', '1', '4', '1', '8', '9', '1', '5', '4', '4', '8', '0', '5', '8', '9', '8', '1', '9', '7', '0', '4', '2', '5', '2', '4', '6', '6', '5', '3', '1', '1', '0', '6'], ['0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1'], ['a', 'l', 'a', 'l', 'g', ' ', 'p', 'b'], ['0', '1', '1', '1', '2', '2', '4', '5', '5', '5', '6', '6', '6', '7', '9'], ['0'], [' ', 'a', 'b', 'b', 'b', 'b', 'd', 'g', 'g', 'h', 'h', 'h', 'i', 'i', 'j', 'j', 'j', 'l', 'm', 'n', 'o', 'q', 'u', 'u', 'x', 'y', 'y', 'z', 'z', 'c', 'c', 'e', 'f', 'h', 'k', 'o', 'p', 'q', 'q', 's', 'v', 'z'], ['2', '5', '7', '5', '2', '3', '9'], ['0', '0', '0', '0', '0', '0', '1', '1', '1', '1', '1', '1', '1', '1', '1'], ['a', 'z', 'm', ' ', 'l', 'x', 'x', 'b', 'i', 'j']]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
LARGEST_SUBARRAY_WITH_EQUAL_NUMBER_OF_0S_AND_1S_1
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [0, 0, 10, 0, 0, 0, 0, 2, 2, 0]; int [] [] param0 = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 42, 60, 66, 69, 70, 70, 73, 74, 80, 99], [1, -66], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 26, 44, 32], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 72, 74, 86, 92, 94], [1, 1, 1, 1, 1, 1, 0, 0, 0], [1, 64, 86], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, -68, 12, -44, 62, 60, -34, -52, 18], [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 53]]; int [] param1 = [9, 1, 19, 8, 34, 4, 1, 17, 9, 8]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i], param1[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
CONSTRUCT_LEXICOGRAPHICALLY_SMALLEST_PALINDROME
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ string [] results = ["", "", "", "", "", "", "dnr", "", "", ""]; char [] [] param0 = [['a', 'b', 'c', 'g', 'i', 'l', 'l', 'o', 'o', 'p', 'q', 's', 'w', 'y', 'c', 'd', 'e', 'f', 'f', 'i', 'm', 'm', 'o', 'q', 'v', 'w', 'x', 'x', 'y', 'z'], ['3', '2', '3', '6', '8', '9', '0', '5', '0', '5', '8', '7', '9', '0', '3', '6', '9', '6', '2', '4', '2', '3', '1', '2', '7', '9', '1', '8', '8', '7', '1', '1', '6', '1'], ['0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1'], ['z', 'v', 'b', 'y', 'n', 'k', 'h', 'c', 't', 'l', 'g'], ['1', '2', '5', '6', '7'], ['0', '0', '1', '0'], ['d', 'n', 'r'], ['0', '9', '9', '1', '2', '1', '5', '3', '7', '5', '9', '2', '4', '4', '8', '9', '6', '4', '2', '8', '8', '5', '5', '7', '1', '7', '6', '2', '2', '2', '3', '3', '7', '9'], ['0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1'], ['e', 's', 'i', 's', 'h', 'h', 'i', 'm', 'v', 'b']]; int [] param1 = [27, 30, 27, 7, 4, 3, 1, 24, 21, 6]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i], param1[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
COUNT_DERANGEMENTS_PERMUTATION_SUCH_THAT_NO_ELEMENT_APPEARS_IN_ITS_ORIGINAL_POSITION_1
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [2, 9, 44, 265, 1854, 14833, 133496, 1334961, 14684570, 176214841]; int [] param0 = [3, 4, 5, 6, 7, 8, 9, 10, 11, 12]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
NUMBER_ORDERED_PAIRS_AI_AJ_0
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [54, 6, 506, 172, 266, 100, 238, 116, 14, 108]; int [] [] param0 = [[17, 20, 32, 35, 35, 36, 43, 47, 59, 59, 68, 69, 70, 70, 75, 82, 88, 94, 96, 99], [-78, -40, 58, -36, 34, -12, -38, 48, -66, 16, 50, -26, -22, 46, -70, -68, -44, -52, -78, -50], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [49, 57, 17, 37, 56, 61, 10, 3, 33, 33, 70, 35, 50, 85, 48, 65, 83, 21, 96, 19, 66, 43, 69, 17, 60, 87, 82, 3, 83, 44, 63, 19, 55, 58, 77, 76, 50, 96], [-94, -88, -86, -80, -80, -72, -64, -60, -58, -58, -58, -50, -44, -32, -8, -8, 0, 6, 8, 10, 14, 14, 18, 28, 34, 34, 46, 54, 56, 56, 56, 64, 66, 66, 70, 82, 84, 88, 96], [1, 1, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0], [1, 3, 10, 11, 13, 14, 15, 17, 20, 25, 26, 26, 27, 29, 32, 36, 36, 36, 42, 46, 47, 49, 51, 54, 54, 55, 60, 66, 67, 68, 68, 68, 72, 77, 78, 79, 83, 84, 92, 98], [-76, -72, 16, 38, -60, 44, -2, -76, -76, -56, 40, 36, 50, -50, -32, 48, -96, 80, 84, 60, 84, 38, -54, -42, 48, 30, 66, -62, -52, -94, 64, -16, 54, 98], [0, 0, 1, 1, 1, 1], [63, 82, 22, 84, 11, 62, 18, 43, 57, 25, 4, 27, 62, 46, 55, 16, 1, 9, 10, 73, 36, 80, 95, 87, 47, 64, 27, 25, 70]]; int [] param1 = [17, 11, 23, 37, 33, 13, 32, 28, 5, 22]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i], param1[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
SMALLEST_POWER_OF_2_GREATER_THAN_OR_EQUAL_TO_N
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [16, 32, 1, 32, 128, 128, 64, 64, 128, 64]; int [] param0 = [13, 27, 1, 24, 98, 94, 36, 41, 74, 39]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
COMPOSITE_NUMBER
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ bool [] results = [true, false, false, true, true, true, true, false, true, true]; int [] param0 = [62, 13, 29, 72, 30, 20, 10, 47, 91, 52]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
SUM_OF_ALL_PROPER_DIVISORS_OF_A_NATURAL_NUMBER
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [1, 23, 28, 1, 22, 1, 33, 1, 40, 1]; int [] param0 = [2, 57, 28, 43, 38, 29, 45, 47, 44, 3]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
K_TH_DISTINCT_OR_NON_REPEATING_ELEMENT_IN_AN_ARRAY_1
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [73, -1, -1, 6, -1, -1, 79, -1, -1, 45]; int [] [] param0 = [[17, 25, 27, 27, 73, 91], [-86, -74, -88, 28, -32, 20, -34, 32], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [5, 11, 36, 27, 6, 24, 58, 44, 14, 68], [-98, -98, -94, -92, -86, -86, -70, -66, -64, -64, -58, -52, -46, -44, -44, -38, -38, -28, -24, -12, -10, -4, -2, 2, 8, 10, 12, 20, 22, 26, 26, 36, 42, 52, 54, 60, 60, 68, 82, 82, 92, 98], [0, 1, 0, 0, 1, 1, 1, 0, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1, 0, 1, 1, 1, 1], [3, 8, 9, 10, 10, 13, 14, 16, 18, 23, 24, 25, 27, 28, 30, 33, 36, 39, 42, 42, 44, 45, 45, 48, 52, 52, 55, 55, 59, 59, 59, 60, 61, 61, 66, 66, 67, 68, 71, 72, 75, 76, 79, 80, 94, 94], [-12, 56, -48, 52, -96, -84, 32, -12, -6, 82, 70, 18, 66, -6, -22, -46, -54, 18, -14, -32, 68, 82, -44, -42, 10, 56, 8, -56, 24, 20, -38, 30, -52, -66, 82, -64, 68, -82, 52, -88, -34, -26, 94, 58, -4, -84, -60], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 23, 75, 84, 28, 34, 15, 13, 51, 69, 94, 45, 38, 38]]; int [] param1 = [5, 5, 33, 7, 27, 27, 44, 37, 22, 13]; int [] param2 = [3, 6, 32, 5, 27, 20, 26, 46, 21, 12]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i], param1[i], param2[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
SUM_K_TH_GROUP_ODD_POSITIVE_NUMBERS
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [753571, 140608, 474552, 132651, 274625, 59319, 74088, 1728, 175616, 941192]; int [] param0 = [91, 52, 78, 51, 65, 39, 42, 12, 56, 98]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }
SEARCH_AN_ELEMENT_IN_A_SORTED_AND_PIVOTED_ARRAY
import std.stdio; import std.math; import std.conv; import std.algorithm; //TOFILL// void main(){ int [] results = [8, 1, 3, -1, -1, -1, -1, -1, -1, -1]; int [] [] param0 = [[5, 6, 7, 8, 9, 10, 1, 2, 3], [30, 40, 50, 10, 20], [40, 50, 55, 67, 70, 4, 5, 6, 7], [14, 41, 38, 67, 99, 11, 96, 52, 4, 29, 22, 57, 3, 45, 14, 76, 70, 38, 93, 5, 74, 50, 18, 17, 20, 34, 51, 69, 86, 73], [-90, -88, -88, -82, -62, -44, -38, -38, -36, -34, -34, -32, -30, -28, -28, -26, -24, -20, -16, -16, -16, -6, -6, 2, 6, 8, 10, 14, 18, 18, 46, 50, 50, 54, 56, 58, 58, 60, 62, 70, 70, 74, 82, 84, 88, 94, 96], [1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0], [4, 7, 9, 10, 10, 11, 14, 16, 17, 21, 25, 27, 31, 34, 34, 34, 38, 41, 42, 42, 52, 56, 56, 58, 60, 66, 67, 68, 68, 70, 72, 74, 76, 82, 88, 88, 88, 89, 91, 93, 94, 95, 95], [92, 60, -60, 64, 18, 70, 56, 34, 58, 14, 28, -72, -22, -74, -46, -28, 64, 88, 18, -50, -14, -20, 64, 6, -4, -98, 60, 98, 84, -58, -98, 66, 80, 68, -42, -58, 82, 90, -72, 34, 34, 80, 88, -64, 66, -20, -26], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [33, 18, 98, 47, 76, 58, 29, 68, 62, 78, 12, 95, 20, 88, 39, 12, 43, 45, 5, 45, 96, 64, 38, 28, 70, 25, 65, 79, 39]]; int [] param1 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; int [] param2 = [8, 4, 9, 16, 24, 10, 23, 25, 40, 16]; int [] param3 = [3, 40, 67, 15, 24, 10, 39, 25, 29, 28]; int n_success = 0; for (int i = 0; i < param0.length; i++) { if (results[i] == f_filled(param0[i], param1[i], param2[i], param3[i])) { n_success += 1; }} writefln("#Results:%d, %d", n_success, param0.length); }