Ask coding questions

← Back to all posts
Running time
MansourQuzmar1 (0)

How can i know running time of my program on replit

Comments
hotnewtop
ANDREWVOSS (191)

get the time at the start and end of your program, in python use

In C/C++ you can use

btfuss (181)

Somehow figure out exactly what time you started your program,
and on the last line of code print out: [the time it is] - [start of program time]