QOJ.ac

QOJ

Límite de tiempo: 1.0 s Límite de memoria: 512 MB Puntuación total: 100 Hackeable ✓

#11370. JB 喜欢逗号

Estadísticas

JB 是最著名的 ICPC 世界总决赛选手。他在 ICPC 世界总决赛中最喜欢的问题是要求他在字符串中添加一些逗号。

现在,JB 想要与你分享添加逗号的快乐,所以他要求你在他给出的字符串 $S$ 中,在每一个子串 “cjb” 后面添加一个逗号。

仅一行,包含一个字符串 $S$ ($1 \le |S| \le 10^5$),仅由小写英文字母组成。

一个字符串,表示添加逗号后的结果。

样例

输入 1

pbpbppb

输出 1

pbpbppb

输入 2

cjbismyson

输出 2

cjb,ismyson

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:

  1. This is not a place to publish discussions, editorials, or requests to debug your code. Issues are only visible to you and problem moderators.
  2. Do not submit duplicated issues.
  3. 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.