aboutsummaryrefslogtreecommitdiff
path: root/0-0-inter/subject.ko.txt
diff options
context:
space:
mode:
Diffstat (limited to '0-0-inter/subject.ko.txt')
-rw-r--r--0-0-inter/subject.ko.txt26
1 files changed, 26 insertions, 0 deletions
diff --git a/0-0-inter/subject.ko.txt b/0-0-inter/subject.ko.txt
new file mode 100644
index 0000000..e8e9961
--- /dev/null
+++ b/0-0-inter/subject.ko.txt
@@ -0,0 +1,26 @@
+Assignment name : inter
+Expected files : inter.c
+Allowed functions: write
+--------------------------------------------------------------------------------
+
+Write a program that takes two strings and displays, without doubles, the
+characters that appear in both strings, in the order they appear in the first
+one.
+두 문자열을 인자로 받아, 해당 두 문자열에 둘 다 나타나는 문자들을 화면에 중복 없이 출력하는 프로그램을 작성하시오. 이 때, 첫 번째 문자열에서 나타나는 순서대로 문자들을 출력합니다.
+
+The display will be followed by a \n.
+출력의 마지막에는 \n 이 따라와야 합니다.
+
+If the number of arguments is not 2, the program displays \n.
+만약 인자가 2개가 아닐 경우 \n 을 출력합니다.
+
+Examples:
+
+$>./inter "padinton" "paqefwtdjetyiytjneytjoeyjnejeyj" | cat -e
+padinto$
+$>./inter ddf6vewg64f gtwthgdwthdwfteewhrtag6h4ffdhsd | cat -e
+df6ewg4$
+$>./inter "nothing" "This sentence hides nothing" | cat -e
+nothig$
+$>./inter | cat -e
+$