Problem timeexam
User Pout
Submission Time 2026-07-04 11:19:06
Score 0
Max Time N/A
Max Memory N/A

Compile Error

timeexam.cpp:1:2: error: invalid preprocessing directive #inclue; did you mean #include?
1 | #inclue <bits/stdc++.h>
| ^~~~~~
| include
timeexam.cpp: In function ‘int main()’:
timeexam.cpp:6:2: error: ‘cin’ was not declared in this scope
6 | cin >> n;
| ^~~
timeexam.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | #inclue <bits/stdc++.h>
timeexam.cpp:12:2: error: ‘cout’ was not declared in this scope
12 | cout << hours << minutes;
| ^~~~
timeexam.cpp:12:2: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?