版本比较
刷计错题
标题
增加 1 行删除 1 行
11fs刷题计划刷计错题正文
增加 50 行删除 2 行
154 行未改动全部展开15515615715815915916016116216337 行未改动20120220320420520520620720820940 行未改动250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308154 行未改动全部展开
题目:https://www.luogu.com.cn/problem/P1413
::::info[30分]::::info[『AC』30分]```c#include <bits/stdc++.h>using namespace std;#define int long long37 行未改动----
题目:https://www.luogu.com.cn/problem/P1114
::::info[40分]::::info[『AC』找区间和为0超时,40分]```c#include <bits/stdc++.h>using namespace std;#define int long long40 行未改动::::
----
题目:https://www.luogu.com.cn/problem/P2058
::::info[『AC』40分]```c#include <bits/stdc++.h>using namespace std;#define int long long#define re return#define ew 5005#define sz 1000005#define sscc cout<<6;const int MOD=1e9+7;int ansint num[sz];struct node{ int x, t; }a;queue<node> q;signed main(){ int n; cin>>n; for(int i=1; i<=n; i++){ int t,k; cin>>t>>k; for(int j=1;j<=k;j++){ int x; cin>>x; q.push({x,t}); num[x]++; if(num[x]==1){ ans++; } } while(q.size() && a.t+86400<=t){ a=q.front(); q.pop(); num[a.x]--; if(num[a.x]==0){ ans--; } } cout<<ans<<endl; } re 0;}
::::
----
::::info[]```c::::
----