摘要:
1775. 通过最少操作次数使数组的和相等 class Solution { public int minOperations(int[] nums1, int[] nums2) { int n = nums1.length, m = nums2.length; if (6 * n < m || 6 阅读全文
posted @ 2022-12-08 00:33
Eiffelzero
阅读(27)
评论(0)
推荐(0)
摘要:
1812. 判断国际象棋棋盘中一个格子的颜色 class Solution { public boolean squareIsWhite(String str) { int a = str.charAt(0) - 'a' + 1; int b = str.charAt(1) - '0'; retur 阅读全文
posted @ 2022-12-08 00:31
Eiffelzero
阅读(21)
评论(0)
推荐(0)

浙公网安备 33010602011771号