警示后人(如果你70pts后三个WA)

P3372 【模板】线段树 1

hushuoyan @ 2024-08-07 17:53:32

很有可能是

void query(int o,int L,int R,int ADD){
    //...
}

这一段是错的!!!

应该这样!!!

void query(int o,int L,int R,long long ADD){
    //...
}

我是 @hushuoyan ,如果我帮到你了,点个关注吧


by hushuoyan @ 2024-08-07 17:54:43

很有可能是

void query(int o,int L,int R,int ADD){
    //...
}

这一段是错的!!!

应该这样!!!

void query(int o,int L,int R,long long ADD){
    //...
}

我是 @hushuoyan ,如果我帮到你了,点个关注吧


by hushuoyan @ 2024-08-07 17:57:03

@hushuoyan (自己给自己发消息中...)如果我帮了你,点一下下面

名字区

@hushuoyan @hushuoyan @hushuoyan @hushuoyan @hushuoyan @hushuoyan @hushuoyan @hushuoyan @hushuoyan @hushuoyan @hushuoyan @hushuoyan @hushuoyan @hushuoyan @hushuoyan @hushuoyan @hushuoyan @hushuoyan @hushuoyan @hushuoyan @hushuoyan @hushuoyan @hushuoyan @hushuoyan @hushuoyan @hushuoyan @hushuoyan @hushuoyan @hushuoyan @hushuoyan @hushuoyan @hushuoyan @hushuoyan @hushuoyan @hushuoyan @hushuoyan @hushuoyan @hushuoyan @hushuoyan @hushuoyan


by SW_YM @ 2024-08-12 16:10:47

你说的对,但是板子题

//......
#define int long long
//......
signed main()
{
  //......
}

不香吗


|