A Plus B
Given two integers a and b, output the sum of a and b.A and B, as well as A+B will be less than 10000 in absolute value.
All Submissions
Best Solutions
Point Value: 2
Time Limit: 2.00s
Memory Limit: 16M
Added: Sep 23, 2008
Languages Allowed:
C++03, PAS, C, HASK, ASM, RUBY, PYTH2, JAVA, PHP, SCM, CAML, PERL, C#, C++11, PYTH3
Comments (Search)
Java
Pascal
Python2
Python3
Hask
C
PERL
Ruby
We can do:
a*b
a**b
a-b
a/b
a%b
.....
If you want some easy problems to look at, you are welcome to try solving the Bluebook problems.
No offence meant.
Very frankly, there's little purpose in competing for memory usage on problems like these, where there's almost zero room for memory optimisation. It is my personal opinion (and not necessarily the position of the Judge in general) that it would be a waste of resources to rejudge these submissions.
If somebody were to write a bot that specifically targeted us, then naturally this wouldn't work.
Mind you, this isn't an invitation to try and do just that...