السابق التالي
0 / 23
الوحدة النمطية DEMO-32-108DEMO-C-32

Concatenate Strings

DEMO-C-32 • Programming in C

Browser-only practice

بيان المشكلة

Write a program that reads two separate strings and joins them together into a single string. The second string should be appended to the first.

قيود

Max string length: 100

تنسيق الإدخال

Input:

S1 S2

تنسيق الإخراج

Output:

S1S2

حالات اختبار نموذجية

Submit runs every public testcase in this browser. Results and code never leave this device.

العينة رقم 1
عينة ظاهرة
tangerine mouse
tangerinemouse
Concatenating tangerine and mouse results in tangerinemouse.
العينة رقم 2
عينة ظاهرة
client thread
clientthread
Concatenating client and thread results in clientthread.
العينة رقم 3
عينة ظاهرة
laptop laptop
laptoplaptop
Concatenating laptop and laptop results in laptoplaptop.
العينة رقم 4
عينة ظاهرة
html kanban
htmlkanban
Concatenating html and kanban results in htmlkanban.

Web terminal

C, C++, Java, and Python run locally in a browser VM. No worker or visualizer is used.

Saved in this browser
إعدادات المحرر