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
class Laberinto(object): | |
def __init__(self, parent=None): | |
self.fil=5 | |
self.col=5 | |
self.parent = parent | |
self.laberinto=[[[1,1,0,0],[0,1,0,1],[0,1,0,1],[0,1,0,1],[0,1,1,0]],[[1,1,0,0],[0,1,0,1],[0,1,1,0],[1,1,0,1],[0,1,0,0]],[[0,1,0,0],[0,1,0,1],[0,1,0,1],[0,1,1,1],[1,1,1,0]],[[1,1,0,0],[0,1,0,0],[0,1,0,0],[0,1,1,1],[1,1,1,0]],[[0,0,0,0],[0,1,0,1],[0,1,0,1],[0,1,1,1],[1,0,1,0]]] | |
self.posQueso=(1,0) | |
self.posRata=(0,0) | |
##### interfaz (metodos publicos) | |
def cargar(self,fn): |
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
0xCC17BbF62C7cf2fB80C7aC79961804D5169c5abE |
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
0xa873b8BB0d4326a048D2ed303747279234f1441b |
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
const HV = Infinity; | |
const TF = 1000000; | |
let T = 0; | |
const N = 3; // cantidad de empleados | |
const M = 2; // cantidad de empleados online | |
// make array of N items | |
const TPSO = new Array(M).fill(HV); | |
const STOO = new Array(M).fill(0); | |
const TPS = new Array(N).fill(HV); | |
const STO = new Array(N).fill(0); |
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
Cantidad de empleados 1 | |
Cantidad de empleados online 1 | |
Promedio tiempo en espera 14.765223957748791 | |
Porcentaje de arrepentidos 80.34198897660966 | |
Porcentaje tiempo ocioso empleado 0 40.02907723147733 | |
Porcentaje tiempo ocioso empleado online 0 34.11004993625039 | |
Gente que entro / T = 0.1422781578109648 | |
------------------------------------------------------ | |
Cantidad de empleados 2 | |
Cantidad de empleados online 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
Hi Spiral Team, | |
I hope you’re well. I’m Martin Saposnic, a professional developer | |
with over 11 years of experience based in Buenos Aires, Argentina. | |
Growing up in a country where economic instability and stringent | |
financial policies are a way of life, I learned early on that | |
traditional financial systems have inherent limits. This background | |
shaped my understanding of Bitcoin’s potential, not merely as an | |
alternative, but as a vital tool for promoting financial autonomy on | |
a global scale. I’ve been fascinated with Bitcoin for over 8 years, |