1. If I should win the lottery, I will buy everything.

1-2. Should I win the lottery, I will buy everything.

2. If I were rich, I could buy Glalaxy 4.

2-2. Were I rich, I could buy Galaxy 4.

3. If I had studied harder, I would have got better grades.

3-2. Had I studied harder, I would have got/gotten better grades.

(-Inversion-Is each pair the same? Are the sentences all grammatical? In #3-2, do we have to use 'got' or 'gotten'?)

2 answers

1. There is no such thing that a person "should" win a lottery. The meaning does not make sense.

2. Correct.

2-2. Number 2 is correct.

3/3-2. Both these sentences are correct, but use "gotten."
1. is correct. It may not sound right to some people because it's in the subjunctive.

The rest of Anonymous's comments are right.