#include<bits/stdc++.h> #include<ctime> using namespace std; int k,j; int main(){ k=time(0); while(1){ if(j==time(0)-k)continue; system("cls"); cout<<time(0)-k; j=time(0)-k; } }