Hello this is my code:
/*
Set time here:
Start: 2021-06-12 22:09:26
End(when AC):
*/
/*
Author: Shobhit Tewari
*/
#include<bits/stdc++.h>
using namespace std;
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds;
template<class T> using oset = tree<T, null_type, less<T>, rb_tree_tag, tree_order_statistics_node_update>;
#define int long long
#define null 0
#define fio ios_base::sync_with_stdio(false); cin.tie(null);
#define pb push_back
#define sz(v) (int)(v.size())
#define all(v) v.begin(), v.end()
const int mod = 1e9 +7;
const int infinity = INT32_MAX;
const double pi = 3.1415926535897932384626433832795;
void solve(){
}
signed main(){
fio;
int t=1;
//cin >> t;
while(t--){
solve();
}
return 0;
}
Intellisense in VS code is showing a squiggly line(error) under using
of oset.
For the using in the oset is says: expected a declarationC/C++(169)
Can someone please help me out as I am not able to understand and also the code compiles and runs fine.