Skip to content
This repository has been archived by the owner on Feb 6, 2022. It is now read-only.

Commit

Permalink
Modify code for proper readability
Browse files Browse the repository at this point in the history
Signed-off-by: Aadhitya A <[email protected]>
  • Loading branch information
alphaX86 committed Feb 25, 2021
1 parent cd70f11 commit d226c56
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
18 changes: 12 additions & 6 deletions codeit/codeitMeta.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@ def template_cp():
ios_base::sync_with_stdio(false);
cin.tie(NULL);
/* This is needed as most contests use this format */
#ifndef ONLINE_JUDGE
freopen("input.txt", "r", stdin);
freopen("output.txt", "w", stdout);
//If you do not need error txt, remove it accordingly
#endif
/* This is needed as most contests use this format */
#ifndef ONLINE_JUDGE
freopen("input.txt", "r", stdin);
freopen("output.txt", "w", stdout);
#endif
//Code
Expand Down Expand Up @@ -90,7 +89,14 @@ def template_agg():
int main()
{
fast_cin();
#ifndef ONLINE_JUDGE
freopen("in.in", "r", stdin);
freopen("out.out", "w", stdout);
//Edit names accordingly
#endif
//Code
return 0;
}
"""
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
setup(
name='cxit',
packages = find_packages(),
version='1.0.0',
version='1.0.1',
author='Aadhitya A',
author_email='[email protected]',
description = 'A CLI tool to create CPP files for any contest',
Expand Down

0 comments on commit d226c56

Please sign in to comment.