个人资料
欢迎光临本蒟蒻的个人主页!您是第位访客。
祝大家
基本信息
姓名:李**
性别:?
语言: 与
重要时刻
| 名字颜色 | 时间 | 题目颜色 | 第一次做对的时间 |
|---|---|---|---|
| 灰色 | 2022-01-22 | 红题 | 2022-01-22 |
| 蓝色 | 2022-01-24 | 橙题 | 2022-01-23 |
| 绿色 | 2022-03-07 | 黄题 | 2022-01-29 |
| 橙色 | ??? | 绿题 | 2022-04-05 |
| 红色 | ??? | 蓝题 | 2022-05-19 |
| 棕色 | ??? | 紫题 | ??? |
| 紫色 | 黑题 | ??? |
常用网址
建议先按 Ctrl 再按网址
有趣的题
注:南开OJ内部题目
7339-礼炮(信竞之王)
5785-数字转换(软妹币)
8110-ak序列(正是有了这道题让我没有 AK)
5837-基因中有AC(我的基因里只有 WA 和 TLE)
佛祖保佑
将此注释粘贴进代码可以提高 1% 的 AC 率
/**************************************************
* _ooOoo_
* o8888888o
* 88" . "88
* (| -_- |)
* O\ = /O
* ____/`---'\____
* .' \\| |// `.
* / \\||| : |||// \
* / _||||| -:- |||||- \
* | | \\\ - /// | |
* | \_| ''\---/'' | |
* \ .-\__ `-` ___/-. /
* ___`. .' /--.--\ `. . __
* ."" '< `.___\_<|>_/___.' >'"".
* | | : `- \`.;`\ _ /`;.`/ - ` : | |
* \ \ `-. \_ __\ /__ _/ .-` / /
* ======`-.____`-.___\_____/___.-`____.-'======
* `=---='
* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
*
* 佛祖保佑 永无BUG
* 佛曰:
* 写字楼里写字间,写字间里程序员;
* 程序人员写程序,又拿程序换酒钱。
* 酒醒只在网上坐,酒醉还来网下眠;
* 酒醉酒醒日复日,网上网下年复年。
* 但愿老死电脑间,不愿鞠躬老板前;
* 奔驰宝马贵者趣,公交自行程序员。
* 别人笑我忒疯癫,我笑自己命太贱;
* 不见满街漂亮妹,哪个归得程序员?
**************************************************/ 缺省源
#include<bits/stdc++.h>
using namespace std;
// 高精模板
struct Bigint {
int len, a[1005];
Bigint(int x = 0) {
memset(a, 0, sizeof(a));
for(len = 0; x; len++) a[len] = x % 10, x /= 10;
}
int &operator [] (int i) {
return a[i];
}
void flatten(int L) {
len = L;
for(int i = 0; i < len; i++) a[i + 1] += a[i] / 10, a[i] %= 10;
for (; !a[len];) len--;
}
void print() {
for(int i = max(len - 1, 0); i >= 0; i--) printf("%d", a[i]);
}
};
Bigint operator + (Bigint &a, Bigint &b) {
Bigint c;
int len = max(a.len, b.len);
for(int i = 0; i < len; i++)
c[i] += a[i] + b[i];
c.flatten(len + 1);
return c;
}
Bigint operator * (Bigint &a, int b) {
Bigint c;
int len = a.len;
for(int i = 1; i <= len; i++)
c[i] = a[i] * b;
c.flatten(len + 11);
return c;
}
int main() {
// printf("Hello, World!");
// CODE HERE
//
return 0;
}
// by Li Qizhen 李其臻 liqizhen
/**************************************************
* 警告:此代码受BY-NC-ND版权保护
* Copyright ? 2022 Li Qizhen, All Rights Reserved.
*
* 请勿抄袭!
**************************************************/
持续更新中…

