mirror of
https://github.com/QingdaoU/JudgeServer.git
synced 2025-11-04 14:50:01 +08:00
parent
0bc50ecae2
commit
0e90200dca
@ -14,7 +14,7 @@ import (
|
|||||||
type Data struct {
|
type Data struct {
|
||||||
CpuTime int
|
CpuTime int
|
||||||
Result int
|
Result int
|
||||||
Memory int
|
Memory int64 // https://github.com/QingdaoU/Judger/blob/b6414e7a6715eb013b1ffeb7cfb04626a3ff5b4e/src/runner.h#L76
|
||||||
RealTime int
|
RealTime int
|
||||||
Signal int
|
Signal int
|
||||||
Error int
|
Error int
|
||||||
@ -66,7 +66,7 @@ func (resp *Resp) SliceData() []*Data {
|
|||||||
data = append(data, &Data{
|
data = append(data, &Data{
|
||||||
CpuTime: int(cpuTimeF64),
|
CpuTime: int(cpuTimeF64),
|
||||||
Result: int(resultF64),
|
Result: int(resultF64),
|
||||||
Memory: int(memoryF64),
|
Memory: int64(memoryF64),
|
||||||
RealTime: int(realTimeF64),
|
RealTime: int(realTimeF64),
|
||||||
Signal: int(signalF64),
|
Signal: int(signalF64),
|
||||||
Error: int(errorF64),
|
Error: int(errorF64),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user