This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
An extremely simple server. | |
Use Python 3. | |
""" | |
import socket | |
from textwrap import dedent | |
class MySimpleServer: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A = [ 1, 839475, 3710479500, 68501160000, 73354444800, 87326720000, 305154490368000, 54800928000, 10686180960000, | |
227971860480000, 284964825600000, 3419577907200000, 838656, 838656, 838656, 838656, 3667722240, 3667722240, | |
3667722240, 3667722240, 44012666880, 44012666880, 44012666880, 44012666880, 44012666880, 44012666880, | |
57555025920, 57555025920, 11971445391360, 11971445391360, 11971445391360, 11971445391360, 11971445391360, | |
11971445391360, 11971445391360, 11971445391360, 11971445391360, 11971445391360, 11971445391360, 11971445391360, | |
143657344696320, 143657344696320, 143657344696320, 143657344696320, 207505053450240, 207505053450240, | |
2490060641402880, 2490060641402880, 2490060641402880, 2490060641402880, 2490060641402880, 2490060641402880, | |
29880727696834560, 243169984512000, 4577317355520000, 4863399690240000, 6079249612800000, 77814395043840000, | |
1167215925657600000, 1368165187584000000, 54713246515200000, 1094264930304000000, 1368165187584000000, | |
43840742400, 43840742400, 43840742400, 43840742400, |