We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3905f48 commit 062e42fCopy full SHA for 062e42f
bin/cf-run
@@ -40,12 +40,20 @@ parser.add_argument(
40
help="Timeout for program in seconds, -1 for no time limit (default: 10)"
41
)
42
43
+parser.add_argument(
44
+ '-g',
45
+ '--gym',
46
+ action='store_true',
47
+ help="If true open gym contest instead of regular contest. (default: false)"
48
+)
49
+
50
args = parser.parse_args()
51
args.timeout = None if args.timeout == -1 else args.timeout
52
53
title, time_limit, memory_limit, sample_tests = codeforces.problem.get_info(
54
args.contestId,
- args.index
55
+ args.index,
56
+ gym=args.gym
57
58
59
print(title)
0 commit comments