#P1035. 合并数组
合并数组
No testdata at current.
题目描述
给你两个有序整数数组 nums1 和 nums2,请你将 nums2 合并到 nums1 中,使 nums1 成为一个有序数组。
输入格式
两个整数 A 和 B, 满足 .
输出格式
一个整数, 表示 A 和 B 的和.
样例
123 500
623
样例解释
输出 A + B 即可
You are currently in legacy mode. Some additional features will be unavailable. We strongly recommend switching to standard mode on a modern browser. Standard mode Hidden
No testdata at current.
给你两个有序整数数组 nums1 和 nums2,请你将 nums2 合并到 nums1 中,使 nums1 成为一个有序数组。
两个整数 A 和 B, 满足 0≤A,B≤32767 .
一个整数, 表示 A 和 B 的和.
123 500
623
输出 A + B 即可
By signing up a 齐鲁工业大学算法竞赛在线评测平台 universal account, you can submit code and join discussions in all online judging services provided by us.