Run id: 128648

Main.cc: In function 'int main()':
Main.cc:25:10: error: expected ']' before ';' token
  num /= r; 
          ^
Main.cc:14:20: warning: unused variable 'n' [-Wunused-variable]
 int i = 0,temp = 0,n,num = 0,r,s = 0; 
                    ^