阿里题1
题解
讨论
查看他人的提交
题号:NC201996
时间限制:C/C++/Rust/Pascal 1秒,其他语言2秒
空间限制:C/C++/Rust/Pascal 256 M,其他语言512 M
64bit IO Format: %lld
题目描述
xxx
示例1
输入
复制
{1,2,3}
{1,2,3}
返回值
复制
3
3
备注:
xx
阿里题1
返回全部题目
列表加载中...
import java.util.*; /* * public class ListNode { * int val; * ListNode next = null; * } */ public class Solution { /** * * @param list ListNode类 xxx * @return int整型 */ public int hello (ListNode list) { // write code here } }
/** * struct ListNode { * int val; * struct ListNode *next; * }; */ class Solution { public: /** * * @param list ListNode类 xxx * @return int整型 */ int hello(ListNode* list) { // write code here } };
# class ListNode: # def __init__(self, x): # self.val = x # self.next = None # # # @param list ListNode类 xxx # @return int整型 # class Solution: def hello(self , list ): # write code here
/* * function ListNode(x){ * this.val = x; * this.next = null; * } */ /** * * @param list ListNode类 xxx * @return int整型 */ function hello( list ) { // write code here } module.exports = { hello : hello };
# class ListNode: # def __init__(self, x): # self.val = x # self.next = None # # # @param list ListNode类 xxx # @return int整型 # class Solution: def hello(self , list ): # write code here
{1,2,3}
3