全部评论 15

  • #include <windows.h>
    #include <bits/stdc++.h>
    using namespace std;
    void ClickL() {
    mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
    mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
    }
    
    void ClickR() {
    mouse_event(MOUSEEVENTF_RIGHTDOWN, 0, 0, 0, 0);
    mouse_event(MOUSEEVENTF_RIGHTUP, 0, 0, 0, 0);
    }
    int delay = 30; // 连点器点击延迟(毫秒)
    int main() {
    system("color a");
    bool Lflag = 0, Rflag = 0;
    cout << "连点器 - 按住R、G键开始/停止连点,A键退出, R:左键;G:右键" << endl;
    while (true) {
    if (GetAsyncKeyState('R') & 0x8000) {
    
    		Lflag = !Lflag;
    		Beep(1000, 200);
    	}
    	if (GetAsyncKeyState('G') & 0x8000) {
    
    		Rflag = !Rflag;
    		Beep(1000, 200);
    	}
    	if (Lflag) {
    		ClickL();
    		Sleep(delay);
    	}
    	if (Rflag) {
    		ClickR();
    		Sleep(delay);
    	}
    	if (GetAsyncKeyState('A') & 0x8000) {
    		break;
    	}
    }
    
    return 0;
    }
    

    4天前 来自 广东

    2
  • 我的连点器CPS破600了

    2天前 来自 广东

    1

  • 不亏不亏

    3天前 来自 广东

    1
  • 老师禁言了我们在这里照样聊

    3天前 来自 广东

    1
  • 连点器代码:
    #include <windows.h>
    #include <bits/stdc++.h>
    using namespace std;
    void ClickL() {
    mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
    mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
    }

    void ClickR() {
    mouse_event(MOUSEEVENTF_RIGHTDOWN, 0, 0, 0, 0);
    mouse_event(MOUSEEVENTF_RIGHTUP, 0, 0, 0, 0);
    }
    int delay = 30; // 连点器点击延迟(毫秒)
    int main() {
    system("color a");
    bool Lflag = 0, Rflag = 0;
    cout << "连点器 - 按住R、G键开始/停止连点,A键退出, R:左键;G:右键" << endl;
    while (true) {
    if (GetAsyncKeyState('R') & 0x8000) {

    	Lflag = !Lflag;
    	Beep(1000, 200);
    }
    if (GetAsyncKeyState('G') & 0x8000) {
    
    	Rflag = !Rflag;
    	Beep(1000, 200);
    }
    if (Lflag) {
    	ClickL();
    	Sleep(delay);
    }
    if (Rflag) {
    	ClickR();
    	Sleep(delay);
    }
    if (GetAsyncKeyState('A') & 0x8000) {
    	break;
    }
    

    }

    return 0;
    }

    4天前 来自 广东

    1
  • J组直播间的房间号是xmw666

    4天前 来自 福建

    1
  • S组下课的能在这聊会天吗

    2天前 来自 广东

    0
  • 我是S组的人,我不知道徐溶是谁,再来看看J组那边


    这说明徐溶有可能是乱输房间号进来的

    2天前 来自 广东

    0
  • 有入吗

    2天前 来自 广东

    0
  • 你们被禁言了吗?

    3天前 来自 广东

    0
    • userId_undefined
      ™
      回复
      liu

      J组的乱入

      3天前 来自 新疆

      0
  • 那老师来了不就炸了吗

    3天前 来自 浙江

    0
  • https://game.hullqin.cn/dfw/t614

    4天前 来自 广西

    0
  • https://game.hullqin.cn/dfw/a536

    4天前 来自 广西

    0
  • #include<bits/stdc++.h>
    using namespace std;
    int main() {
        freopen("er.in","r",stdin);
        freopen("er.out","w",stdout);
        int n,m;
        cin>>n>>m;
        string s1,s2;
        cin>>s1;
        cin>>s2;
        //pos[c]存储字符c在 s2 中出现的所有下标
        vector<vector<int>>pos(26);
        for(int j=0;j<m;j++){
            int t=s2[j]-'A';
            pos[t].push_back(j+1);
        }
        int last_j=0;//上一个匹配的蓝点下标,初始为 0
        int ans=0;
        for(int i=0;i<n;i++){
            int id=s1[i]-'A';
            auto vec=pos[id];
            auto it=upper_bound(vec.begin(),vec.end(),last_j);
            if(it!=vec.end()){
                ans++;
                last_j=*it;
            }
        }
        cout<<ans;
        return 0;
    }
    

    救我救我救我

    4天前 来自 北京

    0
    • userId_undefined
      liu
      回复
      Smile

      你这是第几题啊?

      4天前 来自 广东

      0
    • userId_undefined
      Smile
      回复
      liu

      T1

      4天前 来自 北京

      0
    • userId_undefined
      Smile
      回复
      liu

      70pts

      4天前 来自 北京

      0
  • file:///C:/Users/%E5%88%98%E6%B0%B8%E5%9D%9A/Desktop/%7B9BC779DE-0223-44EB-A1F2-48BB4280AB21%7D.png

    4天前 来自 福建

    0

热门讨论