結果
問題 |
No.3036 Nauclhlt型文字列
|
ユーザー |
|
提出日時 | 2025-02-28 21:22:57 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 301 ms / 2,000 ms |
コード長 | 214 bytes |
コンパイル時間 | 202 ms |
コンパイル使用メモリ | 82,036 KB |
実行使用メモリ | 85,908 KB |
最終ジャッジ日時 | 2025-02-28 21:22:59 |
合計ジャッジ時間 | 1,989 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 15 |
ソースコード
N = int(input()) S = input() if N%2 == 0: a,b = "","" for i in range(N): if i%2 == 0: a += S[i] else: b += S[i] print("Yes") print(a,b) else: print("No")