日期

摘要: 日期 int days[] = {0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; bool check(int year, int month, int day) { if (month == 0 or month > 12) { return 阅读全文
posted @ 2024-04-12 23:59 pangwt 阅读(2) 评论(0) 推荐(0) 编辑

代码模板

摘要: 代码模板 基本代码模板 #pragma GCC optimize(1) #pragma GCC optimize(2) #pragma GCC optimize(3, "Ofast", "inline") #include <bits/stdc++.h> using namespace std; u 阅读全文
posted @ 2024-04-03 23:13 pangwt 阅读(7) 评论(0) 推荐(0) 编辑