Skip to content

Instantly share code, notes, and snippets.

@shahjugal
Created April 10, 2022 02:52
Show Gist options
  • Save shahjugal/7337b307d48bfcf327c9e7f23a100fa1 to your computer and use it in GitHub Desktop.
Save shahjugal/7337b307d48bfcf327c9e7f23a100fa1 to your computer and use it in GitHub Desktop.
Template for Competitive-Programming by Shah Jugal R.
/**
* @author Shah Jugal R.
* shahjugalr@gmail.com
* GitHub.com/shahjugalr
*
* @brief CodeChef Template v0.0.1
*
*/
#include <bits/stdc++.h>
// Comment out if not multi-testcase-d
#define MULTI_TEST_CASE
// DATA-TYPE MACROS
using UInt64 = unsigned long long int;
using UInt32 = unsigned long int;
using USInt = unsigned short int;
using UChar = unsigned char;
using Int64 = long long int;
using Int32 = long int;
using SInt = unsigned short int;
using HFlaot = long double;
// DATA-TYPE MACROS -END
// High speed I/O
inline void UseFastIO() {
std::cin.tie(0);
std::cout.tie(0);
std::cin.sync_with_stdio(0);
std::cout.sync_with_stdio(0);
}
// Handle Each Test Case.
void DoTestCase();
// Program Entry Point
int main(){
UseFastIO();
USInt T;
#ifdef MULTI_TEST_CASE
std::cin >> T;
#else
T = 1;
#endif
while (T --> 0)
DoTestCase();
return 0;
}
void DoTestCase(){
// TODO: Testcase
// Start Each Test Case from here.
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment