上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 22 下一页
摘要: 一道数学题,乘以ai - aj 用平方差,O(n)解决 阅读全文
posted @ 2019-07-13 22:26 LightAc 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 本学期失败之处:1.学习知识要深刻理解原理。2.提高上课效率,平时认真完成作业。3.物理考试给的教训:1.上课一定要注意力高度集中 2.平时要注重教材上的基础内容 3.不要指望理科性的知识靠短时间复习冲刺就能考高。 结合本学期与上学期的失败之处可以发现,上学期失败是归咎于政治平时没有背导致的期末复习 阅读全文
posted @ 2019-07-13 21:19 LightAc 阅读(192) 评论(0) 推荐(1) 编辑
摘要: 写到自闭的代码,挺好的实验题,直接发我的github吧 https://github.com/18ouc/10/tree/master/%E5%AE%9E%E9%AA%8C%E5%8D%81 阅读全文
posted @ 2019-06-05 10:46 LightAc 阅读(172) 评论(0) 推荐(0) 编辑
摘要: #include using namespace std; class Account { private: double balance; public: Account(double balance = 0) {balance=balance;} virtual double credit(double creFee = 0) { balanc... 阅读全文
posted @ 2019-05-29 14:13 LightAc 阅读(199) 评论(0) 推荐(0) 编辑
摘要: 第一关 通过尝试可知修改 id = 后的值能够改变hello的内容,下面的语句给了提示You are not the admin.不妨猜想如果使之出现admin即可过关。 Admin时,失败 不断尝试 过了第一关 第二关 由于出现了cookie不妨想到查看其cookie 由于查看cookie后发现g 阅读全文
posted @ 2019-05-26 20:53 LightAc 阅读(741) 评论(0) 推荐(0) 编辑
摘要: //Automobile.h #ifndef AUTOMOBILE_H #define AUTOMOBILE_H using namespace std; #include class Park; class Automobile { public: void enter(Park *park); string getName(); void leave(Park *p... 阅读全文
posted @ 2019-05-22 13:32 LightAc 阅读(195) 评论(0) 推荐(0) 编辑
摘要: #include using namespace std; const int MAX_num_AIM = 3; const int MAX_num_TRAVELWAY = 2; const int MAX_num_LUGGAGENUMBER = 3; const int MAX_num_PASSENGER = 62; enum Aim {DomesticShort, DomesticLong... 阅读全文
posted @ 2019-05-04 19:59 LightAc 阅读(246) 评论(0) 推荐(1) 编辑
摘要: #include using namespace std; typedef long long ll; int n,tot; ll p[200],f[2000],ans; int main(){ scanf("%d",&n); for (int i=2;i=p[i];--j) for(int k=p[i];k<=j;k*=p[i]) f[j]+=f[... 阅读全文
posted @ 2019-04-22 13:36 LightAc 阅读(118) 评论(0) 推荐(0) 编辑
摘要: #include using namespace std; int dp[1005],f[1005]; int main(){ ios::sync_with_sidio(false); int t; cin >>t; while(t--){ memset(dp,0,sizeof(dp)); int n,m; ... 阅读全文
posted @ 2019-04-21 22:34 LightAc 阅读(266) 评论(0) 推荐(0) 编辑
摘要: #include using namespace std; const int MAXN = 33000; long long dp[MAXN] = {0}; int main () { dp[0] = 1; for (int i = 1; i <= 3; i++) { for (int j = i; j < MAXN; j++) { ... 阅读全文
posted @ 2019-04-21 22:21 LightAc 阅读(189) 评论(0) 推荐(0) 编辑
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 22 下一页
返回顶端