Skip to content

Instantly share code, notes, and snippets.

View arifhosan's full-sized avatar
🏠
Working from home

Arif Hosan arifhosan

🏠
Working from home
  • RWTH Aachen University
  • Aachen, Germany
  • 03:17 (UTC +02:00)
View GitHub Profile
/**
*
* Arif Hosan
*American International University Bangladesh
*
**/
#include<iostream>
#include<cstdio>
#include<algorithm>
#include<vector>
//Code Courtesy: Sakib vai.. :D
#include<iostream>
#include<algorithm>
#include<vector>
using namespace std;
const int SIZE = 1e6 + 10;
bool status[SIZE];
vector<int>prime;
vector<int>divi;
int factor[SIZE], power[SIZE];
@arifhosan
arifhosan / template.cpp
Last active March 14, 2018 14:11
A default template for CPP.
/**
*
* Arif Hosan
*American International University Bangladesh
* [email protected]
*
**/
#include<bits/stdc++.h>
#define PI 2*acos(0.0)
import sys
from os import path
input = sys.stdin.readline
############ ---- Input Functions ---- ############
# single integer
def inp():
return(int(input()))
# array integers