結果
| 問題 |
No.3036 Nauclhlt型文字列
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-02-28 21:25:29 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 56 ms / 2,000 ms |
| コード長 | 343 bytes |
| コンパイル時間 | 162 ms |
| コンパイル使用メモリ | 82,540 KB |
| 実行使用メモリ | 68,592 KB |
| 最終ジャッジ日時 | 2025-02-28 21:25:32 |
| 合計ジャッジ時間 | 1,808 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 15 |
ソースコード
import math
import heapq
import itertools
import bisect
import random
import time
from collections import deque
import sys
from cmath import exp,pi
from functools import cmp_to_key
input=sys.stdin.readline
n=int(input())
s=list(input().rstrip())
if n%2==1:
print('No')
else:
print('Yes')
print(''.join(s[::2]),''.join(s[1::2]))