#include <iostream>
#include <fstream>
#include <exception>
#include <limits>
#include <vector>
int main(void)
{
try {
std::ifstream instream("input.gta", std::ios::in | std::ios::binary);
std::ofstream outstream("output.gta", std::ios::out | std::ios::binary);
outheader = inheader;
if (inheader.
element_size() > std::numeric_limits<size_t>::max()) {
throw std::exception();
}
for (uintmax_t i = 0; i < inheader.
elements(); i++) {
}
}
catch (std::exception &e) {
std::cerr << e.what() << std::endl;
return 1;
}
return 0;
}