Skip to content

Instantly share code, notes, and snippets.

@cojna
Created June 25, 2013 11:47
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cojna/5857876 to your computer and use it in GitHub Desktop.
Save cojna/5857876 to your computer and use it in GitHub Desktop.

A + B

2つの整数AとBが与えられます. A+Bを出力するプログラムを作って下さい. ただし,できるだけたくさん作って下さい.

制約

-10^9 < A, B < 10^9

$ cat in1
1
1
$ ./AplusB < in1
2
$ cat in2
123456789
987654321
$ ./AplusB < in2
1111111110
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment