Katzlab dd76ab1d12 Added PTL2 Scripts
These are PTL2 files from Auden 2/9
2023-02-14 11:20:52 -05:00

24 lines
414 B
C++

#include <string>
#include <iostream>
#include "tree.h"
#include "treeUtil.h"
using namespace std;
int main(int argc, char** argv) {
string treeFile1 = argv[1];
string treeFile2 = argv[2];
tree t1(treeFile1);
tree t2(treeFile2);
if (sameTreeTolopogy(t1,t2)) {
cout << "1" << endl;
return 1;
} else {
cout << "0" << endl;
return 0;
}
cout << "ERROR" << endl;
return 2;
}