Problem timeexam
User YH
Submission Time 2024-02-05 11:09:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

timeexam.cpp: In function ‘int main()’:
timeexam.cpp:16:32: error: invalid types ‘long int[int]’ for array subscript
16 | hours[0] = to_string((n/60)[0];
| ^