Problem timeexam
User MegaG
Submission Time 2025-08-04 13:28:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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