Created
October 7, 2021 04:34
-
-
Save xnull/2c6db5917c95efa5edc1bfaa4c52de9c 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 { | |
Tablitsa tabl = new Tablitsa(); | |
int find(int i, int j){ | |
return tabl.getRecord(i).getColumn(j); | |
} | |
} | |
class Tablitsa { | |
List<Record> records = new ArrayList<>(); | |
Record getRecord(int recordId) { | |
return records.get(recordId); | |
} | |
} | |
class Record { | |
List<Integer> columns = new ArrayList<>(); | |
int getColumn(int col) { | |
return columns.get(col); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment