I tried this when i was EXTREMELY new, but it really didnt help at all since most of the things you have to do it the way it exactly says it, like saying "Hillo Wurld" will say your wrong, and plus it like mostly has things on website. Also no c++ or c on that.
The reason it does that is because their input boxes are reading directly from a string; they're not making a compiler (to an extreme extent). They look to see if your code matches
directly with what they provided as an example, it makes their lives simpler.
Also, it doesn't matter if you learn c or c++ first. Sure, they're useful languages, but I'd always suggest Python for beginners. You don't have to worry over pointers and life generally becomes more easy by learning programming
basics before you have to deal with memory allocation. Learning all at once gets ridiculously confusing for beginners.