Problems
 
 
# Name    
A
standard input/output
1 s, 1024 MB
Submit  x9
B
standard input/output
1 s, 1024 MB
Submit  x3
C
standard input/output
1 s, 1024 MB
Submit  x2
D
standard input/output
3 s, 1024 MB
Submit  x1
Complete problemset
 
 
 
 
Questions about problems
 
 
  Question Answer
2026-11-07 10:04:56
Announcement
General announcement
*****
English statements are now available!

The English PDF contains all four problems (A-D). Open "Statements #2 (en)" under Contest materials on the right-hand side of the contest page, or download it directly:
https://codeforces.me/gym/106814/attachments/download/40642/csp-s-2026-english-translation.pdf

The problem pages display the Chinese statements; use the PDF to read in English. This is an unofficial English translation.

Sample inputs/outputs and explanations are included in the PDF. Additional sample files referenced in the statements are available in the following ZIP archives under Contest materials:
A (crystal): 能量水晶补充样例 (zh)
B (subway): 地铁补充样例 (zh)
C (migrate): 迁徙补充样例 (zh)
D (hub): 研发基地补充样例 (zh)

Download and extract the archive for the corresponding problem. File names include the problem code. For example, subway/2.in and subway/2.ans in the statement correspond to subway2.in and subway2.ans in the archive. The (zh) label does not affect the input/output files.

Please use standard input and standard output for all submissions. Good luck and have fun!

[Chinese translation]

英文题面现已上线!

英文 PDF 包含全部四题(A-D)。请在比赛页面右侧的 Contest materials 中打开 "Statements #2 (en)",也可以通过上方链接直接下载。

各题网页显示中文题面;如需阅读英文,请使用该 PDF。此文件为非官方英文翻译版本。

PDF 中包含样例输入、输出及解释。题面引用的补充样例文件位于 Contest materials 中以下 ZIP 附件:
A(crystal):能量水晶补充样例 (zh)
B(subway):地铁补充样例 (zh)
C(migrate):迁徙补充样例 (zh)
D(hub):研发基地补充样例 (zh)

请下载并解压对应题目的压缩包。文件名带有题目代号前缀。例如,题面中的 subway/2.in 和 subway/2.ans 对应压缩包内的 subway2.in 和 subway2.ans。附件的 (zh) 标签不影响输入、输出文件的使用。

所有提交均应使用标准输入和标准输出。祝大家做题愉快!