Skip to content

Instantly share code, notes, and snippets.

View KaterineM's full-sized avatar

Katty KaterineM

  • Santiago, Chile.
View GitHub Profile
number = ARGV[0]
(1..number.to_i).each do |i|
puts 2**i
end
@KaterineM
KaterineM / readme.md
Last active April 27, 2016 14:15
sublime-sheme

Entorno de Desarrollo para MIT-Scheme con Sublime Text (2/3)

  • Instalar SublimeText 2/3

  • Instalar PackageControl

  • ctrl+shift+p en Sublime y buscar

    Install package

  • enter

  • Buscar

/*
Copyright (C) 2016 Katerine Muñoz Tello <[email protected]>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
/*
Copyright (C) 2016 Katerine Muñoz Tello <[email protected]>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
@KaterineM
KaterineM / colas.cpp
Created December 6, 2015 23:06
Mostrar la media de edades de personas y los que están por sobre ella. Información desde archivo binario.
/*
Copyright (C) 2015 Katerine Muñoz Tello <[email protected]>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
@KaterineM
KaterineM / pilas.cpp
Last active December 6, 2015 23:04
Unión de dos pilas con archivo binario.
/*
Copyright (C) 2015 Katerine Muñoz Tello <[email protected]>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
/*
Copyright (C) 2015 Katerine Muñoz Tello <[email protected]>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
#include <iostream>
#include <string>
#include <fstream>
#include <stdlib.h>
using namespace std;
int Largo(string palabra);
int cuantasVocales(string palabra, int n);
int main(){
@KaterineM
KaterineM / Subtraction
Last active August 29, 2015 14:23
This program creates a new file with the words of both input files but leaving the intersection of them out.
/*
Copyright (C) 2015 Katerine Muñoz Tello <[email protected]>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
@KaterineM
KaterineM / Union
Last active August 29, 2015 14:23
This program creates a new file with the union of the words of two input files.
/*
Copyright (C) 2015 Katerine Muñoz Tello <[email protected]>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of