Problem deciphering_zane_4
User f0restf1re
Submission Time 2024-01-05 11:58:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

deciphering_zane_4.cpp: In function ‘const char* solve(int)’:
deciphering_zane_4.cpp:5:2: error: expected ‘,’ or ‘;’ before ‘if’
5 | if (T==0) return "electrocardiogram";
| ^~
deciphering_zane_4.cpp:9:19: error: cannot convert ‘int*’ to ‘const char*’ in return
9 | if (T==4) return ptr;
| ^~~
deciphering_zane_4.cpp:16:20: error: cannot convert ‘int*’ to ‘const char*’ in return
16 | if (T==11) return ptr;
| ^~~
deciphering_zane_4.cpp:19:20: error: cannot convert ‘int*’ to ‘const char*’ in return
19 | if (T==14) return ptr;
| ^~~
deciphering_zane_4.cpp:21:20: error: cannot convert ‘int*’ to ‘const char*’ in return
21 | if (T==16) return ptr;
| ^~~
deciphering_zane_4.cpp:23:20: error: cannot convert ‘int*’ to ‘const char*’ in return
23 | if (T==18) return ptr;
| ^~~
deciphering_z