1360

[LeetCode] 1360. Number of Days Between Two Dates 日期之间隔几天

Write a program to count the number of days between two dates. The two dates are given as strings, their format is YYYY-MM-DD as shown in the examples ......
LeetCode 之间 日期 Between Number

1360C - Similar Pairs

## C. Similar Pairs https://codeforces.com/problemset/problem/1360/C ```python """ 思路: 1.因为n为偶数, 所以偶数如果有偶数个的话, 那么奇数也有偶数个, 正好可以两两配对 2.如果偶数为奇数个, 那么奇数也是有 ......
Similar 1360C Pairs 1360

CF1360H Binary Median 题解

提供一份好看的题解。 $2^m-n$ 个数的中位数排名是 $\lfloor\dfrac{2^m-n-1}2\rfloor$(从 $0$ 开始)。因为所有元素是连续的,只要数出被删掉的比中位数小的元素数量,那么 $\lfloor\dfrac{2^m-n-1}2\rfloor$ 加上数量就是中位数了。 ......
题解 Binary Median 1360H 1360

CF 1360E-Polygon,1300,思维题

CF 1360E-Polygon 如果一个 1 不是在最右边或最下边,则一定有一个 1 在他的紧邻着的下边或右边,否则不合法。 太妙了。 #include <iostream> using namespace std; const int N = 1e2 + 10; int T, n; char a ......
E-Polygon 思维 Polygon 1360 1300

leetcode-1360-easy

Number of Days Between Two Dates Write a program to count the number of days between two dates. The two dates are given as strings, their format is YY ......
leetcode 1360 easy
共5篇  :1/1页 首页上一页1下一页尾页