Skip to content

Instantly share code, notes, and snippets.

View meta-ks's full-sized avatar
🍏

k0s meta-ks

🍏
View GitHub Profile
#include <iostream>
#include <chrono>
#include <random>
#define DOUBLE_PRECISION 10000
#define LAMBDA 5
using namespace std;
struct packet {
@meta-ks
meta-ks / fr-set-down.py
Created February 6, 2019 15:57 — forked from zmwangx/fr-set-down.py
Python script to download entire photosets (original quality) on Flickr. #flickr
#!/usr/bin/env python
import subprocess
import sys
# pip install flickrapi
# project home: http://stuvel.eu/flickrapi
import flickrapi
api_key = '00000000000000000000000000000000' # obtain your api key at http://www.flickr.com/services
@meta-ks
meta-ks / exp_1.c
Last active January 13, 2019 09:44
//Exp 1 all parts
//Author: KS [not to be shared till Mon evening!]
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <math.h>
int NODE_COUNT=12;
int MAX_COST=99;
float Dg = 1.8;