You can remember the meaning of 犯罪 with this easy mnemonic:
I'm offended (犯) that you thought I committed a crime. Yes, I've sinned (罪) in the past, but I would never go as far as to break the law.
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.