| Problem | timeexam | 
|---|---|
| User | loverin | 
| Submission Time | 2023-04-14 09:10:28 | 
| Score | 0 | 
| Max Time | N/A | 
| Max Memory | N/A | 
Owl Get a Life
 timeexam.cpp: In function ‘int main()’:
timeexam.cpp:9:44: error: no matching function for call to ‘fill(const char [2])’
    9 |  std::cout << std::setw(2) << std::fill("0") << hours;
      |                                            ^
In file included from /usr/include/c++/9/bits/char_traits.h:39,
                 from /usr/include/c++/9/ios:40,
                 from /usr/include/c++/9/ostream:38,
                 from /usr/include/c++/9/iostream:39,
                 from timeexam.cpp:1:
/usr/include/c++/9/bits/stl_algobase.h:742:5: note: candidate: ‘template<class _ForwardIterator, class _Tp> void std::fill(_ForwardIterator, _ForwardIterator, const _Tp&)’
  742 |     fill(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __value)
      |     ^~~~
/usr/include/c++/9/bits/stl_algobase.h:742:5: note:   template argument deduction/substitution failed:
timeexam.cpp:9:44: note:   candidate expects 3 arguments, 1 p