-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.cpp
More file actions
30 lines (24 loc) · 727 Bytes
/
main.cpp
File metadata and controls
30 lines (24 loc) · 727 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
============================================================================
Name : arkenstone.cpp
Author : Tyler Jones
============================================================================
*/
#include "production.h"
int main(int argc, char* argv[]) {
cout << "Dynamic Programming" << endl << endl;
Production* p = new Production();
int arr[8][8] = {
{79, 71, 18, 20, 34, 51, 93, 65},
{73, 38, 24, 49, 18, 6, 40, 74},
{31, 5, 63, 10, 32, 40, 14, 13},
{13, 78, 48, 19, 78, 11, 90, 94},
{22, 93, 68, 11, 56, 63, 49, 35},
{85, 52, 27, 5, 94, 91, 82, 62},
{46, 23, 99, 77, 10, 42, 1, 72},
{89, 70, 73, 83, 90, 22, 44, 92}
};
p->production(arr);
delete p;
return 0;
}