#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.
Furnace. The furnace is used for smelting, which is a fancy word for burning blocks to turn them into other items. Smelting is required for creating certain building blocks like glass and creating refined ore to make armor.