Skip to content

CastCris/ScriptOlympicGames

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

run

NAME

run — focus on solving contest problems, not typing commands


SYNOPSIS

run -f <filename> [options]


DESCRIPTION

The run command is a shortcut to compile and/or execute solutions for programming contest problems.

It helps reduce repetitive typing and simplifies file organization by automatically handling execution details such as:

  • language detection
  • input/output redirection
  • compilation or execution flags

The languages c, c++ and python have support.


OPTIONS

-f, --file

Specifies the source file containing the solution to be executed.


-p, --path

Specifies the absolute or relative path of the source file.
Useful when multiple files with the same name exist in a directory.


-l, --language <language_name>

Specifies the programming language explicitly.
If omitted, the language is automatically inferred from the file extension.


--flags [flags...]

Additional flags passed to the compiler or interpreter. Flags prefixed with '-' must be preceted with backslash key.


-i, --input

Uses input.txt as the standard input.


-o, --output

Redirects the program output to output.txt.


-io

Equivalent to using both --input and --output.

About

Seeds

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors