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
| using namespace std; | |
| #include <algorithm> | |
| #include <iostream> | |
| #include <iterator> | |
| #include <sstream> | |
| #include <fstream> | |
| #include <cassert> | |
| #include <climits> | |
| #include <cstdlib> | |
| #include <cstring> |
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
| using System; | |
| using System.Collections.Generic; | |
| using System.IO; | |
| using System.Linq; | |
| using System.Text; | |
| namespace SuffixTreeAlgorithm | |
| { | |
| public class SuffixTree | |
| { |
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
| # M.I.T Data Science 6.00.2x Problem Set 2: Simulating robots | |
| import math | |
| import random | |
| import ps2_visualize | |
| import pylab | |
| # For Python 2.7: | |
| from ps2_verify_movement27 import testRobotMovement |
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 "SomeNeededResource.h" // Include dependancies (if any) here at the top | |
| #define LED = 13; // Global defines should immediately follow the dependancies | |
| #define LED = 12; | |
| int switchState = 13; // Global variables and/or constants should be before the setup function | |
| void setup() { // Code placed in the setup function will run _ONCE_ on MCU init | |
| // one would setup I/O pins etc here, i.e.... | |
| pinMode(LED, OUTPUT); // Set pin 13 to an output |
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
| /* | |
| _____ ___ _____ ______ ___________ _____ | |
| / ___|/ _ \_ _| | _ \ _ | ___ \ ___| | |
| \ `--./ /_\ \| |______| | | | | | | |_/ / |__ | |
| `--. \ _ || |______| | | | | | | __/| __| | |
| /\__/ / | | || | | |/ /\ \_/ / | | |___ | |
| \____/\_| |_/\_/ |___/ \___/\_| \____/ | |
| [Satellite Data On Personal Eqipment] |
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 <Helios.h> | |
| /////////// TEMPORARY TEST VARIABLES ////////////////////// | |
| int TheYear = 2013; | |
| int TheMonth = 1; | |
| int TheDay = 16; | |
| double TheHour = 04.00; /* UTC TIME! */ | |
| double TheMinute = 0.00; | |
| double TheSeconds = 0.00; | |
| double YourLongitude = // your longitude [e.g 151.857964]; |