SHARE
TWEET

Untitled

a guest Nov 19th, 2019 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <bits/stdc++.h>
  2. #define int long long
  3. using namespace std;
  4.  
  5. const int PIVO = 111111;
  6. int a[PIVO];
  7.  
  8. int get_kth(int a[], int k) {
  9.     return a[k];
  10. }
  11.  
  12. signed main(){
  13.     ios::sync_with_stdio(0);
  14.     cin.tie(0);
  15.     for (int i = 0; i < PIVO; i++) a[i] = rand();
  16.     int sum = 0;
  17.     for (int i = 0; i < PIVO; i++) sum += get_kth(a, i);
  18.     cout << sum;
  19. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top