#2419. 学术社区

    ID: 2419 传统题 1000ms 256MiB 尝试: 0 已通过: 0 难度: NOI/NOI+/CTS 上传者: 标签>PROV赛事:contest926来源:qoj.ac数据:公开样例队列

学术社区

学术社区

题目描述

学术社区 - Problem - QOJ.ac

Login

Register

QOJ.ac

QOJ

[QOJ](//qoj.ac)

Contests

Category

Problems

Submissions

Hack!

Blogs

Day 1

		Time Limit:			1.5 s		
			Memory Limit:			512 MB		
			Total points:			100		
									
	Hackable ✓

				NOI 2022 统一省选 Day 1				

		C.
		学术社区		

	



[
	Statistics	](/contest/926/problem/4051/statistics)





	[
		Statement		](#tab-statement)

			

[ Languages](#)


	[Default](/contest/926/problem/4051/statement/default)
	

							[English](/contest/926/problem/4051/statement/en)

Submit

Custom Test

Attachments

Discussions & Issues

Back to the contest

					**This problem is prepared by 

Itst .**

Submit

Run

Discussions

About Discussions

The discussion section is only for posting: General Discussions (problem-solving strategies, alternative approaches), and Off-topic conversations.

This is NOT for reporting issues! If you want to report bugs or errors, please use the Issues section below.

Open Discussions 0

No discussions in this category.

Issues

About Issues

If you find any issues with the problem (statement, scoring, time/memory limits, test cases, etc.), you may submit an issue here. A problem moderator will review your issue.

Guidelines:

This is not a place to publish discussions, editorials, or requests to debug your code. Issues are only visible to you and problem moderators.

Do not submit duplicated issues.

Issues must be filed in English or Chinese only.

Active Issues 0

No issues in this category.

Closed/Resolved Issues 0

No issues in this category.

					 English					
				

				[العربية](//qoj.ac/contest/926/problem/4051?locale=ar)
					[English](//qoj.ac/contest/926/problem/4051?locale=en)
					[Español](//qoj.ac/contest/926/problem/4051?locale=es)
					[Français](//qoj.ac/contest/926/problem/4051?locale=fr)
					[日本語](//qoj.ac/contest/926/problem/4051?locale=ja)
					[한국어](//qoj.ac/contest/926/problem/4051?locale=ko)
						[Türkçe](//qoj.ac/contest/926/problem/4051?locale=tr)
						[简体中文](//qoj.ac/contest/926/problem/4051?locale=zh-cn)
					[繁體中文](//qoj.ac/contest/926/problem/4051?locale=zh-tw)

QOJ.ac | QOJ 4.5.49 (2019-2026)

Made with ❤️ by Qingyu✨ | Contact us: [email protected]

Server Time: 2026-11-09 08:00:16 (UTC+8)

输入格式

(见题面原文)

输出格式

(见题面原文)

数据范围

(见题面原文)

样例

样例 1

2
4 15
builtin_clz
builtin_ctz
jinkela
OrzTourist
builtin_clz MengXin QiuZhu
builtin_ctz builtin_clz louxia
jinkela builtin_ctz louxia
builtin_ctz builtin_clz loushang
builtin_clz BieMoZheng YaoXueShu
OrzTourist builtin_clz louxia
OrzTourist OrzTourist louxia
builtin_clz Iam Angry!
builtin_clz builtin_clz loushang
builtin_clz builtin_clz louxia
builtin_clz builtin_clz loushang
builtin_clz builtin_clz louxia
builtin_ctz Xue Shu
jinkela Xue Shu
OrzTourist Xue Shu
1 9
builtin_clz
builtin_clz builtin_clz loushang
builtin_clz builtin_clz loushang
builtin_clz builtin_clz louxia
builtin_clz builtin_clz Loushang
builtin_clz builtin_clz LOUSHANG
builtin_clz Builtin_clz loushang
builtin_clz loushang louxia
builtin_clz builtin_clz builtin_clz
builtin_clz loushang builtin_clz
9
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
3
8 1 2 7 9 3 6 4 5

样例 2

4
9 10
PinkRabbit
YuDa
lxl
Goodeat
DengLaoShi
djq_cpp
xpp
lk
Elegia
PinkRabbit LaTeX Mozheng!
PinkRabbit PinkRabbit louxia
YuDa jkjk mxmx
lxl QingWA ShiZhouXin
Goodeat Are_You DengMingYang
DengLaoShi Wo_Shi ZhongZiQian
djq_cpp CyclicMatrix Determinant.
xpp YuDa npy_When?
lk QOnePass? NoNoNoYes
Elegia Poly_is Trivial.
1 10
qwertyuiop
qwertyuiop poiuytrewq loushang
qwertyuiop qwertyuioq louxia
qwertyuiop qwertyuiop loushang
qwertyuiop qwertyuiop louxia
qwertyuiop poiuytrewq loushang
qwertyuiop qwertyuiop loushang
qwertyuiop poiuytrewq louxia
qwertyuiop qwertyuiop louxia
qwertyuiop qwertyviop loushang
qwertyuiop qwertyuiop louxia
4 10
A
B
C
D
A A A
B B B
C C C
D D D
A D louxia
B D louxia
C D loushang
D C loushang
A B loushang
A B louxia
2 10
A
B
A A A
B B B
A B loushang
A B loushang
B A louxia
B A louxia
A B loushang
A B loushang
B A louxia
B A louxia
1
1 2 3 4 5 6 7 8 9 10
5
1 10 2 5 7 9 3 4 6 8
5
9 2 10 1 5 7 8 3 4 6
8
1 3 5 4 6 7 9 8 10 2