Skip to content

Instantly share code, notes, and snippets.

View kuroni's full-sized avatar
👋
hi!

Đặng Đoàn Đức Trung kuroni

👋
hi!
View GitHub Profile
@kuroni
kuroni / bongo_cat.cpp
Last active September 26, 2018 08:20
Fixing all compilation errors, commenting and reformatting more
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <sstream>
#include <time.h>
#include <windows.h>
#include <math.h>
Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Laptop
No Touch Input Detected
Processor Information:
CPU Vendor: GenuineIntel
CPU Brand: Intel(R) Core(TM) i5-7300HQ CPU @ 2.50GHz
CPU Family: 0x6
@kuroni
kuroni / runner.cpp
Last active June 18, 2018 12:31
A small applet to display running time and memory usage
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/time.h>
#if defined(__unix__) || defined(__unix)
#include <limits.h>
#include <sys/resource.h>
#include <sys/wait.h>
#include <fcntl.h>
#include <unistd.h>