摘要:
题目地址:https://www.nowcoder.com/acm/contest/76/F 搜索 利用队列有序性质直接往后搜索即可 搜过的直接删除 通俗易懂 #include <iostream> #include <queue> using namespace std; int main() { 阅读全文
摘要:
模拟题,数据量较小,直接暴力枚举 #include <iostream> using namespace std; int main(){ int tlen,tans=0,ansf=0; cin>>tlen; string text,mode,ans; cin>>text; while(tlen<t 阅读全文