TESTINT - Test 1

Given two natural numbers (both not greater than 200), each number in the separate line, please print the sum of them.




hide comments
huy: 2016-09-17 08:11:10

You need to use IT applied on Trie, with Bitmask Dynamic Programming to solve the problems.

rajalingam: 2016-09-16 17:11:56

store added number to third variable and use nextline

little_scheme: 2016-09-15 05:08:34

how can i submit scheme lang,because i cant write something like scanf() in c..

vivaan212: 2016-09-09 11:33:06

can anyone explain,what error does it contain in python 3.5

Last edit: 2022-08-18 15:43:13
anchises_1968: 2016-08-30 22:28:10

Thank you akashpreet. I eliminated any cout i.e. "Input", "Output" and it finally passed. Also using goto statement for numbers outside the range. I did it in C++.

twistedpear6: 2016-08-29 02:55:40

Can someone tell me why this code isn't compiling?
it doesn't like the " in " before "nexIint();"

Last edit: 2022-08-18 15:43:23
akashpreet: 2016-08-28 18:55:29

Here is a Tip:
1)Don't use any print statements like "please enter the number" in your program.
2)Directly get the input and store it in a variable
3)For example if a program asks for an even number as a input then,
Don't do
print("enter even number")
even_number = scan()
what you have to do is just use scan statement
even_number = scan()

Shashi Shailaj: 2016-08-12 23:28:17

Changed the code to this .. and errr utput shows the correct results .. sill no idea why spoj says its wrong

Last edit: 2022-08-18 15:43:30
Shashi Shailaj: 2016-08-12 16:44:39

I have submitted the below C code but it says its wrong answer.
Its compiling fine with Visual Studio 2015 compiler . Even the error page on the Spoj site shows exactly desired output , yet it says that its wrong answer.


Last edit: 2022-08-18 15:41:32
sidch41: 2016-08-07 07:30:53

plz give ans thi que.

Added by:kuszi
Time limit:1s
Source limit:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:All except: ASM64