题解 | #进制转换#
进制转换
http://www.nowcoder.com/practice/8f3df50d2b9043208c5eed283d1d4da6
python自带,秒解
import sys
lines = sys.stdin
for line in lines:
print(int(line,16))
进制转换
http://www.nowcoder.com/practice/8f3df50d2b9043208c5eed283d1d4da6
python自带,秒解
import sys
lines = sys.stdin
for line in lines:
print(int(line,16))
相关推荐