theVPN's blog

By theVPN, history, 5 years ago, In English

I'm having a trouble with problem 1B — Spreadsheet, the problem is here

1B - Электронные таблицы

This is my submission for the problem

122567113

I'm not sure what makes the 860th line in the 6th test returns that output. Can you guys help me figure it out what's the problem please, thanks

  • Vote: I like it
  • +1
  • Vote: I do not like it

| Write comment?
»
5 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it
Hint
»
5 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Instead of defining your alphabetic array manually you can simply iterate a for loop like this:

for(int i=0;i<26;i++) a[i] = i + 'A';