CHITEST1 - Sum of two numbers
Compute the sum of two numbers.
Input
The first line of the input will include the number N of test cases, and the each of the following N lines will include two numbers separated by whitespace.
Output
Starting with the second line of the input, the sum of the two numbers in the line must be printed into a line in the output. The accuracy of the output should be better than 10^-6.
Example
Input: 3
2 3
3.3 4
-1 4 Output: 5
7.3
3
hide comments
s21c047b:
2023-09-13 02:56:04
rip
|
|
ayushkumar_21:
2023-07-12 07:51:31
that's a very simple prblm |
|
rn19cs124:
2021-01-06 15:54:58
how to pass input in it
|
|
r1i2y3a4:
2020-08-28 19:05:53
easy to do in c++ than in c |
|
anakpayah:
2019-12-26 09:16:56
%g but still WA |
|
rpl_esemakgu1:
2019-03-28 06:10:03
yeah
|
|
l_2575645259:
2019-01-24 13:29:57
How can I judge a number whether It is a int or a float? |
|
aryan12:
2018-09-13 16:03:40
A very easy problem. As there are no constraints given, use a greater bit data type and show the entire part of the answer else you MAY get a WA. |
|
avilashrath:
2018-05-31 18:36:12
can't i upload a turbo c++ ide program??
|
|
krystianpecak:
2018-01-26 14:01:31
bezsensu |
Added by: | chi |
Date: | 2015-05-06 |
Time limit: | 1s |
Source limit: | 50000B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Languages: | All except: GOSU |