This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Simple MD5 implementation | |
* | |
* Compile with: gcc -o md5 -O3 -lm md5.c | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <stdint.h> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bool like0hn0(std::vector<std::vector<int>> grid) { | |
for(int i = 0; i < grid.size(); i++) | |
for(int j = 0; j < grid.size(); j++) | |
if(grid[i][j != 0]) | |
if(!isValid(grid, i, j)) return false; | |
} | |
bool isValid(std::vector<std::vector<int>> grid, int i, int j) { | |
int value = grid[i][j]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package huffmanTarea; | |
import java.io.IOException; | |
//import java.util.Arrays; | |
import java.util.Arrays; | |
import huffmanTarea.huffAlgorithm.Node; | |
import huffmanTarea.huffAlgorithm.priorityQueue; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package huffmanTarea; | |
import java.io.*; | |
import java.util.regex.Pattern; | |
//import java.util.Arrays; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.iteso.semana7; | |
import java.io.*; | |
import java.util.Arrays; | |
import java.io.Serializable; | |
public class Files { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.*; | |
import java.util.Arrays; | |
public class huffAlgorithm { | |