这道题真的太难了

我想了一个晚上这道题,最后终于想出一个不是很完美的解决办法,我自己去买了个aplusb.online,然后把这道题给A了,真是太不容易了。

记录信息
评测状态 Accepted
题目 P1000 A+B Problem
递交时间 2016-04-08 23:49:35
代码语言 Python 2.x
评测机 ShadowShore
消耗时间 6106 ms
消耗内存 4968 KiB
评测时间 2016-04-08 23:49:43
评测结果
编译成功

测试数据 #0: Accepted, time = 734 ms, mem = 4968 KiB, score = 10
测试数据 #1: Accepted, time = 531 ms, mem = 4964 KiB, score = 10
测试数据 #2: Accepted, time = 625 ms, mem = 4968 KiB, score = 10
测试数据 #3: Accepted, time = 562 ms, mem = 4968 KiB, score = 10
测试数据 #4: Accepted, time = 640 ms, mem = 4968 KiB, score = 10
测试数据 #5: Accepted, time = 625 ms, mem = 4960 KiB, score = 10
测试数据 #6: Accepted, time = 515 ms, mem = 4964 KiB, score = 10
测试数据 #7: Accepted, time = 609 ms, mem = 4968 KiB, score = 10
测试数据 #8: Accepted, time = 640 ms, mem = 4964 KiB, score = 10
测试数据 #9: Accepted, time = 625 ms, mem = 4968 KiB, score = 10
Accepted, time = 6106 ms, mem = 4968 KiB, score = 100
代码
python
import urllib2
a, b = [i for i in raw_input().split()]
requrl = "http://calc.aplusb.online?a=" + a + "&b=" + b
req = urllib2.Request(requrl)
res_data = urllib2.urlopen(req)
print res_data.read()

本来是给服务器配了https,但是会超时,唉,要是在服务器在国内就好了……
顺便提醒一下管理员注意一下python这个 高端语言 的权限设置,其实推荐评测机用Docker和封闭外网最好(不要用Windows(和远程桌面(逃

3 条评论

  • 1

信息

ID
1000
难度
9
分类
(无)
标签
(无)
递交数
74382
已通过
28459
通过率
38%
被复制
220