cgtlth
cgtlth
全部文章
分类
题解(1)
归档
标签
去牛客网
登录
/
注册
cgtlth的博客
全部文章
(共1篇)
题解 | #时间银河#
e题的一个超简单的代码 思路:把区间每一天看作365天,再加上区间里闰年数即可 #include<iostream> using namespace std; bool solve(int x) { if(x%4==0&&x%100!=0||x%400==0)...
C++
2024-02-15
2
167