Created
October 7, 2021 04:29
-
-
Save xnull/37e3670bed17b90a5dc9738207afdb02 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Main { | |
List<List<Integer>> tabl = new ArrayList<>(); | |
void tablitso() { | |
add(tabl); | |
} | |
int find(int i, int j){ | |
return tabl.get(i).get(j); | |
} | |
private void add(List<List<Integer>> tabl) { | |
for (int i = 0; i < 100; i++) { | |
for (int j = 0; j < 500; j++) { | |
tabl.get(i).set(j , 42); | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment