摘要:
A. Wrong Subtraction 在k次操作里, 将n的最后一位数减1,如果是0就去掉,模拟一下就好了. #include <bits/stdc++.h> //#define inf 0x3f3f3f3f #define endl '\n' #define int long long usi 阅读全文
摘要:
小石的图形 太坑了, π的精度一定要开大,不然就wa, 建议用acos(-1)或者M_PI. #include<bits/stdc++.h> #define endl '\n' #define int long long #define inf 0x3f3f3f3f using namespace 阅读全文
摘要:
L1-1小乐乐是否被叫家长 #include<bits/stdc++.h> #define endl '\n' using namespace std; typedef long long ll; const int N = 1e5+10; int n,m,t; int main() { ios:: 阅读全文
摘要:
被鸽了的课本 A-被鸽了的课本_西南民族大学 春季 2023 训练赛 2 (nowcoder.com) #include<bits/stdc++.h> #define int long long #define endl '\n' using namespace std; const int N = 阅读全文
摘要:
关于#define int long long poj记得不要用#define int long long, 今天poj死活过不去,把这行注释了就过了,以后还是用typedef long long ll 吧; 2023.3.29 又因为#define int long long而运行超时,注释掉就过 阅读全文