Advertisement
Guest User

deny

a guest
Mar 19th, 2019
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. #include <iostream>
  2. #include <time.h>
  3. #include <cstdlib>
  4. using namespace std;
  5.  
  6. int ile;
  7. clock_t start, stop;
  8. double czas;
  9.  
  10. int main()
  11. {
  12. cout << "Ile liczb w tablicy: ";
  13. cin>>ile;
  14.  
  15.  
  16.  
  17. int *tablica;
  18. tablica= new int [ile];
  19.  
  20.  
  21. for (int i=0; i<ile; i++)
  22. {
  23. tablica[i]=i;
  24. tablica[i]+50;
  25. }
  26.  
  27. delete [] tablica;
  28.  
  29.  
  30. return 0;
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement