Skip to content

Instantly share code, notes, and snippets.

View irfansofyana's full-sized avatar

Irfan Sofyana Putra irfansofyana

View GitHub Profile
@irfansofyana
irfansofyana / BigInt.cpp
Created August 4, 2019 03:53 — forked from ar-pa/BigInt.cpp
bignum class for C++
/*
######################################################################
####################### THE BIG INT ##########################
*/
const int base = 1000000000;
const int base_digits = 9;
struct bigint {
vector<int> a;
int sign;
/*<arpa>*/