Logo
(追記) (追記ここまで)

21955번 - Split 다국어

시간 제한메모리 제한제출정답맞힌 사람정답 비율
1 초 512 MB61253849189.762%

문제

In order to teach Mihai to write figures neatly, his teacher gave him for homework to write several numbers. Because he was rushing to finish his homework as quick as possible so that he can play on the computer, he wrote the numbers so close that some of them were attached.

When his mother looked on Mihai’s notebook, she noticed this thing and she thought of a challenge for the little boy. She writes a number with an even number of digits and Mihai should split this number in two equal parts and should write the two numbers which are formed after this move.

This thing will help Mihai learn how to write numbers neatly in a funny way.

Help Mihai find two numbers which form the number said by his mother, if we attach the second number at the end of the first one.

입력

The first line of the input contains only one integer, N – the number told by Mihai’s mother.

출력

The output contains two integers separated by space, the numbers which form the number told by Mihai’s mother.

제한

  • 1 ≤ N ≤ 1018.
  • N has even number of digits.
  • All digits are different from 0.

예제 입력 1

2341

예제 출력 1

23 41

예제 입력 2

238445

예제 출력 2

238 445

힌트

출처

Contest > infO(1) Cup > infO(1) Cup 2019 National Round 1번

(追記) (追記ここまで)

출처

대학교 대회

  • 사업자 등록 번호: 541-88-00682
  • 대표자명: 최백준
  • 주소: 서울시 서초구 서초대로74길 29 서초파라곤 412호
  • 전화번호: 02-521-0487 (이메일로 연락 주세요)
  • 이메일: contacts@startlink.io
  • 통신판매신고번호: 제 2017-서울서초-2193 호

AltStyle によって変換されたページ (->オリジナル) /