Skip to content

Instantly share code, notes, and snippets.

@ankitksh81
Created March 28, 2021 06:16
Show Gist options
  • Save ankitksh81/27d913bd66b869faf6d14f20b4b1f966 to your computer and use it in GitHub Desktop.
Save ankitksh81/27d913bd66b869faf6d14f20b4b1f966 to your computer and use it in GitHub Desktop.
Template for Competitive Programming Contests. (Still under work)
#include <bits/stdc++.h>
using namespace std;
#define goog for(int i = 1; i <= t; i++){ cout << "Case #" << i << ": "; solve(); cout << "\n"; }
#define nogoog while(t--){ solve(); }
#define ll long long
#define fo(a, b) for(int i = a; i < b; i++)
#define all(x) x.begin(), x.end()
void solve(){
}
int main(){
ios::sync_with_stdio(false);
cin.tie(nullptr); cout.tie(nullptr);
int t;
cin >> t;
goog;
//nogoog;
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment