摘要:
OMG_Data_Structure So_Interesting_Mother-Fucker(译:数据结构,奥妙重重) 虽然只是模板,但还是挺麻烦的,可见数据结构都是毒瘤。 已知一个数列,你需要进行下面三种操作: 操作1: 格式:1 x y k 含义:将区间[x,y]内每个数乘上k 操作2: 格式 阅读全文
摘要:
#include #include #include #include #define repo(i,a,b) for(register int i=(a);i=(b);++i) using namespace std; int n; int ans1 = 0x3f3f3f3f,ans2 = -1; int a[210],sum[210],f1[210][210],f2[210][21... 阅读全文