Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as C++ by rhph ( 17 years ago )
#include <ctime>
#include <iostream>
#include <stdio.h>

using namespace std;

int main(){

clock_t start, finish;
double duration;
start = clock();

for(int i=0;i < 10000000;i++){
cout << "i";

}

finish = clock();
duration = (double)(finish - start) / CLOCKS_PER_SEC;
printf( "\nCzas wykonywania programu %2.5f seconds\n", duration ) ; 


}

 

Revise this Paste

Your Name: Code Language: