Closed itmir913 closed 2 years ago
Hello. I tried to import problems fps data.
But, Some Error occurs. this error is : invalid literal for int() with base 10: '1.000'
In fps.xml, <![CDATA[1.000]]> This part is the cause of the error.
I editted '1.000' to '1', and Success.
However, Shouldn't this error be resolved for someone else?
Thanks!
Attach log and example files : issues.zip
这是因为你从新版hustoj导出的文件带有小数,我把hustoj那边打了个补丁,你可以升级一下,这样如果导出的时候发现是整数秒,就不按小数形式导出,可以兼容老版本。
I patched hustoj for backwards compatibility, update it and export again ,it will use integer as long as it is possible.
Hello. I tried to import problems fps data.
But, Some Error occurs. this error is : invalid literal for int() with base 10: '1.000'
In fps.xml,<![CDATA[1.000]]>
This part is the cause of the error.
I editted '1.000' to '1', and Success.
However, Shouldn't this error be resolved for someone else?
Thanks!
Attach log and example files : issues.zip