Skip to content

Instantly share code, notes, and snippets.

@CinchBlue
Last active August 29, 2015 14:17
Show Gist options
  • Save CinchBlue/a47ebce7efd81e9a416a to your computer and use it in GitHub Desktop.
Save CinchBlue/a47ebce7efd81e9a416a to your computer and use it in GitHub Desktop.
source:
"file.msk"
"list.msk"
"pair.msk"
;
func main() -> int:
File f
List[Pair] points
f.open("input.txt")
while(f.char != f.eof):
int x
int y
Pair[int] p
x = f.read(int)
y = f.read(int)
p(x,y)
points.push(p)
;
f.close()
return 0
;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment