Programming Resources
For Fun and Learning
Charles Cusack
Computer Science
Hope College
main

Python

C++


JAVA
PHP
SQL
Alice

DynamicMemory


Description

dynamicMemory.cpp
dynamicMemory.out

dynamicMemory.out

A:
1 1 1 1 1 1 1 1 1 1 

B:
  0   1   2   3   4   5   6   7   8   9  10  11  12  13  14  15  16  17  18  19 
  1   2   3   4   5   6   7   8   9  10  11  12  13  14  15  16  17  18  19  20 
  2   3   4   5   6   7   8   9  10  11  12  13  14  15  16  17  18  19  20  21 
  3   4   5   6   7   8   9  10  11  12  13  14  15  16  17  18  19  20  21  22 
  4   5   6   7   8   9  10  11  12  13  14  15  16  17  18  19  20  21  22  23 
  5   6   7   8   9  10  11  12  13  14  15  16  17  18  19  20  21  22  23  24 
  6   7   8   9  10  11  12  13  14  15  16  17  18  19  20  21  22  23  24  25 
  7   8   9  10  11  12  13  14  15  16  17  18  19  20  21  22  23  24  25  26 
  8   9  10  11  12  13  14  15  16  17  18  19  20  21  22  23  24  25  26  27 
  9  10  11  12  13  14  15  16  17  18  19  20  21  22  23  24  25  26  27  28 

C:
  0   1   2   3   4   5   6   7   8   9  10  11  12  13  14  15  16  17  18  19 
  1   2   3   4   5   6   7   8   9  10  11  12  13  14  15  16  17  18  19  20 
  2   3   4   5   6   7   8   9  10  11  12  13  14  15  16  17  18  19  20  21 
  3   4   5   6   7   8   9  10  11  12  13  14  15  16  17  18  19  20  21  22 
  4   5   6   7   8   9  10  11  12  13  14  15  16  17  18  19  20  21  22  23 
  5   6   7   8   9  10  11  12  13  14  15  16  17  18  19  20  21  22  23  24 
  6   7   8   9  10  11  12  13  14  15  16  17  18  19  20  21  22  23  24  25 
  7   8   9  10  11  12  13  14  15  16  17  18  19  20  21  22  23  24  25  26 
  8   9  10  11  12  13  14  15  16  17  18  19  20  21  22  23  24  25  26  27 
  9  10  11  12  13  14  15  16  17  18  19  20  21  22  23  24  25  26  27  28