Main.cpp: In function 'void status(ll, ll, ll, ll)':
Main.cpp:64:7: error: reference to 'tm' is ambiguous
64 | if (tm[v].size()>0) tm[v].clear();
| ^~
In file included from /usr/include/time.h:39,
from /usr/include/c++/10/ctime:42,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:49,
from Main.cpp:1:
/usr/include/x86_64-linux-gnu/bits/types/struct_tm.h:7:8: note: candidates are: 'struct tm'
7 | struct tm
| ^~
Main.cpp:13:9: note: 'std::set<int> tm [4000028]'
13 | set<ll> tm[4*DIM];
| ^~
Main.cpp:64:23: error: reference to 'tm' is ambiguous
64 | if (tm[v].size()>0) tm[v].clear();
| ^~
In file included from /usr/include/time.h:39,
from /usr/include/c++/10/ctime:42,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:49,
from Main.cpp:1:
/usr/include/x86_64-linux-gnu/bits/types/struct_tm.h:7:8: note: candidates are: 'struct tm'
7 | struct tm
| ^~
Main.cpp:13:9: note: 'std::set<int> tm [4000028]'
13 | set<ll> tm[4*DIM];
| ^~
Main.cpp:69:17: error: reference to 'tm' is ambiguous
69 | if (u%x==0) tm[v].insert(x);
| ^~
In file included from /usr/include/time.h:39,
from /usr/include/c++/10/ctime:42,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:49,
from Main.cpp:1:
/usr/include/x86_64-linux-gnu/bits/types/struct_tm.h:7:8: note: candidates are: 'struct tm'
7 | struct tm
| ^~
Main.cpp:13:9: note: 'std::set<int> tm [4000028]'
13 | set<ll> tm[4*DIM];
| ^~
Main.cpp:81:2: error: reference to 'tm' is ambiguous
81 | tm[v].clear();
| ^~
In file included from /usr/include/time.h:39,
from /usr/include/c++/10/ctime:42,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:49,
from Main.cpp:1:
/usr/include/x86_64-linux-gnu/bits/types/struct_tm.h:7:8: note: candidates are: 'struct tm'
7 | struct tm
| ^~
Main.cpp:13:9: note: 'std::set<int> tm [4000028]'
13 | set<ll> tm[4*DIM];
| ^~
Main.cpp:82:14: error: reference to 'tm' is ambiguous
82 | for (auto x:tm[2*v+1])
| ^~
In file included from /usr/include/time.h:39,
from /usr/include/c++/10/ctime:42,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:49,
from Main.cpp:1:
/usr/include/x86_64-linux-gnu/bits/types/struct_tm.h:7:8: note: candidates are: 'struct tm'
7 | struct tm
| ^~
Main.cpp:13:9: note: 'std::set<int> tm [4000028]'
13 | set<ll> tm[4*DIM];
| ^~
Main.cpp:84:7: error: reference to 'tm' is ambiguous
84 | if (tm[2*v+2].count(x)) ts[v]=1;
| ^~
In file included from /usr/include/time.h:39,
from /usr/include/c++/10/ctime:42,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:49,
from Main.cpp:1:
/usr/include/x86_64-linux-gnu/bits/types/struct_tm.h:7:8: note: candidates are: 'struct tm'
7 | struct tm
| ^~
Main.cpp:13:9: note: 'std::set<int> tm [4000028]'
13 | set<ll> tm[4*DIM];
| ^~
Main.cpp:85:3: error: reference to 'tm' is ambiguous
85 | tm[v].insert(x);
| ^~
In file included from /usr/include/time.h:39,
from /usr/include/c++/10/ctime:42,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:49,
from Main.cpp:1:
/usr/include/x86_64-linux-gnu/bits/types/struct_tm.h:7:8: note: candidates are: 'struct tm'
7 | struct tm
| ^~
Main.cpp:13:9: note: 'std::set<int> tm [4000028]'
13 | set<ll> tm[4*DIM];
| ^~
Main.cpp:88:14: error: reference to 'tm' is ambiguous
88 | for (auto x:tm[2*v+2])
| ^~
In file included from /usr/include/time.h:39,
from /usr/include/c++/10/ctime:42,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:49,
from Main.cpp:1:
/usr/include/x86_64-linux-gnu/bits/types/struct_tm.h:7:8: note: candidates are: 'struct tm'
7 | struct tm
| ^~
Main.cpp:13:9: note: 'std::set<int> tm [4000028]'
13 | set<ll> tm[4*DIM];
| ^~
Main.cpp:90:3: error: reference to 'tm' is ambiguous
90 | tm[v].insert(x);
| ^~
In file included from /usr/include/time.h:39,
from /usr/include/c++/10/ctime:42,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:49,
from Main.cpp:1:
/usr/include/x86_64-linux-gnu/bits/types/struct_tm.h:7:8: note: candidates are: 'struct tm'
7 | struct tm
| ^~
Main.cpp:13:9: note: 'std::set<int> tm [4000028]'
13 | set<ll> tm[4*DIM];
| ^~
Main.cpp: In function 'void query(ll, ll, ll, ll, ll)':
Main.cpp:101:15: error: reference to 'tm' is ambiguous
101 | for (auto x:tm[v])
| ^~
In file included from /usr/include/time.h:39,
from /usr/include/c++/10/ctime:42,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:49,
from Main.cpp:1:
/usr/include/x86_64-linux-gnu/bits/types/struct_tm.h:7:8: note: candidates are: 'struct tm'
7 | struct tm
| ^~
Main.cpp:13:9: note: 'std::set<int> tm [4000028]'
13 | set<ll> tm[4*DIM];
| ^~