Problem timeexam
User earthyeet
Submission Time 2025-11-07 21:28:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cc1plus: error: ‘::main’ must return ‘int’
timeexam.cpp: In function ‘int main()’:
timeexam.cpp:12:13: error: overloaded function with no contextual type information
12 | min = x % 60;
| ^~
timeexam.cpp:14:11: error: ‘hr’ was not declared in this scope
14 | int y = (hr * 100) + min;
| ^~