Your proposal makes sense protocolocon, however that's pretty tricky to catch strings for every language. Because each has a way to declare strings in special ways. For example, the triple-quotes in Python, the named delimiter in PHP.
May be in the end, the simplest short-term fix to avoid the trick you're referring to would be to count spaces, tabs and newlines since now every language has its own ladder anyway. Do you see any shortcomings in doing that ?
How come this is incorrect?! "ERROR(incorrect): Incorrect result Your submission failed to give the exact answer on the verification test. Please verify your code. For reference, you program generated these results: Coffee 43.76 Tea 43.76"