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
// 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; |
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
/* | |
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 { |