codeforces-scrape

Codeforces scraped problems and editorials
git clone git://git.laack.co/codeforces-scrape.git
Log | Files | Refs | README

153A.md (589B)


      1 Source: https://codeforces.com/problemset/problem/153/A
      2 
      3 A. A + B
      4 
      5 time limit per test
      6 
      7 2 seconds
      8 
      9 memory limit per test
     10 
     11 256 megabytes
     12 
     13 input
     14 
     15 stdin
     16 
     17 output
     18 
     19 stdout
     20 
     21 You are given two integers *A* and *B*. Calculate their sum and output it without leading zeros.
     22 
     23 Input
     24 
     25 Two lines of input data contain integers *A* and *B* (1 ≤ *A*, *B* ≤ 105).
     26 
     27 Output
     28 
     29 Output *A* + *B* without leading zeros.
     30 
     31 Examples
     32 
     33 Input
     34 
     35 ```
     36 12  
     37 3
     38 ```
     39 
     40 Output
     41 
     42 ```
     43 15
     44 ```
     45 
     46 Input
     47 
     48 ```
     49 100  
     50 5
     51 ```
     52 
     53 Output
     54 
     55 ```
     56 105
     57 ```
     58 
     59 Note
     60 
     61 The code provided in the post about the round doesn't solve the task.