题解 | A+B(函数)

A+B(函数)

https://www.nowcoder.com/practice/583c33b4f5f24763a9b67cccd6e386a7

#
# 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可
#
# 实现求两个参数的和
# @param Integer1 int整型 
# @param Integer2 int整型 
# @return int整型
#
class Solution:
    def addTwoInteger(self , Integer1: int, Integer2: int) -> int:
        # write code here
        return Integer1 + Integer2

if __name__ == "__main__":
    a,b = map(int,input().split(","))
    Solution().addTwoInteger(a,b)

全部评论

相关推荐

09-01 11:31
门头沟学院 Java
buul:七牛云的吧,感觉想法是好的,但是大家没那么多时间弄他这个啊。。。不知道的还以为他是顶尖大厂呢还搞比赛抢hc,只能说应试者的痛苦考察方是无法理解的,他们只会想一出是一出
点赞 评论 收藏
分享
评论
1
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务