Problem timeexam
User Yicen
Submission Time 2025-02-08 20:42:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

timeexam.cpp: In function ‘int main()’:
timeexam.cpp:12:13: error: ‘setfill’ was not declared in this scope
12 | cout << setfill('0') << setw(2) << hours << setw(2) << minutes << endl;
| ^~~~~~~
timeexam.cpp:12:29: error: ‘setw’ was not declared in this scope; did you mean ‘getw’?
12 | cout << setfill('0') << setw(2) << hours << setw(2) << minutes << endl;
| ^~~~
| getw