We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
timeLimit
DataTransferObject/Shadowing /ProblemEvent.php
I'm using DOMjudge8.3.0 to shadow another DOMjudge8.3.0 instance.
The above error was reported.
{"token":"1139","id":"xxx","type":"problems","data":{"ordinal":0,"id":"xxx","short_name":"A","rgb":"#000000","color":"black","label":"A","time_limit":1.0,"statement":[],"externalid":"xxx","name":"xxx","test_data_count":27},"time":"2024-06-15T21:24:31.902+08:00"}
I checked the event that caused the error, and I can see that the time_limit field in it is indeed of type float.
time_limit
https://ccs-specs.icpc.io/2022-07/contest_api#problems
And inside ccs-spec, it can indeed be a float type
domjudge/webapp/src/DataTransferObject/Shadowing/ProblemEvent.php
Line 10 in 3002fb3
in DOMjudge's code, it is of type int, but when I change it to float, the shadow works fine.
int
float
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Description of the problem
I'm using DOMjudge8.3.0 to shadow another DOMjudge8.3.0 instance.
The above error was reported.
I checked the event that caused the error, and I can see that the
time_limit
field in it is indeed of type float.https://ccs-specs.icpc.io/2022-07/contest_api#problems
And inside ccs-spec, it can indeed be a float type
domjudge/webapp/src/DataTransferObject/Shadowing/ProblemEvent.php
Line 10 in 3002fb3
in DOMjudge's code, it is of type
int
, but when I change it tofloat
, the shadow works fine.Your environment
The text was updated successfully, but these errors were encountered: