551
  • 2024-08-18Leetcode每日一题 20240818 551.学生出勤记录Ⅰ
    题目描述给你一个字符串s表示一个学生的出勤记录,其中的每个字符用来标记当天的出勤情况(缺勤、迟到、到场)。记录中只含下面三种字符:‘A’:Absent,缺勤‘L’:Late,迟到‘P’:Present,到场如果学生能够同时满足下面两个条件,则可以获得出勤奖励:按总出勤计,学生缺勤(‘A’)严
  • 2024-08-18551.学生出勤记录Ⅰ
    1.题目描述给你一个字符串 s 表示一个学生的出勤记录,其中的每个字符用来标记当天的出勤情况(缺勤、迟到、到场)。记录中只含下面三种字符:'A':Absent,缺勤'L':Late,迟到'P':Present,到场如果学生能够 同时 满足下面两个条件,则可以获得出勤奖励:按 总出勤 计,学生缺勤('A')严格 
  • 2024-05-20atom开发
    执行python进入指定目录下载插件dogle@DESKTOP-KI961IKMINGW64~/.atom/packages$gitclonehttps://github.com/lsegal/atom-runner.gitCloninginto'atom-runner'...remote:Enumeratingobjects:551,done.remote:Total551(delta0),reused0(delta0),pac
  • 2024-04-03记录解决QT环境变量、qwt环境搭建、cannot load QT5core.dll错误、TreeWidget与TabWidget联动及些许EXCEL问题
    一、配置QT环境变量:依次打开:设置->系统->关于->高级系统设置->环境变量->系统变量(s)->Path->编辑,将QT安装目录中以下文件路径复制粘贴至Path中:D:\BaiDuWangPan\SoftWare\QT_551\5.5\mingw492_32\binD:\BaiDuWangPan\SoftWare\QT_551\Tools\mingw492_32\bin相关解决方法可借鉴
  • 2023-07-09#551. 合并果子(二叉堆)
    #551.合并果子_#551.合并果子方法一:手写堆(题解->陶)#include<bits/stdc++.h>usingnamespacestd;constintmaxn=10000+10;intn,heap[maxn],size=0;voidup(intp)//二叉小根堆向上调整(子节点小于父节点就调整){while(p>1){if(heap[p]<heap[p/2]){
  • 2023-02-11bootstrap-js插件1-55
    1引入css和js2复制html组件 3运行之后得到下拉框
  • 2023-01-22551. Student Attendance Record I
    /***551.StudentAttendanceRecordI*Youaregivenastringsrepresentinganattendancerecordforastudentwhereeachcharactersignifieswhetherthe
  • 2023-01-08leetcode-551-easy
    StudentAttendanceRecordIYouaregivenastringsrepresentinganattendancerecordforastudentwhereeachcharactersignifieswhetherthestudentwasab
  • 2022-12-30leetcode-551. 学生出勤记录 I
    551.学生出勤记录I-力扣(Leetcode)字符串序列计数funccheckRecord(sstring)bool{absentCnt:=0cLateCnt:=0fori:=0;i<len(s);i++{