-
Notifications
You must be signed in to change notification settings - Fork 1
/
template.cpp
49 lines (41 loc) · 1.97 KB
/
template.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/*******************************************************************************************************
/* ___ _ _ _ _
/* / _ \ | | (_)| | | |
/* / /_\ \__ __ ___ | | __ _ ___ _ __ _ | |_ | |__ _ __ ___ ___
/* | _ |\ \ /\ / / / _ \| | / _` | / _ \ | '__|| || __|| '_ \ | '_ ` _ \ / __|
/* | | | | \ V V / | __/| || (_| || (_) || | | || |_ | | | || | | | | |\__ \
/* \_| |_/ \_/\_/ \___||_| \__, | \___/ |_| |_| \__||_| |_||_| |_| |_||___/
/* __/ |
/* |___/
/******************************************************************************************************/
/***********************************
/* ALGORITHM NAME (same as the readme name)
/***********************************/
// Library imports
#include <iostream>
using namespace std;
//Prototypes for the algorithms
// void function1(int);
// int function2(int);
// etc.
int main(){
// Lines to handle user input go here, be descriptive...
// use cin, cout
// Call your algorithms here
// function1(integerArgument);
// function2(integerArgument);
return 0;
}
/**********************************************************
/* <some_function_name>
/*
/* @description : description here
/* @param : Integer<variable> (Datatype<variable_name>)
/* @return : datatype (int,float,double etc)
/* @complexity : Big O notation. (O(n),O(n^2) etc)
/* @explanation : Detailed description about what the algorithm does
/* @author : <Your name> @<GitHub handle> (John Doe @johndoe)
/**********************************************************/
void some_function_name(){
// Algorithm content goes here.
}