Main.cc: In function 'int main()':
Main.cc:11:14: error: invalid types 'int[int]' for array subscript
cin >> mi[i];
^
Main.cc:24:5: error: 'm' was not declared in this scope
m = sr[mi];
^
Main.cc:24:9: error: 'sr' was not declared in this scope
m = sr[mi];
^