MCPcopy Create free account
hub / github.com/LanceLRQ/deer-executor / Max32

Function Max32

executor/utils.go:23–28  ·  view source on GitHub ↗

Max32 find max between a & b

(a, b int)

Source from the content-addressed store, hash-verified

21
22// Max32 find max between a & b
23func Max32(a, b int) int {
24 if a > b {
25 return a
26 }
27 return b
28}
29
30// 文件读写(有重试次数,checker专用)
31func readFileWithTry(filePath string, name string, tryOnFailed int) ([]byte, string, error) {

Callers 1

RunJudgeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected