a+b
题解
讨论
查看他人的提交
题号:NC208684
时间限制:C/C++/Rust/Pascal 1秒,其他语言2秒
空间限制:C/C++/Rust/Pascal 256 M,其他语言512 M
64bit IO Format: %lld
题目描述
1
示例1
输入
复制
1,10
1,10
返回值
复制
11
11
备注:
1
a+b
返回全部题目
列表加载中...
import java.util.*; public class Solution { /** * * @param a int整型 * @param b int整型 * @return int整型 */ public int add (int a, int b) { // write code here } }
class Solution { public: /** * * @param a int整型 * @param b int整型 * @return int整型 */ int add(int a, int b) { // write code here } };
# # # @param a int整型 # @param b int整型 # @return int整型 # class Solution: def add(self , a , b ): # write code here
/** * * @param a int整型 * @param b int整型 * @return int整型 */ function add( a , b ) { // write code here } module.exports = { add : add };
# # # @param a int整型 # @param b int整型 # @return int整型 # class Solution: def add(self , a , b ): # write code here
package main /** * * @param a int整型 * @param b int整型 * @return int整型 */ func add( a int , b int ) int { // write code here }
/** * * @param a int整型 * @param b int整型 * @return int整型 */ int add(int a, int b ) { // write code here }
1,10
11