ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1438. Time Limit Exceeded

Can the variable hold a negative number? And other questions...
Posted by penartur 19 Jul 2008 22:52
As i understand from the problem description, all variables holds a UInt32 for a number and Bool for a sign, am i correct?
Then, what should i do with:
--
a = 1
b = /*2^32-1 here*/
c = a + b
print c
--
or
--
a = 1
b = -1
c = a xor b
print c
--
?