771
  • 2023-07-11Codeforces Round #771 (Div. 2) A-E
    A代码#include<bits/stdc++.h>usingnamespacestd;usingll=longlong;intp[507];boolsolve(){intn;cin>>n;for(inti=1;i<=n;i++)cin>>p[i];intpos1=0,pos2=0;for(inti=1;i<=n;i++){
  • 2023-05-30leetcode 771. Jewels and Stones
    You'regivenstrings J representingthetypesofstonesthatarejewels,and S representingthestonesyouhave. Eachcharacterin Sisatypeofstoneyouhave. Youwanttoknowhowmanyofthestonesyouhavearealsojewels.Thelettersin J areg
  • 2023-05-08AcWing 771. 字符串中最长的连续出现的字符
    AcWing771.字符串中最长的连续出现的字符1.地址https://www.acwing.com/problem/content/description/773/2.题解#include<iostream>#include<cstdio>#include<string>usingnamespacestd;intmain(){intn;intsum;intmax;int
  • 2023-03-23[leeccode]771. Jewels and Stones
    J representingthetypesofstonesthatarejewels,and S representingthestonesyouhave. Eachcharacterin Sisatypeofstoneyouhave. Youwantto
  • 2023-02-12770~771 EL概述,运算符
    El表达式1.概念:ExpressionLanguage表达式语言ExpressionLanguage是JSTL1.0为方便存取数据所自定义的语言。2.作用:替换和简化jsp页面中java代码的
  • 2023-02-02LeetCode - 771. Jewels and Stones
    题目You’regivenstrings​​J​​​representingthetypesofstonesthatarejewels,and​​S​​representingthestonesyouhave.EachcharacterinSisa
  • 2022-11-23Codeforces Round #771 (Div. 2) E Colorful Operations
    ColorfulOperations珂朵莉树+树状数组||线段树单独维护点当前的值\(val\)和当前颜色的值\(tag\)这样就可以分开维护颜色和点的值,把复杂的操作\(2\)变成\(O(
  • 2022-11-04leetcode-771-easy
    JewelsandStonesYou'regivenstringsjewelsrepresentingthetypesofstonesthatarejewels,andstonesrepresentingthestonesyouhave.Eachcharacterin
  • 2022-10-22771. 字符串中最长的连续出现的字符
    文章目录​​Question​​​​Ideas​​​​Code​​Question求一个字符串中最长的连续出现的字符,输出该字符及其出现次数,字符串中无空白字符(空格、回车和tab),如果这样的字
  • 2022-09-04Codeforces Round #771 E
    E.ColorfulOperations对于一个序列有三种操作:1.将[l,r]区间颜色修改为c2.将所有c颜色的+x3.单点查询操作1好说是个区间修改操作2就有点逆天了那我们考虑简化操作