WeBank前端编程题。。。
1的个数:
a, b, c = map(int, raw_input().split()) result = 1 + b - c print result
数位和:
n = input() print (n + 1) / 2-_-|||#前端工程师#
a, b, c = map(int, raw_input().split()) result = 1 + b - c print result
n = input() print (n + 1) / 2-_-|||#前端工程师#
相关推荐