QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#88359#5826. 错排myeeCompile Error//C++1188b2023-03-16 08:25:112023-03-28 12:22:56

Judging History

你现在查看的是最新测评结果

  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2023-03-28 12:22:56]
  • 评测
  • [2023-03-16 08:25:11]
  • 提交

answer

#include <bits/stdc++.h>

int main(){
	while((double)clock()/CLOCK_PER_SEC<2.5);
}

Details

answer.code: In function ‘int main()’:
answer.code:4:31: error: ‘CLOCK_PER_SEC’ was not declared in this scope; did you mean ‘CLOCKS_PER_SEC’?
    4 |         while((double)clock()/CLOCK_PER_SEC<2.5);
      |                               ^~~~~~~~~~~~~
      |                               CLOCKS_PER_SEC