摘要:
视频链接:A20 双指针 [ABC098D] Xor Sum 2_哔哩哔哩_bilibili Luogu [ABC098D] Xor Sum 2 #include <iostream> #include <cstring> #include <algorithm> using namespace s 阅读全文
posted @ 2023-08-24 21:49
董晓
阅读(647)
评论(0)
推荐(0)
摘要:
视频链接:A19 双指针 P1381 单词背诵_哔哩哔哩_bilibili Luogu P1381 单词背诵 #include<bits/stdc++.h> using namespace std; int n,m; string s[100005],s1; map<string,bool> wor 阅读全文
posted @ 2023-08-24 21:47
董晓
阅读(771)
评论(1)
推荐(2)
摘要:
A18 双指针(尺取法)_哔哩哔哩_bilibili Luogu P1147 连续自然数和 #include<cstdio> int main(){ int m; scanf("%d",&m); int i=1,j=1,sum=1; while(i<=m/2){ //i<=j if(sum<m){ 阅读全文
posted @ 2023-08-24 21:29
董晓
阅读(1265)
评论(0)
推荐(0)
摘要:
视频链接:217 线段树 [SCOI2007] 降雨量_哔哩哔哩_bilibili Luogu P2471 [SCOI2007] 降雨量 #include <cstdio> #include <cstring> #include <iostream> #include <algorithm> usi 阅读全文
posted @ 2023-08-24 17:34
董晓
阅读(479)
评论(0)
推荐(2)
浙公网安备 33010602011771号