codeforces-scrape

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

100C.md (919B)


      1 Source: https://codeforces.com/problemset/problem/100/C
      2 
      3 C. A+B
      4 
      5 time limit per test
      6 
      7 2 seconds
      8 
      9 memory limit per test
     10 
     11 64 megabytes
     12 
     13 input
     14 
     15 stdin
     16 
     17 output
     18 
     19 stdout
     20 
     21 Bijan is new to programming. He learned recently that programmers do not code every bit of their apps from scratch.
     22 
     23 For example they never write a code to sum two integers, because their languages have the ability to do the sum. But can they use it? Can an experienced coder who has attended more than 100 contests, sum two integers?
     24 
     25 Bijan is not sure about this. What's your opinion?
     26 
     27 Input
     28 
     29 You are given two integers *a* and *b*, one per line (1 ≤ *a*, *b* < 10500). These numbers will not have any leading zeros.
     30 
     31 Output
     32 
     33 Write sum of the two integers. Do not put any leading zeros.
     34 
     35 Examples
     36 
     37 Input
     38 
     39 ```
     40 2  
     41 3
     42 ```
     43 
     44 Output
     45 
     46 ```
     47 5
     48 ```
     49 
     50 Input
     51 
     52 ```
     53 1390  
     54 2011
     55 ```
     56 
     57 Output
     58 
     59 ```
     60 3401
     61 ```
     62 
     63 Input
     64 
     65 ```
     66 12345  
     67 54321
     68 ```
     69 
     70 Output
     71 
     72 ```
     73 66666
     74 ```