Skip to content

Commit

Permalink
golomb
Browse files Browse the repository at this point in the history
  • Loading branch information
zpdomingues16 committed Dec 6, 2021
1 parent 04a9464 commit 9a9db78
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions ex1/Golomb.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
#include <iostream>
#include <fstream>



using namespace std;

class Golomb{

public:
int m;



void encode(int n, int m){
int q;
int r;

q = n/m; //código unário
r = n%m; //código binário


}

void decode(){


}



}

0 comments on commit 9a9db78

Please sign in to comment.