其他分享
首页 > 其他分享> > AGC 052 A - Long Common Subsequence

AGC 052 A - Long Common Subsequence

作者:互联网

#include <bits/stdc++.h>
using namespace std;

int n, T;

int main() {
	scanf("%d", &T);
	
	while (T--) {
		scanf("%d%*s%*s%*s", &n);
		
		putchar('0');
		
		for (int i = 0; i < n; i++)
			putchar('1');
		
		for (int i = 0; i < n; i++)
			putchar('0');
		
		puts("");
	}
}

标签:putchar,int,scanf,位置,AGC,Long,++,Subsequence,s%
来源: https://www.cnblogs.com/iqx37f/p/14864210.html