随笔分类 -  STL

海港 / 洛谷P2058
摘要:题目 https://www.luogu.com.cn/problem/P2058 CODE 队列 + 结构体 /连接 在 文末/ #include <bits/stdc++.h> using namespace std; #define For(a, b, c, d) for(int a = b; 阅读全文

posted @ 2020-08-08 13:09 LT-Y 阅读(97) 评论(0) 推荐(0)

DAY5 - T1
摘要:T1: 题目 题目描述 VFK家有n个信箱,送信和取信的总次数为q,称为q次访问。 其中这q次访问分成三种类型。 1:使者送来了一封信,放在了x号信箱。 2:VFK取走了x号信箱的所有信(x信箱可能已经没有信了)。 3:VFK取走了前t封送来的信(其中这t封信可能已经通过第二类访问取走了) VFK现 阅读全文

posted @ 2020-08-07 11:05 LT-Y 阅读(124) 评论(0) 推荐(0)

Set Operation / OpenJ_Bailian - 2443
摘要:You are given N sets, the i-th set (represent by S(i)) have C(i) element (Here "set" isn't entirely the same as the "set" defined in mathematics, and 阅读全文

posted @ 2020-03-18 18:49 LT-Y 阅读(208) 评论(0) 推荐(0)

Kiki & Little Kiki 1 / HDU - 2275
摘要:Kiki is considered as a smart girl in HDU, many boys fall in love with her! Now, kiki will finish her education, and leave school, what a pity! One da 阅读全文

posted @ 2020-03-15 10:49 LT-Y 阅读(176) 评论(0) 推荐(0)

水果 / HDU - 1263
摘要:夏天来了好开心啊,呵呵,好多好多水果 Joe经营着一个不大的水果店.他认为生存之道就是经营最受顾客欢迎的水果.现在他想要一份水果销售情况的明细表,这样Joe就可以很容易掌握所有水果的销售情况了. Input 第一行正整数N(0<N<=10)表示有N组测试数据. 每组测试数据的第一行是一个整数M(0< 阅读全文

posted @ 2020-03-14 19:40 LT-Y 阅读(179) 评论(0) 推荐(0)