Problem reciprocals
User JhoCyber
Submission Time 2025-01-28 13:00:34
Score 0
Max Time N/A
Max Memory N/A

Compile Error

reciprocals.cpp: In function ‘int32_t main()’:
reciprocals.cpp:31:2: error: expected ‘}’ before ‘else’
31 | else{
| ^~~~
reciprocals.cpp:13:12: note: to match this ‘{’
13 | if(n%k!=0){
| ^
reciprocals.cpp: At global scope:
reciprocals.cpp:47:1: error: expected declaration before ‘}’ token
47 | }
| ^