Problem | timeexam |
---|---|
User | Astronite |
Submission Time | 2025-03-12 21:16:49 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
timeexam.cpp: In function ‘int main()’:
timeexam.cpp:12:7: error: expected identifier before numeric constant
12 | char[2] sHours;
| ^
timeexam.cpp:12:7: error: expected ‘]’ before numeric constant
12 | char[2] sHours;
| ^
| ]
timeexam.cpp:12:6: error: structured binding declaration cannot have type ‘char’
12 | char[2] sHours;
| ^
timeexam.cpp:12:6: note: type must be cv-qualified ‘auto’ or reference to cv-qualified ‘auto’
timeexam.cpp:12:6: error: empty structured binding declaration
timeexam.cpp:12:10: error: expected initializer before ‘sHours’
12 | char[2] sHours;
| ^~~~~~
timeexam.cpp:13:7: error: expected identifier before numeric constant
13 | char[2] sMins;
| ^
timeexam.cpp:13:7: error: expected ‘]’ before numeric constant
13 | char[2] sMins;
| ^
| ]
timeexam.cpp:13:6: error: structured bin