s

spessert

#881317

再多对一道她就会回来找我

发帖
45
文章
0
互动
12
陶片
0
获赞
0
收藏
0

历史用户名外显

追踪最近的用户名外显变动记录。

  1. spessert
    最早追溯到 2025/11/04最后捕获于 2025/11/04
  2. spessert
    最早追溯到 2024/04/08最后捕获于 2024/04/08
  3. spessert
    最早追溯到 2024/03/11最后捕获于 2024/03/11
  4. spessert
    最早追溯到 2023/11/16最后捕获于 2023/11/16

时间线

最近的文章、讨论、云剪贴板与社区记录

  1. 发起讨论
    90......

    测试点9没过,但是下载样例后发现输出的没错!?? ```c++ #include using namespace std; struct Student{ string name; //姓名 int score1,score2; //俩成绩 char m,x; //学生干部和西部省份 int num; //论文数 in…

    回复 4参与人数 4
  2. 发起讨论
    59玄关求调

    ```cpp #include using namespace std; char mp[310][310]; //地图 bool vis[310][310]; //染色图 int dirx[]={0,1,0,-1}; //4个方向 int diry[]={1,0,-1,0}; struct AXI{ int x,y;…

    回复 0参与人数 1
  3. 发起讨论
    样例过了但0分

    ```cpp #include using namespace std; int mp[1005][1005],n,m; //地图-1为没棋子,0为白棋,1为黑棋 bool vis[1005][1005]; //染色图 int dirx[]={1,0,-1,0}; //方向 int diry[]={0,1,0,-1};…

    回复 0参与人数 1
  4. 发起讨论
    30求助

    ```cpp #include #include #include using namespace std; string rev(int x, int p) { // 进制转换(x为数字,p为进制) string str = ""; while (x) { // 取余 int digit = x % p; if (d…

    回复 0参与人数 1
  5. 发起讨论
    28TLE怎么优化呢

    ```cpp #include using namespace std; long long num[100010],sum[100010]={0}; int main() { ios::sync_with_stdio(0); cin.tie(0),cout.tie(0); //输入输出优化。 long long n,…

    回复 0参与人数 1
  6. 发起讨论
    50求助

    ```cpp #include using namespace std; int main() { long long a,b,n; cin>>a>>b>>n; long long week=a*5+b*2;//一周工作量 long long cnt=n/week; //一共cnt周 n%=week; //剩下的工作量…

    回复 0参与人数 1
  7. 发起讨论
    64分 Why?

    ```cpp #include using namespace std; int W[3500],D[3500]; //重量和价值 int n,m; int dp[3500][3500]; int main(){ memset(dp,-0x3f,sizeof(dp)); cin>>n>>m; for(int i=1;i…

    回复 0参与人数 1
  8. 发起讨论
    记忆化求助

    ```cpp #include using namespace std; int t,m; int V[200],W[200]; int mem[200][2000]; int dfs(int x,int spT){ //草药序号+剩余时间 if(mem[x][spT]!=-1) return mem[x][spT];…

    回复 0参与人数 1
  9. 发起讨论
    记忆化搜索求助

    不知道哪里出问题了 ```cpp #include using namespace std; int t,m; int V[200],W[200]; int mem[200][200]; int dfs(int x,int spT){ //草药序号+剩余时间 if(mem[x][spT]) return mem[x][…

    回复 0参与人数 1
  10. 发起讨论
    求助,一片红

    ```cpp #include using namespace std; set s; int main(){ int n; cin>>n; while(n--){ int x; cin>>x; if(s.count(x)){//有重复的,把重复的去掉 s.erase(x); }else{ s.insert(x); /…

    回复 1参与人数 1
  11. 回复讨论

    在讨论全WA玄关求调回复:

    可是改了后还是全WA ```cpp #include using namespace std; int res=0,n,m; char mp[505][505]; bool vis[505][505]; int dirx[]={1,0,-1,0}; int diry[]={0,1,0,-1}; struct AXI{…
  12. 回复讨论

    在讨论全WA玄关求调回复:

    @[__zaa__](/user/716965) 感谢!!
  13. 回复讨论

    在讨论全WA玄关求调回复:

    @[wxw_zl](/user/469487) 感谢!
  14. 发起讨论
    全WA玄关求调

    本地全过但还是全WA ```cpp #include using namespace std; int res=0,n,m; char mp[505][505]; bool vis[505][505]; int dirx[]={1,0,-1,0}; int diry[]={0,1,0,-1}; struct AXI{…

    回复 7参与人数 7
  15. 发起讨论
    双端队列RE2个求助

    ```cpp #include using namespace std; int n=1,m=1,x2,y2; char mp[5050][5050]; int vis[5050][5050]={0}; struct AXI{ int x,y; }; deque de; int dirx[]={1,0,-1,0}; i…

    回复 0参与人数 1
  16. 发起讨论
    爆0求助

    其他帖子爆0的样例我都能过,但是还是爆0 ```cpp #include using namespace std; int up[100100]; queue qu;//下边的 stack s; //上边入栈的 bool judge(){ //判断剩下的是否一一对应 while(!qu.empty()){ if(qu.…

    回复 2参与人数 2
  17. 发起讨论
    BFS TLE...

    ```cpp #include using namespace std; int n,m; char mp[2100][2100]; //地图 bool vis[2100][2100]; int dirx[]={1,0,-1,0}; //4个方向 int diry[]={0,-1,0,1}; struct AXI{ i…

    回复 0参与人数 1
  18. 发起讨论
    4,5TLE 求大佬优化

    ```cpp #include using namespace std; int n,k,res=0; //1-n的区间内分成k个数字的组合 int x[300]; bool judge(int dep){ for(int i=1;i x[dep]){ //前面有数字比这层的大 return false; } } re…

    回复 1参与人数 1
  19. 发起讨论
    80??!?

    最后一个测试点WA了,但是我下载测试点后发现输出的结果也没有错嘛(输入24输出128) ```cpp #include using namespace std; int n,res=0; int num[5]={0}; int cal[1000]={6,2,5,5,4,5,6,3,7,6}; void dfs(int…

    回复 0参与人数 1
  20. 回复讨论

    在讨论60求助回复:

    @[lij123](/user/1037981) 明白了,感谢
  21. 发起讨论
    60求助

    ```cpp #include using namespace std; int num[50]; int main(){ num[1]=1; num[2]=2; for(int i=3;i >n; while(n--){ int x; cin>>x; cout<<num[x-1]<<endl; } return 0;…

    回复 3参与人数 3
  22. 回复讨论

    在讨论二分RE??回复:

    @[liulijinyu](/user/1328469) AC了,感谢!!!
  23. 发起讨论
    二分RE??

    ```cpp #include using namespace std; int num[30000]; int main(){ int n,C; cin>>n>>C; for(int i=1;i >num[i]; } long long cnt=0; sort(num+1,num+n+1); for(int A=n;…

    回复 5参与人数 5
  24. 发起讨论
    33玄关

    ```cpp #include #include #include using namespace std; struct DIR{ int x,y; }dir; queue quman,qucow; char mp[15][15]; int main(){ int x=-1,y=0;//北 quman.push({x…

    回复 0参与人数 1
  25. 发起讨论
    59求助

    ```cpp #include using namespace std; char mp[310][310]; //地图 bool vis[310][310]; //染色图 int dirx[]={0,1,0,-1}; //4个方向 int diry[]={1,0,-1,0}; struct AXI{ int x,y;…

    回复 0参与人数 1
  26. 发起讨论
    28求助!

    感觉思路也没什么问题,去除前导0那段删掉能拿44分 ```cpp #include #include using namespace std; priority_queue que; int main() { string str; cin>>str; int n; cin>>n; for(int i=0;i<str.…

    回复 0参与人数 1
  27. 回复讨论

    在讨论90分求助回复:

    @[wrx20100919](/user/468930) ???!!牛
  28. 发起讨论
    90分求助

    第九个测试点WA了 ```cpp /* 排序 cnt分组个数 while 元素有不为0的 { for(控制左指针,从前往后) for(控制右指针,从后往前) 有相加等于w的就cnt++,两者数值变成0 while 存在有数值相加小于w for(控制左指针) for(右指针) 有相加小于100就合并两个数值,并到右指针…

    回复 2参与人数 2
  29. 发起讨论
    90分,还有啥没考虑到吗

    ```cpp /* 排序 cnt分组个数 while 元素有不为0的 { for(控制左指针,从前往后) for(控制右指针,从后往前) 有相加等于100的就cnt++,两者数值变成0 while 存在有数值相加小于100 for(控制左指针) for(右指针) 有相加小于100就合并两个数值,并到右指针 for遍历所…

    回复 0参与人数 1
  30. 发起讨论
    为什么92呢

    ```cpp #include using namespace std; int main() { int n; string str; int cnt=0; cin>>n>>str; if(n==1) { cout << 0<< endl; } else { for(int l=0,r=1; r<=str.size(…

    回复 0参与人数 1