start exercise
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Torma Kristóf 2020-10-16 03:15:55 +02:00
parent 38e4dfbeea
commit f97c4e7790
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047
7 changed files with 32 additions and 1 deletions

10
.drone.yml Normal file
View 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
View File

@ -128,4 +128,4 @@ dmypy.json
# Pyre type checker
.pyre/
.idea/

View File

@ -1,2 +1,3 @@
# 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
View 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
View 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
View File

2
requirements.txt Normal file
View File

@ -0,0 +1,2 @@
numpy
scipy