You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
请教一下,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]))
The text was updated successfully, but these errors were encountered:
请教一下,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]))
The text was updated successfully, but these errors were encountered: