mirror of
https://github.com/Steffo99/unimore-hpc-assignments.git
synced 2024-11-23 00:24:23 +00:00
9 lines
182 B
Python
9 lines
182 B
Python
|
import random
|
||
|
l = "uint8_t input[512*512] = {\n"
|
||
|
for i in range((512*512)-1):
|
||
|
l += str(random.randint(0,255))
|
||
|
l += ",\n"
|
||
|
l += str(random.randint(0,255))
|
||
|
l += "};\n"
|
||
|
|
||
|
print(l)
|