E D R , A S I H C RSS

Fmt

›ฌธ๊ธฐ
----
ธ๊ธฐ„:C(A,B,C), „ฑ๊ณตฅ :‚ฎŒ(‚ฎŒ,†ต,†’Œ),  ˆฒจ:2(1~4)

About Fmt

fmtผŠ” œ ‹‰Šค ”„กœ๊ทธžจ€ …ŠคŠธฅผ ฝ–˜จ ‹คŒ  ‹นžˆ —ฐ๊ฒฐ•˜๊ฑฐ‚˜ Š–„œ “  –‰˜ ๊ธธ๊ฐ€ 72๊ธ€žŠ” „˜€ •Š€งŒ ตœŒ€•œ 72๊ธ€ž— ๊ฐ€๊นŒš ถœ ฅ ŒŒผ„ งŒ“ค–‚ธ‹ค. –‰„ —ฐ๊ฒฐ•˜๊ฑฐ‚˜ Š„ •ŒŠ” ‹คŒ๊ณผ ๊ฐ™€ ๊ทœ™„ ”ฐฅธ‹ค.
{{|
  1. ž… ฅ— ๊ณตฐฑ žˆœผ –””„œ“ € ƒˆกœš ค„„ ‹œž‘•  ˆ˜ žˆ‹ค. ƒˆกœš ค„ ‹œž‘˜ •ž ค„˜ งจ ’ค ฐ ค„˜ งจ •ž— žˆŠ” ๊ณตฐฑ€ ‘  œ๊ฑฐœ‹ค.
  2. ž… ฅœ ค„ฐ”๊ฟˆ ฌธž ๊ฐ€šฐ (1) นˆ ค„ ˜Š” ๊ณตฐฑงŒ “ค–žˆŠ” ค„ — žˆŠ” ๊ฒƒ๊ณผ (2) ๊ทธ ’ค— ŠคŽ˜Šค ˜Š” ‹คฅธ ค„ฐ”๊ฟˆ ฌธž๊ฐ€ žˆŠ” ๊ฒƒ„  œ™•œ “  ค„ฐ”๊ฟˆ ฌธžŠ”
ถœ ฅ ๊ณผ •—„œ  œ๊ฑฐ  ˆ˜ žˆ‹ค. ค„ ฐ”๊ฟˆ ฌธž๊ฐ€  œ๊ฑฐ  •Œ ๊ทธ ฌธžŠ” ŠคŽ˜Šคกœ น˜™˜œ‹ค.
  1. ถœ ฅ˜Š” ค„˜ งจ ’ค— žˆŠ” ŠคŽ˜ŠคŠ” ‘ ‚ญ œœ‹ค.
  2. 72๊ธ€ž๊ฐ€ „˜Š” ‹จ–๊ฐ€ žˆœผ •œ ค„— ๊ทธ ‹จ– •˜‚˜งŒ ถœ ฅ•œ‹ค.
|}}
ž… ฅ …ŠคŠธ— ƒฌธžŠ” —†‹ค๊ณ  ๊ฐ€ ••„ œ‹ค.

Sample Input

{{|
Unix fmt

The unix fmt program reads lines of text, combining
and breaking lines so as to create an
output file with lines as close to without exceeding
72 characters long as possible. The rules for combining and breaking
lines are as follows.

  1. A new line may be started anywhere there is a space in the input.
If a new line is started, there will be no trailing blanks at the
end of the previous line or at the beginning of the new line.

  1. A line break in the input may be eliminated in the output, provided
it is not followed by a space or another line break. If a line
break is eliminated, it is replaced by a space.
|}}

Sample Output

{{|
Unix fmt

The unix fmt program reads lines of text, combining and breaking lines
so as to create an output file with lines as close to without exceeding
72 characters long as possible. The rules for combining and breaking
lines are as follows.

  1. A new line may be started anywhere there is a space in the input.
If a new line is started, there will be no trailing blanks at the end of
the previous line or at the beginning of the new line.

  1. A line break in the input may be eliminated in the output,
provided it is not followed by a space or another line break. If a line
break is eliminated, it is replaced by a space.
|}}

’€

ž‘„ฑž ‚ฌšฉ–ธ– ๊ฐœฐœ‹œ๊ฐ„ ฝ”“œ
ฌธฐฝ C++ . Fmt/ฌธฐฝ

“ฐ ˆ“œ

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:23:16
Processing time 0.0145 sec