摘要: 题意: 给出一串由0,1,?组成的字符串,要求把?变成0或1,保证字符串为回文字符串且满足有a个0,b个1。 题解: 在cf上看到的大佬写的极短的题解(某菜写出来也太长了)。 ACcode: int main() { int t; cin >> t; while (t--) { int a, b; 阅读全文
posted @ 2021-05-23 09:59 Uiney 阅读(91) 评论(0) 推荐(0) 编辑