Math Is Fun Forum

  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#1 2018-06-09 18:50:07

Amartyanil
Member
From: Universe
Registered: 2013-05-27
Posts: 82

Calculating Complexity in C++

Hi;

How to calculate the number of steps carried out in C++ directly?


"Every place is the center of the universe. And every moment is the most important moment. And everything is the meaning of life." ~ Dan Harmon

Offline

#2 2018-06-20 05:15:45

Agnishom
Real Member
From: Riemann Sphere
Registered: 2011-01-29
Posts: 24,996
Website

Re: Calculating Complexity in C++

Number of steps of what? As in number of instructions carried out by the CPU?


'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
I'm not crazy, my mother had me tested.

Offline

#3 2018-07-02 15:38:32

Amartyanil
Member
From: Universe
Registered: 2013-05-27
Posts: 82

Re: Calculating Complexity in C++

Yes. The run time or the execution time.


"Every place is the center of the universe. And every moment is the most important moment. And everything is the meaning of life." ~ Dan Harmon

Offline

Board footer

Powered by FluxBB