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
// Artigo ATAL 2016.1 | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
struct Edge | |
{ | |
int src, dest, weight; | |
}; | |
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
// Artigo ATAL 2016.1 | |
import java.util.*; | |
import java.lang.*; | |
import java.io.*; | |
class Graph | |
{ | |
class Edge implements Comparable<Edge> | |
{ |
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
// Artigo ATAL 2016.1 | |
#include <stdio.h> | |
#include <limits.h> | |
// Número de vertices no grafo | |
#define V 9 | |
int minDistance(int dist[], bool sptSet[]) | |
{ | |
int min = INT_MAX, min_index; |
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
// Artigo ATAL 2016.1 | |
import java.util.*; | |
import java.lang.*; | |
import java.io.*; | |
class ShortestPath | |
{ | |
static final int V=9; | |
int minDistance(int dist[], Boolean sptSet[]) |
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
module org.xtext.example.GenerateAnsic | |
import org.eclipse.xtext.xtext.generator.* | |
import org.eclipse.xtext.xtext.generator.model.project.* | |
var rootPath = ".." | |
Workflow { | |
component = XtextGenerator { |
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
var positions = []; | |
$('.stone.t5').each(function() { | |
if(parseFloat($(this).css('left').replace('px','')) != 0 ) positions.push([ | |
parseFloat($(this).css('left').replace('px','')), | |
parseFloat($(this).css('top').replace('px','')) | |
]); | |
}); | |
copy(JSON.stringify(positions)) | |
//NODE |
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
#!/usr/bin/python | |
#Só funciona para o site https://lermangasonline.xyz | |
#Exemplo de execução: | |
#Recebe 3 argumentos: | |
#primeiro: Url para o manga | |
#Segundo e Terceiro: Do capitulo X até o capitulo Y, sendo X o segundo argumento e Y o terceiro. | |
#Exemplo: | |
#python main.py https://lermangasonline.xyz/sys_mangas/00sdfrw/S/shingeki-no-kyojin 61 90 | |
import sys |
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
------------------------ Atividade 2 --------- | |
2.1 "Como visto em aula, fos principais princípios para construção de | |
um MSN são"- Alessandro | |
2.2.a "Especifique o algorítmo para um método misto para extração | |
de raízes usando o MSN de Bisseção e o de Newton-Raphson (NR)" - ̶F̶e̶l̶i̶p̶e̶ Alessandro --- PRIORITARIA--- | |
2.2.b "Forneça um exemplo numérico que ilustre as vantagens de usar | |
seu método misto acima – i.e., especifique uma f(x)" - ̶C̶é̶s̶a̶r̶ Alessandro |
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 random | |
import time | |
from collections import Counter | |
import matplotlib.pyplot as plt | |
import math | |
x = 0; | |
y = 1; | |
EULER = math.exp(1) | |
BETA = 1 |
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
/****************************************************************************** | |
Online C Compiler. | |
Code, Compile, Run and Debug C program online. | |
Write your code in this editor and press "Run" button to compile and execute it. | |
*******************************************************************************/ | |
#include <stdio.h> |
OlderNewer