Guest User

Untitled

a guest
Oct 21st, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. struct cr
  2. {
  3. int x,y,r;
  4. };
  5. int main()
  6.  
  7. {
  8. int n,q;
  9. cin>>n>>q;
  10.  
  11. vector<double> start(n*(n-1)/2),End(n*(n-1)/2);
  12.  
  13. cr v[n];//see this line
  14.  
  15. int idx=0;
  16.  
  17. for(int i=0;i<n;i++)
  18. {
  19. cin>>v[i].x>>v[i].y>>v[i].r;//here i m storing data which i think is slow
  20. }
  21.  
  22. int main()
  23.  
  24. {
  25.  
  26. int n,q;
  27.  
  28. cin>>n>>q;
  29. vector<double> start(n*(n-1)/2),End(n*(n-1)/2);
  30. int v[n][3];//see this line
  31. int idx=0;
  32. for(int i=0;i<n;i++)
  33. {
  34. cin>>v[i][0]>>v[i][1]>>v[i][2];//taking which i think is fast.
  35. }
Add Comment
Please, Sign In to add comment