Problem integer
User bribritt
Submission Time 2026-01-17 14:44:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

grader.cpp: In function ‘int main()’:
grader.cpp:8:71: error: no match for ‘operator>=’ (operand types are ‘std::chrono::__enable_if_is_duration<std::chrono::duration<long int, std::ratio<1, 1000> > >’ {aka ‘std::chrono::duration<long int, std::ratio<1, 1000> >’} and ‘int’)
8 | if(std::chrono::duration_cast<std::chrono::milliseconds>(cur-start) >= 490)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~ ~~~
| | |
| | int
| std::chrono::__enable_if_is_duration<std::chrono::duration<long int, std::ratio<1, 1000> > > {aka std::chrono::duration<long int, std::ratio<1, 1000> >}
In file included from grader.cpp:2:
/usr/include/c++/9/chrono:590:7: no