Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct cr
- {
- int x,y,r;
- };
- int main()
- {
- int n,q;
- cin>>n>>q;
- vector<double> start(n*(n-1)/2),End(n*(n-1)/2);
- cr v[n];//see this line
- int idx=0;
- for(int i=0;i<n;i++)
- {
- cin>>v[i].x>>v[i].y>>v[i].r;//here i m storing data which i think is slow
- }
- int main()
- {
- int n,q;
- cin>>n>>q;
- vector<double> start(n*(n-1)/2),End(n*(n-1)/2);
- int v[n][3];//see this line
- int idx=0;
- for(int i=0;i<n;i++)
- {
- cin>>v[i][0]>>v[i][1]>>v[i][2];//taking which i think is fast.
- }
Add Comment
Please, Sign In to add comment