题目:http://www.codeforces.com/contest/266/problem/B
思路:模拟法
#includeusing namespace std;char arr[55];int main(){ int n,t; cin >> n >> t; for (int i = 0; i < n; i++) { cin >> arr[i]; } for(int i=0;i
本文共 307 字,大约阅读时间需要 1 分钟。
题目:http://www.codeforces.com/contest/266/problem/B
思路:模拟法
#includeusing namespace std;char arr[55];int main(){ int n,t; cin >> n >> t; for (int i = 0; i < n; i++) { cin >> arr[i]; } for(int i=0;i
转载于:https://www.cnblogs.com/danielqiu/archive/2013/01/23/2872806.html