scene.org File Archive

File download

<root>­/­parties­/­2023­/­vccc23­/­christmas-diamonds/amix_pc-linux_python3x_vc3-2023.zip

File size:
23 614 bytes (23.06K)
File date:
2024-01-03 14:15:17
Download count:
all-time: 5

Preview

  • amix_pc-linux_python3x_vc3-2023/ dir
  • amix_pc-linux_python3x_vc3-2023/dmnd.py 101B
  • amix_pc-linux_python3x_vc3-2023/dmnd.py_with_source.png 24.41K
  • amix_pc-linux_python3x_vc3-2023/file_id.diz 593B

file_id.diz

<dmnd.exe | dmnd.s>

Author: <Amix / CTG>
Category: <Christmas Challenge>
System:   <PC Manjaro Linux>
Language: <Python 3.11.6 >
Len source code: <# 101>
Len exe file:    <# ->
Instructions:
<preconditions: 
must have installed Python 3.x and it must be executable from every location.
just type: 'python dmnd.py'>
Description:
<The whole diamond thing was stuffed into a single string definition and then completed with slicing.>
Comments:
<Embarrassing, but this last-minute brute force solution proved to be shorter about 20 bytes than my 'elaborate' algorithm - haha ;-)>