#150

by XGN

Submitted 3 years 1 day ago
Wed Apr 21 16:25:02 CST 2021
Judger: judger1
Dataset Version: v0

0 ms / 0 KB
Final 0
Problem: fun.reimu
Language: GNU C++ 11


#include "bits/stdc++.h"
using namespace std;

int main(){
    // int now=times(NULL);
    int t;
    cin>>t;
    while((clock()+0.0)/CLOCKS_PER_SECOND*1000<t){
        
    }
    
    return 0;
}
Compilation Error:
Main.cpp: In function ‘int main()’:
Main.cpp:8:25: error: ‘CLOCKS_PER_SECOND’ was not declared in this scope
     while((clock()+0.0)/CLOCKS_PER_SECOND*1000<t){
                         ^~~~~~~~~~~~~~~~~
Main.cpp:8:25: note: suggested alternative: ‘CLOCKS_PER_SEC’
     while((clock()+0.0)/CLOCKS_PER_SECOND*1000<t){
                         ^~~~~~~~~~~~~~~~~
                         CLOCKS_PER_SEC