-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCodejamTemplate.cpp
More file actions
44 lines (43 loc) · 1.12 KB
/
CodejamTemplate.cpp
File metadata and controls
44 lines (43 loc) · 1.12 KB
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
<snippet>
<content><![CDATA[
#include <bits/stdc++.h>
using namespace std;
#define endl "\n"
#define fo(i,s,e) for( i=s;i<e;i++)
#define rfo(i,s,e) for(i=s;i>e;i--)
#define LL long long int
const LL MOD=1e9+7;
#define pb push_back
#define pob pop_back()
#define sp " "
#define ff first
#define ss second
#define sz(x) ((LL)x.size())
#define TIME cerr<<"Time Taken:"<<(float)clock()/CLOCKS_PER_SEC*1000<<"ms"<<endl
// When something is important enough, you do it even if the odds are not in your favor.
void solve(){
$0
}
int main(){
ios_base::sync_with_stdio(false);
cin.tie(NULL);
#ifdef somujena
freopen("/home/somujena/competitive/input.txt", "r", stdin);
freopen("/home/somujena/competitive/output.txt", "w", stdout);
#endif
// code goes here
LL i,t;cin>>t;
fo(i,1,t+1){
cout<<"Case #"<<i<<": ";
solve();
cout<<endl;
}
TIME;
return 0;
}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>start</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.c++</scope>
</snippet>