Public submissions
Source code of every submission to this problem in this contest
will be visible for everyone since 2013-08-24 14:35:21.
Submit | All submissions | Best solutions | Back to list |
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
Added by: | kuszi |
Date: | 2012-08-22 |
Time limit: | 1s |
Source limit: | 50000B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Languages: | All except: ASM64 |
Public source code since: | 2013-08-24 14:35:21 |
hide comments
|
|||||||
2014-08-19 19:44:03 Pratik Joshi
Declare three variables Accept two inputs/numbers from the user Add them and now check if the total is greater than 400 if it is then display wrong input else display the total |
|||||||
2014-08-12 15:19:05 Neha
import psycho psycho.full() a=input() b=input() print a+b NZEC error?? |
|||||||
2014-08-07 14:33:27 Raj Kumar Chauhan
wtf...my progm running in codeblock but not here, what problems can be?? |
|||||||
2014-07-17 01:03:57 Saikat
#include<stdio.h> void main(void) { int a,b,c; print("Enter Two Number??"); scanf("%d",&a); scanf("%d",&b); if(a>200 && b>200) { c=a+b; printf("%d",c);} else printf("Wrong Input"); } |
|||||||
2014-07-06 07:41:31 P.V.SREEDHAR
declare three variables input two numbers into two variables give \n check if they are less than 200 then only add two variables into third variable and print output |
|||||||
2014-07-06 06:23:16 Aditya Kandarpa
declare two variables and read them from the user. check if they are less than 200, then only add them and print the result, otherwise print the inputs ar wrong |
|||||||
2014-05-03 06:15:38 Tony Niu
it is really easy! |