This commit is contained in:
parent
38e4dfbeea
commit
f97c4e7790
10
.drone.yml
Normal file
10
.drone.yml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: run_algo
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: do_homework
|
||||||
|
image: "python:3.8"
|
||||||
|
commands:
|
||||||
|
- pip3 install -r requirements.txt
|
||||||
|
- python3 app.py
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -128,4 +128,4 @@ dmypy.json
|
|||||||
|
|
||||||
# Pyre type checker
|
# Pyre type checker
|
||||||
.pyre/
|
.pyre/
|
||||||
|
.idea/
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
# mfe_network_coding_b
|
# mfe_network_coding_b
|
||||||
|
|
||||||
|
[![Build Status](https://drone.kmlabz.com/api/badges/tormakris/mfe_network_coding_b/status.svg)](https://drone.kmlabz.com/tormakris/mfe_network_coding_b)
|
10
Y8O353.txt
Normal file
10
Y8O353.txt
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
46 34 102
|
||||||
|
46 47 58
|
||||||
|
126 64 59
|
||||||
|
44 5 105
|
||||||
|
90 57 95
|
||||||
|
111 17 72 50 107 111
|
||||||
|
3 72 10 82 5 91
|
||||||
|
123 86 35 109 54 111
|
||||||
|
28 101 38 35 47 93
|
||||||
|
86 6 70 97 0 17
|
8
app.py
Normal file
8
app.py
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
|
import numpy
|
||||||
|
import scipy
|
||||||
|
|
||||||
|
headers = [[46, 34, 102], [46, 47, 58], [126, 64, 59], [44, 5, 105], [90.57, 95]]
|
||||||
|
messages = [[111, 17, 72, 50, 107, 111], [3, 72, 10, 82, 5, 91], [123, 86, 35, 109, 54, 111], [28, 101, 38, 35, 47.93],
|
||||||
|
[86, 6, 70, 97, 0, 17]]
|
0
network_coding.py
Normal file
0
network_coding.py
Normal file
2
requirements.txt
Normal file
2
requirements.txt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
numpy
|
||||||
|
scipy
|
Loading…
Reference in New Issue
Block a user