Skip to content

Instantly share code, notes, and snippets.

@hw0k
Created March 26, 2020 06:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hw0k/bd4abac21dc89a5c239c1b5d164e717e to your computer and use it in GitHub Desktop.
Save hw0k/bd4abac21dc89a5c239c1b5d164e717e to your computer and use it in GitHub Desktop.
LID 10
interface Input {
getString(): string;
}
interface Output {
writeString(str: string): void;
}
class Task {
static copy(input: Input, output: Output) {
output.writeString(input.getString());
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment