Problem timeexam
User earthyeet
Submission Time 2025-11-07 21:28:51
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:12: error: overloaded function with no contextual type information
12 | min = x % 60;
| ^~
timeexam.cpp:14:21: error: invalid operands of types ‘long long int’ and ‘<unresolved overloaded function type>’ to binary ‘operator+’
14 | int y = (hr * 100) + min;
| ~~~~~~~~~~~^~~~~