05 2021 档案

摘要:Linux下的编译调试命令: 1.编译 -C: 只编译,不链接生成可执行文件 -o +output_filename: 确定输出文件的名称为output_filename,并且这个名称不能与源文件同名。默认情况下为:a.out -g: 若想对源代码进行调试,就需要加入该选项 -O: 对程序进行优化编 阅读全文
posted @ 2021-05-29 22:54 上官书房 阅读(564) 评论(0) 推荐(0)
摘要:题目链接:https://www.luogu.com.cn/problem/CF580E 1 #include<bits/stdc++.h> 2 #define ull unsigned long long 3 using namespace std; 4 const int N=1000011; 阅读全文
posted @ 2021-05-29 18:17 上官书房 阅读(51) 评论(0) 推荐(0)
摘要:1 #include<bits/stdc++.h> 2 #define ull unsigned long long 3 using namespace std; 4 const int N=500011,L=2000011; 5 const ull St=233; 6 int T,n,m; 7 u 阅读全文
posted @ 2021-05-29 18:15 上官书房 阅读(54) 评论(0) 推荐(0)
摘要:题目链接:https://www.luogu.com.cn/problem/CF508D 1 #include <bits/stdc++.h> 2 using namespace std; 3 const int N=400011,St=233,MAX_N=400000; 4 int n,len; 阅读全文
posted @ 2021-05-29 18:11 上官书房 阅读(58) 评论(0) 推荐(0)