弱弱问一下,我复制你的代码通过不了啊,提示error: incompatible types: Object cannot be converted to int num2[0] = list.get(1); ^ Note: ./Solution.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 2 errors。 是不是ArrayList那里要用Integer?
点赞

相关推荐

面了100年面试不知...:被割穿了才想起来捞人了
投递哔哩哔哩等公司6个岗位
点赞 评论 收藏
分享
牛客网
牛客网在线编程
牛客网题解
牛客企业服务