What's the reason behind the Runtime Error?

Revision en1, by Parvej, 2021-12-06 06:25:25

I got a runtime error on the last Atcoder Regular Contest.

The problem is this .

My RE solution here .

Runtime Error Part
RE test case

I always wrote (char) ('a'+k)to get the kth letter from the alphabet and didn't get Runtime Error on any platform.

Why am I getting RE this time?

Tags mysterious runtime error, atcoder.jp

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Parvej 2021-12-06 06:25:25 737 Initial revision (published)