0_0_38713014_23787.cpp: In function 'void build(long long int, long long int, long long int, long long int, long long int)':
0_0_38713014_23787.cpp:60:16: error: 'add' was not declared in this scope; did you mean 'std::filesystem::perm_options::add'?
60 | if(x<=mid) add(l,mid,rt<<1,x,val);
| ^~~
| std::filesystem::perm_options::add
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/filesystem:46,
from .\stdc++.h:200:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/fs_fwd.h:211:7: note: 'std::filesystem::perm_options::add' declared here
211 | add = 0x2,
| ^~~
0_0_38713014_23787.cpp:61:10: error: 'add' was not declared in this scope; did you mean 'std::filesystem::perm_options::add'?
61 | else add(mid+1,r,rt<<1|1,x,val);
| ^~~
| std::filesystem::perm_options::add
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/fs_fwd.h:211:7: note: 'std::filesystem::perm_options::add' declared here
211 | add = 0x2,
| ^~~
0_0_38713014_23787.cpp: In function 'int main()':
0_0_38713014_23787.cpp:153:14: error: too few arguments to function 'void build(long long int, long long int, long long int, long long int, long long int)'
153 | build(1,n,1);
| ~~~~~^~~~~~~
0_0_38713014_23787.cpp:53:6: note: declared here
53 | void build(int l,int r,int rt,int x,int val){
| ^~~~~
|