Discover Packages
github.com/limstash/codeforces-hacker
common
package
Version:
v0.0.0-...-9c83337
Opens a new window with list of versions in this module.
Published: Nov 15, 2019
License: GPL-3.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Account struct {
Username string `json:"username"`
Password string `json:"password"`
}
type Config struct {
Target Target `json:"target"`
Settings Settings `json:"settings"`
Account Account `json:"account"`
Testcase Testcase `json:"testcase"`
}
type Contest struct {
ID int `json:"id"`
Name string `json:"name"`
DurationSeconds int64 `json:"durationSeconds"`
StartTimeSeconds int64 `json:"startTimeSeconds"`
}
type Contests struct {
Status string `json:"status"`
Result []Contest `json:"result"`
}
type Problem struct {
ContestID int `json:"contestId"`
Index string `json:"index"`
Name string `json:"name"`
Memorylimit int
Timelimit int
}
type ProblemList struct {
Problems []Problem `json:"problems"`
}
type Problems struct {
Status string `json:"status"`
Result ProblemList `json:"result"`
}
type Response struct {
ResponseBody []byte
RedirectStatus bool
}
type Settings struct {
Path string
Server string
IsAutoLogin bool `json:"autoLogin"`
IsAutoHack bool `json:"autoHack"`
}
type Target struct {
ContestID int `json:"contest"`
ProblemID string `json:"index"`
}
type Testcase struct {
InputFile string `json:"inputFile"`
OutputFile string `json:"outputFile"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.