Skip to content

Instantly share code, notes, and snippets.

View WilbertMarins's full-sized avatar
🎯
Focusing

Wilbert Marins WilbertMarins

🎯
Focusing
View GitHub Profile
/*
This exercise has been updated to use Solidity version 0.5
Breaking changes from 0.4 to 0.5 can be found here:
https://solidity.readthedocs.io/en/v0.5.0/050-breaking-changes.html
*/
pragma solidity ^0.5.0;
contract SupplyChain {
@marcoscastro
marcoscastro / dijkstra.cpp
Last active January 21, 2025 01:33
Programação em C++ - Algoritmo de Dijkstra
// Implementação do algoritmo de Dijkstra
// Teste: http://br.spoj.com/problems/ENGARRAF/
#include <iostream>
#include <list>
#include <queue>
#define INFINITO 10000000
using namespace std;