1424
[LeetCode] 1424. Diagonal Traverse II
Given a 2D integer array nums, return all elements of nums in diagonal order as shown in the below images. Example 1: Input: nums = [[1,2,3],[4,5,6],[ ......
P1424 小鱼的航程(改进版)
# 小鱼的航程(改进版)
## 题目背景
## 题目描述
有一只小鱼,它平日每天游泳 $250$ 公里,周末休息(实行双休日),假设从周 $x$ 开始算起,过了 $n$ 天以后,小鱼一共累计游泳了多少公里呢?
## 输入格式
输入两个正整数 $x,n$,表示从周 $x$ 算起,经过 $n$... ......