TESTINT - Test 1


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

Example

Input:
2
3

Output:
5

hide comments
duyqnguyenle: 2017-07-13 13:18:04

My first problem

spearous: 2017-07-11 04:26:23

@ vivaan212: proper indent in front of the "print(x+y)"
if 0<x<200 and 0<y<200:
print(x+y)

sk_singh55: 2017-05-12 13:58:04

Last edit: 2017-05-12 13:59:29
anurag_kurle: 2017-03-22 16:40:22

wrote js code with variables A+B but some NEZ error occurs. What is my mistake ?

siddhartha786: 2016-12-28 20:27:04

i found it easy

poonam_29: 2016-11-21 22:21:24

it is showing runtime error NZEC. what it means ? i have used smpile code output is a+b?

Adam Owczarek: 2016-10-17 15:57:23

@vivaan212 your code doesn't work for x or y = 200. Delete if instruction or modify to greater or equal ( <= ) 200.

vokhanhminh123: 2016-10-05 15:24:35

can I use Pascal for this exercise?

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


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