#include <iostream> #include <vector> #include <numeric> #include <chrono> volatile int sink; int main() { for (auto size = 1ull; size < 1000000000ull; size *= 100) { // record start time auto start = std::chrono::high_resolution_clock::now(); // do some work std::vector<int> v(size, 42); sink = std::accumulate(v.begin(), v.end(), 0u); // make sure ...
Slag cement is most widely used in concrete, either as a separate cementitious component or as part of a blended cement. It works synergistically with portland cement to increase strength, reduce permeability, improve resistance to chemical attack and inhibit rebar corrosion.
Sand and gravel are used for road construction, for mixing with asphalt, as construction fill, and in the production of construction materials like concrete blocks, bricks, and pipes. It is also used to make roofing shingles, used on icy roads in the winter, for railroad ballast, and water filtration.