結果
問題 | No.3036 Nauclhlt型文字列 |
ユーザー |
![]() |
提出日時 | 2025-02-28 21:27:31 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 289 bytes |
コンパイル時間 | 258 ms |
コンパイル使用メモリ | 12,032 KB |
実行使用メモリ | 11,392 KB |
最終ジャッジ日時 | 2025-02-28 21:27:36 |
合計ジャッジ時間 | 1,637 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge6 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 2 |
other | AC * 5 WA * 10 |
ソースコード
import sysinput = sys.stdin.readlineN=int(input())S=input().strip()A=[]B=[]if N%2==0:print("Yes")for i in range(N):if i%2==0:A.append(S[i])else:B.append(S[i])print("".join(A))print("".join(B))else:print("No")