Skip to content

Instantly share code, notes, and snippets.

View Eyakub's full-sized avatar
🐍
Python || JavaScript || Django

Eyakub Eyakub

🐍
Python || JavaScript || Django
View GitHub Profile
@Eyakub
Eyakub / StringOperations.cpp
Created August 23, 2016 19:26 — forked from ArifHosan/StringOperations.cpp
String Addition and Multiplication
/**
*
* Arif Hosan
*American International University Bangladesh
* hosan.arif0@gmail.com
*
**/
#include<bits/stdc++.h>
#define PI 2*acos(0.0)
#define SIZE 1000000
@Eyakub
Eyakub / Conversions.cpp
Created August 23, 2016 19:27 — forked from ArifHosan/Conversions.cpp
Conversion from any base to any base(almost), and also String to Integer and vice versa
#include<bits/stdc++.h>
#define PI 2*acos(0.0)
#define SIZE 1000000
#define endl '\n'
int caseno=1;
#define CP() printf("Case %d: ",caseno++)
#define R() freopen("in.txt","r",stdin)
#define W() freopen("out.txt","w",stdout)
#define RW R(); W();
#define SFI(_i) scanf("%d",&_i)
@Eyakub
Eyakub / DFS_example.cpp
Created August 23, 2016 19:28 — forked from ArifHosan/DFS_example.cpp
DFS,Top Sort & SCC
#include<iostream>
#include<cstring>
#include<string>
#include<stack>
#include<queue>
#include<vector>
#include<set>
#include<map>
#include<algorithm>
#include<cstdio>
/*
Arif Hosan
AIUB, CSE
*/
#include<iostream>
#include<cstring>
#include<string>
#include<stack>
#include<queue>
#include<vector>
#include<iostream>
#include<cstring>
#include<string>
#include<stack>
#include<queue>
#include<vector>
#include<set>
#include<map>
#include<algorithm>
#include<cstdio>
#include<iostream>
#include<cstring>
#include<string>
#include<stack>
#include<queue>
#include<vector>
#include<set>
#include<map>
#include<algorithm>
#include<cstdio>
/*
5
8 11
9 11
10 12
11 14
12 14
*/
#include<iostream>
#include<cstring>
/*
5 100
55 25
5 15
32 28
27 20
15 20
*/
#include<iostream>
#include<cstring>
@Eyakub
Eyakub / template.cpp
Created August 23, 2016 19:29 — forked from ArifHosan/template.cpp
CPP contest template
/*
Name: Md. Nabid Imteaj
Prob:
Algo:
*/
#pragma comment( linker, "/STACK:16777216" )
#pragma warning( disable:4786 )
#include <cmath>
@Eyakub
Eyakub / A Linux Shell Programming Gist
Last active August 10, 2017 17:03
Program using linux Shell of my Course Operating System
Here all of mine code is from my course.
To help my classmate and to store my shell program to use from anywhere
i'm using this GIST.