mirror of
https://gitcode.com/Zengtudor/alg2025.git
synced 2025-10-17 21:42:25 +00:00
feat: 添加P7075.cpp基础框架代码
实现日期转换问题的基本框架,包含输入处理和空函数结构
This commit is contained in:
parent
27bebc97c0
commit
e4225e6f1a
37
src/9/22/P7075.cpp
Normal file
37
src/9/22/P7075.cpp
Normal file
@ -0,0 +1,37 @@
|
||||
#include <cstdint>
|
||||
#include <iostream>
|
||||
#include <istream>
|
||||
#include <map>
|
||||
using ll = int64_t;
|
||||
|
||||
const ll af = 400*365+97;
|
||||
const ll bf = 400*365+100;
|
||||
|
||||
const ll l = 2299160;
|
||||
|
||||
struct Day{
|
||||
ll d,m,y;
|
||||
};
|
||||
|
||||
std::map<ll, Day> m;
|
||||
|
||||
static inline void solve(ll n){
|
||||
if(n<=l){
|
||||
|
||||
}else{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
int main(){
|
||||
std::iostream::sync_with_stdio(false);
|
||||
std::cin.tie(nullptr);
|
||||
|
||||
ll Q;
|
||||
std::cin>>Q;
|
||||
while(Q--){
|
||||
ll r;
|
||||
std::cin>>r;
|
||||
solve(r);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user