Skip to content

Instantly share code, notes, and snippets.

View fatihpense's full-sized avatar
🧿

Fatih Pense fatihpense

🧿
View GitHub Profile
@fatihpense
fatihpense / petek.py
Created October 11, 2011 01:09
Petek problemi çözümü
# http://www.karrels.org/Ed/ACM/99/prob_a.html
print "melaba dunya"
#koor={1:(0,0), 2:(0,-1),3:(-1,-0.5),4:(-1,0.5),5:(0,1),6:(1,0.5),7:(1,-0.5)}
koor={1:(0,0.0), 2:(0,-1.0)}
dolu={'0,0.0':1,'0,-1.0':2}
@fatihpense
fatihpense / main.rs
Last active February 24, 2018 05:00
Rust Parsing XML with xml_sax & xml_oxide crates
extern crate xml_oxide;
extern crate xml_sax;
use std::io::BufReader;
use std::fs::File;
use std::time::Instant;
use xml_oxide::sax::*;
use std::rc::Rc;