// Original CPU teaching model; not a device simulator or benchmark.
#include <iostream>
#include <array>
#include <stdexcept>

void require(bool ok) { if (!ok) throw std::runtime_error("model check failed"); }

int main() {
 const std::array<int,2> a{2,3},b{3,2};
 const bool count=a[0]*a[1]==b[0]*b[1];
 const bool compatible=a==b;
 require(count && !compatible);
 std::cout<<"same_count="<<count<<" compatible="<<compatible<<'\n';
}

