01 2022 档案

摘要:/* USE sql_store; #使用 name数据库 SELECT * # (明确获得的列) (*)所有列 customer_id, first_name (选这两列) FROM customers # (明确查询的表) 从 custermers 表中选择 WHERE customer_id 阅读全文
posted @ 2022-01-25 12:17 SummerMingQAQ 阅读(22) 评论(0) 推荐(0) 编辑
摘要:class A { public: int m_a; A() : m_a(0) { std::cout << "A()" << std::endl; } A(const A& other) : m_a(other.m_a) { std::cout << "A(const A&)" << std::e 阅读全文
posted @ 2022-01-21 20:43 SummerMingQAQ 阅读(37) 评论(0) 推荐(0) 编辑
摘要:1 class A { 2 public: 3 int m_x; 4 5 A(int x) 6 : m_x(x) 7 { 8 std::cout << "A(int )" << std::endl; 9 } 10 A(const A& a) 11 : m_x(a.m_x) 12 { 13 std:: 阅读全文
posted @ 2022-01-20 21:45 SummerMingQAQ 阅读(69) 评论(0) 推荐(0) 编辑
摘要:传送门 1 /* 2 思路:把 a1 + a2 + ... + an >= x * (r - l + 1) 3 > a1 + a2 + ... + an - x * (r - l + 1) >= 0 4 可以等价为对于每个(ai - x) 得到新的ai,则题目变为对于任意区间[l, r], al + 阅读全文
posted @ 2022-01-06 16:37 SummerMingQAQ 阅读(118) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示