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
#------------------------------------------------------------------------------ | |
# $File: acorn,v 1.5 2009/09/19 16:28:07 christos Exp $ | |
# acorn: file(1) magic for files found on Acorn systems | |
# | |
# RISC OS Chunk File Format | |
# From RISC OS Programmer's Reference Manual, Appendix D | |
# We guess the file type from the type of the first chunk. | |
0 lelong 0xc3cbc6c5 RISC OS Chunk data |
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
import java.io.PrintStream; | |
import java.math.BigInteger; | |
import java.util.*; | |
import java.util.Map.Entry; | |
/** | |
* 2020-Q. Vestigium | |
* @author Albert Choi | |
*/ | |
public class Q_1Vestigium { |
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
import java.io.PrintStream; | |
import java.math.BigInteger; | |
import java.util.*; | |
import java.util.Map.Entry; | |
/** | |
* 2020-R1A. Pattern Matching - solves Test Sets 1 and 2 (one asterisk only) | |
* @author Albert Choi | |
*/ | |
public class R1A_1PatternMatching { |