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.0141 sec