r/ProgrammerAnimemes • • May 03 '19

for(int j=0; j<a: i++)

Post image
717 Upvotes

36 comments sorted by

View all comments

Show parent comment

2

u/-Redstoneboi- May 04 '19

if you want it row by row you have to do [y][x] because you do row/column

if you want it column by column, though, it's fine.

2

u/layll May 04 '19

idk i have to do it that way bcuz usually the imput for all competitions is like that and i can't read it any other way

1

u/-Redstoneboi- May 04 '19

or you could do [r][c] for row, column

1

u/layll May 04 '19

just forget about it

2

u/-Redstoneboi- May 04 '19

yeah this is unnecessary, i always reply like i'm in a chat

1

u/layll May 04 '19

feel ya