結果

問題 No.3036 Nauclhlt型文字列
ユーザー Carpenters-Cat
提出日時 2025-02-28 21:28:34
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 209 bytes
コンパイル時間 1,852 ms
コンパイル使用メモリ 193,788 KB
実行使用メモリ 8,232 KB
最終ジャッジ日時 2025-02-28 21:28:52
合計ジャッジ時間 2,756 ms
ジャッジサーバーID
(参考情報)
judge6 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other WA * 15
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
int main () {
	int N;
	cin >> N;
	string s;
	cin >> s;
	string a[2];
	for (int i = 0; i < N; i ++) {
		a[i & 1] += s[i];
	}
	cout << a[0] << " " << a[1] << endl;
}
0