Submit | All submissions | Best solutions | Back to list |
Problem hidden on 2013-01-23 08:54:29 by [Trichromatic] XilinX
SPLADD - SPECIAL ADDITION |
Mathematical operations in a computer are performed by manipulating the binary values of the corresponding numbers. You are given two decimal numbers. Produce the sum when carry is disabled in their binary addition.. Input It contains one line having both the addends separated by a space Output Contains only one line showing the output.
Example
Input:
7 10
Output:
13
Input:
15 15
Output: 0
Added by: | Vasavi OPC Team |
Date: | 2013-01-21 |
Time limit: | 2s-3s |
Source limit: | 50000B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Languages: | ASM32-GCC MAWK BC C-CLANG C NCSHARP C++ 4.3.2 CPP CPP14 CPP14-CLANG COBOL COFFEE D-CLANG D-DMD DART ELIXIR FANTOM FORTH GOSU GRV JAVA JS-MONKEY JULIA KTLN NIM OBJC OBJC-CLANG OCT PICO PROLOG PYTHON PYPY PYPY3 R RACKET RUST CHICKEN SQLITE SWIFT UNLAMBDA VB.NET |
hide comments
|
|||||
2013-01-25 04:48:15 Aditya Pande
even in tutorial change it to score is code length. please.... all submissions get AC in 0.00 it would be better if there is something to differentiate among the solutions Last edit: 2013-01-23 08:25:42 |
|||||
2013-01-25 04:48:15 Sandeep Singh Jakhar
Tutorial |
|||||
2013-01-25 04:48:15 MR. BEAN
59 in C:) Last edit: 2013-01-23 08:46:58 |
|||||
2013-01-25 04:48:15 Aditya Pande
46 bytes in python 56 bytes in C 59 in C++ Last edit: 2013-01-23 07:41:59 |
|||||
2013-01-25 04:48:15 (Tjandra Satria Gunawan)(曾毅昆)
Mine 42B ;-) in Python 2 And +1 for turorial.. |
|||||
2013-01-25 04:48:15 Francky
I've just submitted exactly my same code (43B of trivial solution) and got AC. The input had been fixed without information. This problem (and many others around this one) belongs to tutorial or even better should be hidden. Edit : 42B, it's true, I was counting the last \n Last edit: 2013-01-22 20:37:59 |
|||||
2013-01-25 04:48:15 Zunglee
peace of cake ... |
|||||
2013-01-25 04:48:15 Alex Anderson
I think there must have been something wrong with SPOJ when people were trying before. Or else the author has fixed the input problems. Regardless, the problem is trivial, as Francky said. |
|||||
2013-01-25 04:48:15 NZEC
TLE with nice code:( |
|||||
2013-01-25 04:48:15 pratyush kumar
Last edit: 2013-01-23 19:02:09 |