Problem timeexam
User raynerchua
Submission Time 2026-02-17 18:37:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

timeexam.cpp: In function ‘int main()’:
timeexam.cpp:4:14: error: ‘cin’ is not a member of ‘std’
4 | std::cin >> minutes;
| ^~~
timeexam.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | int main()
timeexam.cpp:13:18: error: ‘cout’ is not a member of ‘std’
13 | std::cout << "0" << hours_output;
| ^~~~
timeexam.cpp:13:18: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
timeexam.cpp:16:18: error: ‘cout’ is not a member of ‘std’
16 | std::cout <<hours_output;
| ^~~~
timeexam.cpp:16:18: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
timeexam.cpp:21:18: error: ‘cout’ is not a member of ‘std’
2