code time complexity calculator online
#include <iostream>
#include <chrono>
using namespace std;
using namespace chrono;
void dummyFunction() {
// This function does nothing.
}
int main() {
auto start = high_resolution_clock::now();
// Your code here
auto stop = high_resolution_clock::now();
auto duration = duration_cast<microseconds>(stop - start);
cout << "Time taken by function: " << duration.count() << " microseconds" << endl;
return 0;
}