Skip to content
New issue

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

docker一键部署,不能成功OJ #114

Open
chenjobin opened this issue Jul 18, 2021 · 0 comments
Open

docker一键部署,不能成功OJ #114

chenjobin opened this issue Jul 18, 2021 · 0 comments

Comments

@chenjobin
Copy link

chenjobin commented Jul 18, 2021

请教一下,A+B problem,用下面这个代码,官方lpoj可以ac,但是我docker一键部署的不行(system error),没有OJ的经验,请问是我的代码有问题,还是我一键部署后添加的题目设置有问题,
import io
import sys
sys.stdout = io.TextIOWrapper(sys.stdout.buffer,encoding='utf8')
for line in sys.stdin:
a = line.split()
print(int(a[0]) + int(a[1]))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant