Problem digits
User MintTea
Submission Time 2023-11-10 09:13:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

digits.cpp: In function ‘long long int modu(long long int, long long int)’:
digits.cpp:16:47: error: a function-definition is not allowed here before ‘{’ token
16 | void calculate(int method, int var1, int var2){
| ^
digits.cpp:28:15: error: a function-definition is not allowed here before ‘{’ token
28 | int32_t main(){
| ^
digits.cpp:46:1: error: expected ‘}’ at end of input
46 | }
| ^
digits.cpp:8:29: note: to match this ‘{’
8 | int modu(int start, int end){ //inclusive of start and end
| ^