This file contains 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 <cstdio> | |
#include <iostream> | |
using namespace std; | |
int main(void) | |
{ | |
int input; | |
cin>>input; | |
int dividend = 7; |
This file contains 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
remise - What is accepted to be true (fact). | |
Probability - The strength of an argument. | |
100 people | |
80 healthy | |
20 ill | |
Hypothesis Testing | |
Text Classification |
This file contains 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 <cstdio> | |
#include <iostream> | |
using namespace std; | |
int main(void) | |
{ | |
int input; | |
cin>>input; | |
int dividend = 7; |
This file contains 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 <cstdio> | |
#include <iostream> | |
#include <stdio.h> | |
using namespace std; | |
int main(void) | |
{ | |
int input; | |
int dividend = 7; | |
int output = input % dividend; | |
char ifilename[] = "bugsin.txt"; |
This file contains 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
Programming Challenges | |
The Programming Contest Training Manual |
This file contains 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
# 07:07:36PM, 10/02/2012 AEST- | |
# euler.py | |
def main(): | |
p1s = input("Position:") | |
t1s = input("Time:") | |
p2s = input("Position:") | |
t2s = input("Time:") |
This file contains 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
# misc.py | |
pi = 3.14159265358979323846264 | |
str_seed = input("Custom seed:") | |
seed = int(str_seed) | |
while 1: | |
seed += 1 | |
result = pi / pi % seed + seed * 2 - seed % seed / pi * pi + 8 | |
print(result) |
This file contains 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
<html> | |
<head> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script> | |
<script type="text/javascript" src="https://raw.github.com/ducksboard/gridster.js/master/dist/jquery.gridster.min.js"></script> | |
<script type="text/javascript"> | |
$(function(){ //DOM Ready | |
$(".gridster ul").gridster({ | |
widget_margins: [10, 10], | |
widget_base_dimensions: [140, 140] |
This file contains 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
// Fizz Buzz Test | |
// fizzbuzz.cpp | |
#include <cstdlib> | |
#include <iostream> | |
using namespace std; | |
int main(void) | |
{ | |
int i = 1; | |
int r3; |
This file contains 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 <cstdlib> | |
#include <iostream> | |
using namespace std; | |
int main(int argc, char** argv) | |
{ | |
int i = 0; | |
int n = atoi(argv[1]); | |
int f[n]; | |
OlderNewer