Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
table solution in Creative category for The Secret Room by Sim0000
T = [0,1,2,2,1,1,4,4,1,4,8,2,11,10,5,3,11,10,2,9,19,20,21,21,20,20,23,23,20,23,17,18,19,19,18,18,21,21,18,21,6,7,8,8,7,7,10,10,7,10,5,6,7,7,6,6,9,9,6,9,35,36,37,37,36,36,39,39,36,39,33,34,35,35,34,34,37,37,34,37,3,4,5,5,4,4,7,7,4,7,40,41,42,42,41,41,44,44,41,44,51,52,53,53,52,52,55,55,52,55,59,53,62,61,56,54,62,61,53,60,70,71,72,72,71,71,74,74,71,74,68,69,70,70,69,69,72,72,69,72,57,58,59,59,58,58,61,61,58,61,56,57,58,58,57,57,60,60,57,60,86,87,88,88,87,87,90,90,87,90,84,85,86,86,85,85,88,88,85,88,54,55,56,56,55,55,58,58,55,58,91,92,93,93,92,92,95,95,92,95,200,201,202,202,201,201,204,204,201,204,208,202,211,210,205,203,211,210,202,209,219,220,221,221,220,220,223,223,220,223,217,218,219,219,218,218,221,221,218,221,206,207,208,208,207,207,210,210,207,210,205,206,207,207,206,206,209,209,206,209,235,236,237,237,236,236,239,239,236,239,233,234,235,235,234,234,237,237,234,237,203,204,205,205,204,204,207,207,204,207,240,241,242,242,241,241,244,244,241,244,188,189,190,190,189,189,192,192,189,192,196,190,199,198,193,191,199,198,190,197,207,208,209,209,208,208,211,211,208,211,205,206,207,207,206,206,209,209,206,209,194,195,196,196,195,195,198,198,195,198,193,194,195,195,194,194,197,197,194,197,223,224,225,225,224,224,227,227,224,227,221,222,223,223,222,222,225,225,222,225,191,192,193,193,192,192,195,195,192,195,228,229,230,230,229,229,232,232,229,232,37,38,39,39,38,38,41,41,38,41,45,39,48,47,42,40,48,47,39,46,56,57,58,58,57,57,60,60,57,60,54,55,56,56,55,55,58,58,55,58,43,44,45,45,44,44,47,47,44,47,42,43,44,44,43,43,46,46,43,46,72,73,74,74,73,73,76,76,73,76,70,71,72,72,71,71,74,74,71,74,40,41,42,42,41,41,44,44,41,44,77,78,79,79,78,78,81,81,78,81,26,27,28,28,27,27,30,30,27,30,34,28,37,36,31,29,37,36,28,35,45,46,47,47,46,46,49,49,46,49,43,44,45,45,44,44,47,47,44,47,32,33,34,34,33,33,36,36,33,36,31,32,33,33,32,32,35,35,32,35,61,62,63,63,62,62,65,65,62,65,59,60,61,61,60,60,63,63,60,63,29,30,31,31,30,30,33,33,30,33,66,67,68,68,67,67,70,70,67,70,364,365,366,366,365,365,368,368,365,368,372,366,375,374,369,367,375,374,366,373,383,384,385,385,384,384,387,387,384,387,381,382,383,383,382,382,385,385,382,385,370,371,372,372,371,371,374,374,371,374,369,370,371,371,370,370,373,373,370,373,399,400,401,401,400,400,403,403,400,403,397,398,399,399,398,398,401,401,398,401,367,368,369,369,368,368,371,371,368,371,404,405,406,406,405,405,408,408,405,408,352,353,354,354,353,353,356,356,353,356,360,354,363,362,357,355,363,362,354,361,371,372,373,373,372,372,375,375,372,375,369,370,371,371,370,370,373,373,370,373,358,359,360,360,359,359,362,362,359,362,357,358,359,359,358,358,361,361,358,361,387,388,389,389,388,388,391,391,388,391,385,386,387,387,386,386,389,389,386,389,355,356,357,357,356,356,359,359,356,359,392,393,394,394,393,393,396,396,393,396,2,3,4,4,3,3,6,6,3,6,10,4,13,12,7,5,13,12,4,11,21,22,23,23,22,22,25,25,22,25,19,20,21,21,20,20,23,23,20,23,8,9,10,10,9,9,12,12,9,12,7,8,9,9,8,8,11,11,8,11,37,38,39,39,38,38,41,41,38,41,35,36,37,37,36,36,39,39,36,39,5,6,7,7,6,6,9,9,6,9,42,43,44,44,43,43,46,46,43,46,339,340,341,341,340,340,343,343,340,343,347,341,350,349,344,342,350,349,341,348,358,359,360,360,359,359,362,362,359,362,356,357,358,358,357,357,360,360,357,360,345,346,347,347,346,346,349,349,346,349,344,345,346,346,345,345,348,348,345,348,374,375,376,376,375,375,378,378,375,378,372,373,374,374,373,373,376,376,373,376,342,343,344,344,343,343,346,346,343,346,379,380,381,381,380,380,383,383,380,383,551]
secret_room = lambda n: T[n]
if __name__ == '__main__':
print("Example:")
print(secret_room(5))
#These "asserts" using only for self-checking and not necessary for auto-testing
assert secret_room(5) == 1 #five, four, one, three, two
assert secret_room(3) == 2 #one, three, two
assert secret_room(1000) == 551
print("Coding complete? Click 'Check' to earn cool rewards!")
Sept. 13, 2018
Comments: