跳到正文

wyc14

741524

一场秋雨一场凉,秋心酌满泪为霜⚡宣团:90259⚡主页地址:https://www.luogu.me/paste/7myzdm5q⚡100%壶关(除了灰名)

在洛谷打开
资料、奖项与版本

资料

编号
741524
抓取

奖项

2024 CSP-J
二等奖

版本

  1. v2当前
  2. v1

༺ཌൢ꧁ཌༀൢ创始神ༀൢༀད꧂ൢད༻

https://www.chunkbase.com/apps/

c++,不加注释,不用vector,命名不超过3个字符,if和for用以下格式: if() { } for() { } 用万能头、cin、cout,加空格

123

2025.12.4 100粉

My homepage (too long, more than the number of words to put in the cloud clipboard)

我的主页(太长了超过了字数,所以放在云剪贴板里)

My sub-homepage1

我的副主页1

My sub-homepage2

我的副主页2

My sub-homepage3

我的副主页3

Find out

找一找


Blessed by the dragon:

神龙保佑

代码
		          _       _  
		         | |     | |
		         | |_   _| |
		         |_  | |  _|
		       ____|_|_|_|__
		     _|  __     __  |_
		   _|   |0 |   |0 |   |_
		 _|                     |_
		|  O O                    |_																										  ___
		|__________________         |_       																								_|   |_
		                   |_         |_                                                                                                  _|   _   |___
		                     |_         |_                                                                                     __________|   _| |___   |__
                               |_         |_                                                                             _____|      ____|  |_   ___|   __|
        						 |_         |_                                                                         _|         __|    |_   |_|   ___|
                                  _|__        |__                                                                   __|         _|_        |_     _|
                                _|  __|__        |____                                                           __|          _|_  |_        |___|
                              _|  _|  ___|__          |___                                                  ____|          __|_  |_  |_
                            =|___| __|      |__           |___                                          ___|           __|    |_  |___|=
                             =|___|            |_             |__                                   ___|            __|          |___|=
                                                 |__             |___                           ___|             __|
                                                    |___             |____                 ____|             ___|
                                                        |___              |____       ____|              ___|
                                                            |___               |_____|               ___|
                                                                |____                           ____|
                                                                     |____                 ____|
                                                                          |____       ____|
                                                                               |_____|

Buddha blessed:

佛祖保佑

代码
                              _ooOoo_
                             o8888888o
                             88" . "88
                             (| -_- |)
                             O\  =  /O
                          ____/`---'\____
                        .'  \\|     |//  `.
                       /  \\|||  :  |||//  \
                      /  _||||| -:- |||||-  \
                      |   | \\\  -  /// |   |
                      | \_|  ''\---/''  |   |
                      \  .-\__  `-`  ___/-. /
                    ___`. .'  /--.--\  `. . __
                 ."" '<  `.___\_<|>_/___.'  >'"".
                | | :  `- \`.;`\ _ /`;.`/ - ` : | |
                \  \ `-.   \_ __\ /__ _/   .-` /  /
           ======`-.____`-.___\_____/___.-`____.-'======
                              `=---='
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 						Buddha bless never bug-free
 						佛祖保佑        永无BUG
 			 The Buddha said:
 			 佛曰:
 					Writing room in the office building, programmer in the writing room;
 					写字楼里写字间,写字间里程序员;
 					The programmer writes the program and exchanges the program for wine money.
 					程序人员写程序,又拿程序换酒钱。
 					When you wake up, you only sit online, and when you are drunk, you come to sleep online;
 					酒醒只在网上坐,酒醉还来网下眠;
 					Drunk and sober day after day, online and offline year after year.
 					酒醉酒醒日复日,网上网下年复年。
 					I hope to die in the computer room, and I don't want to bow to the boss;
 					但愿老死电脑间,不愿鞠躬老板前;
 					Mercedes-Benz BMW is a noble person who is a bus programmer.
 					奔驰宝马贵者趣,公交自行程序员。
 					Others laugh at me for being crazy, and I laugh at my own life for being too cheap;
 					别人笑我忒疯癫,我笑自己命太贱;

Updated:2025.4.6

更新日期:2025.4.6

共 2 篇
  1. 题解

    题解:AT_abc478_d [ABC478D] Range Set Insertion Query

    该题要求处理多个区间添加操作,每个集合初始为空,每次操作将某个值X_i添加到指定区间的所有集合中,最终统计每个集合的元素个数(去重)。解题思路是:按X_i分类所有操作,对每个X_i的区间进行合并(合并重叠或相邻的区间),然后使用差分数组记录每个合并后的区间的覆盖次数。具体步骤为: 将所有操作按X_i分组,存储对应的区间; 对每个X_i的区间按左端点排序,依次合并重叠或相邻的区间; 对每个合并后的区间[L, R],在差分数组f中对L处加1,R+1处减1; 最后通过前缀和计算每个集合的元素个数,即为所有X_i覆盖次数的总和。 此方法通过合并区间减少重复计算,确保每个集合的元素个数正确统计。

  2. 休闲·娱乐

    动物百科

    这里是动物百科 (有兴趣的可以看看)

    1 赞