生日日数 (C语言代码) 摘要:#include <stdio.h>int main(){ int yy, mm, dd; int year[12] = {31, 28, 31, 30, 31, 30, 31, 31, …… 题解列表 2017年12月01日 0 点赞 0 评论 2426 浏览 评分:0.0
生日日数(模拟) 摘要:解题思路:模拟注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;boolisleap(int…… 题解列表 2025年04月03日 0 点赞 0 评论 393 浏览 评分:0.0
#C++1240——生日日数 摘要:思路参考注释参考代码:#include <iostream> using namespace std; int arr[]={0,31,28,31,30,31,30,31,31,30,31,30,…… 题解列表 2022年08月04日 0 点赞 0 评论 801 浏览 评分:0.0
生日日数——python 摘要:解题思路:注意事项:参考代码:def f(year1): if (year1 % 100 != 0 and year1 % 4 == 0) or year1 % 400 == 0: …… 题解列表 2022年06月10日 0 点赞 0 评论 516 浏览 评分:0.0
生日日数-题解(C++代码) 摘要:```cpp #include using namespace std; bool isYeap(int year){ return year%4==0&&year%100!=0||year…… 题解列表 2020年05月12日 1 点赞 0 评论 1223 浏览 评分:0.0
生日日数 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a[12]={31,28,31,30,31,30,3…… 题解列表 2018年08月22日 0 点赞 0 评论 2587 浏览 评分:0.0
生日日数 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int check(int n) { if((n%4==0&&n%100)||(…… 题解列表 2018年06月01日 0 点赞 0 评论 2297 浏览 评分:0.0
生日日数 (C语言代码) 摘要:#include <stdio.h>struct date{ int year,month,day;};int main(){ int i,n,leap; int s[2][13…… 题解列表 2018年02月01日 0 点赞 0 评论 1699 浏览 评分:0.0
生日日数 (Java代码) 解题思路:注意事项:别忘了导包importjava.text.DateFormat;importjava.text.SimpleDateFormat;importjava.util.Calendar;importjava.util.GregorianCalendar;参考代码:publicclass生 题解列表 2018年05月02日 1 点赞 1 评论 1029 浏览 评分:6.0
生日日数-题解(C++代码)(简单版) ####解题思路:注意先初始化月份天数,然后一天天加的时候判断是否为闰年就行了####参考代码:```cpp#includeusingnamespacestd;intcheck(intn)//判断是否为闰年{if((n%4==0&&n%100)||(n%400==0))return1;return0; 题解列表 2020年02月14日 0 点赞 0 评论 1445 浏览 评分:8.8