結果
問題 |
No.3036 Nauclhlt型文字列
|
ユーザー |
![]() |
提出日時 | 2025-02-28 21:30:08 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 48 ms / 2,000 ms |
コード長 | 203 bytes |
コンパイル時間 | 467 ms |
コンパイル使用メモリ | 82,240 KB |
実行使用メモリ | 70,316 KB |
最終ジャッジ日時 | 2025-02-28 21:30:15 |
合計ジャッジ時間 | 1,950 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 15 |
ソースコード
N=int(input()) if N%2==0: print('Yes') A=[];B=[] S=input() for i in range(N): if i%2==0: A.append(S[i]) else: B.append(S[i]) print(''.join(A),''.join(B)) else: print('No')