-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from propilideno/develop
Develop
- Loading branch information
Showing
10 changed files
with
124 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,32 @@ | ||
// ############################ Template available in: https://propi.dev/cp ############################ // | ||
/* ######################## Template available in: https://propi.dev/cp ######################## */ | ||
#include <bits/stdc++.h> | ||
//Debug methods | ||
#define _(x) {cout << #x << " = " << x << endl;} //Print with endl | ||
#define __(x) {cout << #x << " = " << x << " | ";} //Print without endl | ||
#define _vec(x) {cout << #x << " = "; for(int i : x){cout << i << " ";} cout << endl;} //Print entire vector | ||
#define __log__ { std::FILE* file = std::freopen("LOG.txt", "w", stdout); } //Redirect output to LOG.txt | ||
#define __time__ { auto duration = chrono::duration<double>( /* Show runtime */ \ | ||
std::chrono::high_resolution_clock::now() - beg); cout<<"Time: "<<duration.count()<<endl;} | ||
//Constants | ||
const auto beg = std::chrono::high_resolution_clock::now(); //Begining of the program | ||
const double PI = acos(-1); | ||
//IO Optimization | ||
#define SpeedUP ios_base::sync_with_stdio(false); //If false, don't use stdio and iostream at the same time | ||
#define __FasterIO__ ios_base::sync_with_stdio(false); //Don't use stdio and iostream at the same time | ||
//Types | ||
using namespace std; | ||
typedef long long ll; | ||
typedef unsigned long long ull; | ||
typedef std::vector<int> vi; | ||
typedef std::vector<ll> vll; | ||
// ###################################################################################################### // | ||
/* ############################################################################################## */ | ||
|
||
int main(){ | ||
//SpeedUP; //Uncomment for a faster runtime | ||
//__FasterIO__ //Uncomment for improve runtime | ||
//__log__ //Uncomment for redirect output to LOG.txt | ||
string line; | ||
while(getline(cin,line)){ | ||
cout << line << endl; | ||
} | ||
|
||
//__time__ //Uncomment for show runtime | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
### Powered by propi.dev ### | ||
- Debug Methods: | ||
|
||
- Constants: | ||
|
||
- IO Optimization: | ||
|
||
- Types: | ||
|
||
### Powered by propi.dev ### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
### Powered by propi.dev ### | ||
- Debug Methods: | ||
|
||
- Constants: | ||
|
||
- Shortened Methods: | ||
|
||
- IO Optimization: | ||
|
||
- Types: | ||
|
||
- Loops: | ||
|
||
### Powered by propi.dev ### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
### Powered by propi.dev ### | ||
- Debug Methods: | ||
|
||
- Constants: | ||
|
||
- Shortened Methods: | ||
|
||
- IO Optimization: | ||
|
||
- Types: | ||
|
||
- Loops: | ||
|
||
- Templates: | ||
|
||
### Powered by propi.dev ### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
### Powered by propi.dev ### | ||
- Debug Methods: | ||
|
||
- Constants: | ||
|
||
- IO Optimization: | ||
|
||
- Types: | ||
|
||
- Loops: | ||
|
||
### Powered by propi.dev ### |