题解 2571: 蓝桥杯2020年第十一届省赛真题-回文日期

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

回文日期python

摘要:import datetimen=input()year = int(n[:4])mouth = int(n[4:6])day = int(n[6:8])start_date = datetime.d……

最简单解法【C++】

摘要:```cpp #include using namespace std; int uu; bool check(int year, int month, int day){ ……

c++ 常规解法

摘要:解题思路:因为是回文 只用考虑年份即可 且一年只有一个数先求出年份 然后根据年份判断月份是否满足要求 判断日期是否符合要求 如果符合就是回文日期注意事项:求得是当前日期之后的,不用考虑前面的日期。注意……

回文日期(c++)

摘要:解题思路:注意事项:参考代码:#include <iostream> using namespace std; int main(){     char arr[8];     scanf("……

这个提示还不如不给.

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;#define No 0int main(){ int N,i1,i2; int a……