Tag Archives: spoj PIR solution with explanation

Spoj PIR solution

Spoj PIR solution. Spoj Pyramids solution. Category: AdHoc, Geometry, Formula This question is based on geometry as we need to find the volume of Irregular Tetrahedron using its edge lengths. Here is the formula required: Spoj Pyramids solution code: #include <bits/stdc++.h> using namespace std; int main() { std::ios::sync_with_stdio(false); int t; cin>>t; while(t–) { double u,v,w,U,V,W,vol,a,b=12; cin>>u>>v>>w>>W>>V>>U; /*steps to calculate volume… Read More »