tolord

Untitled

Sep 10th, 2017
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.23 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int he_stak (long a)
  6. {
  7.     if (a%100 == 0)
  8.         cout << a * sizeof (a) / 1024 << endl;
  9.     return he_stak(++ a);
  10. }
  11.  
  12. int main()
  13. {
  14.     cout << he_stak(1);
  15.     return 0;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment