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
#include <vector> | |
#include <list> | |
#include <map> | |
#include <set> | |
#include <queue> | |
#include <deque> | |
#include <stack> | |
#include <bitset> | |
#include <algorithm> | |
#include <functional> |
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
#include <vector> | |
#include <list> | |
#include <map> | |
#include <set> | |
#include <queue> | |
#include <deque> | |
#include <stack> | |
#include <bitset> | |
#include <algorithm> | |
#include <functional> |
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
;;smart compilling in a keystroke | |
(global-set-key [f12] 'compile) | |
;;shush toolbar! shush menubar! | |
(menu-bar-mode 0) | |
(tool-bar-mode 0) | |
;; load the file | |
(require 'gnuplot-mode) | |
(add-to-list 'load-path "~/.emacs.d/lisp/gnuplot-mode/") |
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
#include <string> | |
#include <vector> | |
#include <iostream> | |
using namespace std; | |
template<typename _devolver_, typename _tipoVector_> | |
_devolver_ recorrer(vector<_tipoVector_> V, | |
_devolver_ procedimiento(int, //indice | |
_devolver_, //la respuesta anterior |
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
//#define NDEBUG | |
#include <cstring> | |
#include <string> | |
#include <queue> | |
#include <math.h> | |
#include <iostream> | |
#include <vector> | |
#include <algorithm> | |
#include <sstream> |
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
//#define NDEBUG | |
#define INF numeric_limits<int>::max() | |
#include <limits> | |
#include <string> | |
#include <queue> | |
#include <math.h> | |
#include <iostream> | |
#include <vector> | |
#include <algorithm> |
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
/* | |
Name : Dining Philosophers Problem | |
Author : jishnu7 | |
Web : http://thecodecracker.com | |
Date : 26-Sep-2010 | |
Description : C Program to solve Dining philosophers problem | |
License : GNU GPL License | |
Traducido al español y comentado por Vengadora. | |
*/ |
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 game = new Phaser.Game(800, 600, | |
Phaser.AUTO, '', | |
{ preload: preload, | |
create: create, | |
update: update | |
} | |
); |
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
// función indispensable para phaser. | |
function preload() { //Cargando los recursos que necesitaremos. | |
game.load.image('wall', 'assets/wall.png'); | |
game.load.image('acera', 'assets/acera.png'); | |
game.load.spritesheet('uno', 'assets/uno.png', 16, 16); | |
} | |
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
game.add.tileSprite(0,0, | |
game.world.width, | |
game.world.height, | |
'acera', | |
0 | |
); |
OlderNewer