摘要: A - Move Right 给一个四位的二进制,输出右移一位的结果 #include <bits/stdc++.h> using namespace std; int n; string s ; int main() { cin >> s; cout << '0'; for( int i = 0 阅读全文
posted @ 2022-05-24 16:55 PHarr 阅读(29) 评论(0) 推荐(0) 编辑
摘要: A. Lucky? 给n 个长度6 的数,问前三位和后三位中0 的数量是否相同 #include <bits/stdc++.h> using namespace std; string s; int main(){ int t = read(); while( t -- ){ cin >> s; i 阅读全文
posted @ 2022-05-24 15:37 PHarr 阅读(88) 评论(0) 推荐(0) 编辑