We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
  • HackerRank Home

    HackerRank

  • |
  • Prepare
  • Certify
  • Compete
  • Apply
  • Hiring developers?
  1. Prepare
  2. Functional Programming
  3. Introduction
  4. Solve Me First FP

Solve Me First FP

Problem
Submissions
Leaderboard
Discussions

HackerRank

|
  1. Prepare
  2. Functional Programming
  3. Introduction
  4. Solve Me First FP
Exit Full Screen View
  • Problem
  • Submissions
  • Leaderboard
  • Discussions

This is an introductory challenge. The purpose of this challenge is to give you a working I/O template in your preferred language. It includes scanning integers from STDIN, calling a function, returning a value, and printing it to STDOUT.

Your task is to scan two numbers, and from STDIN, and print the sum on STDOUT.

Note: The code has been saved in a template that you can submit if you want.

Input Format

You are given two integers, and on separate lines.

Output Format

Output an integer that denotes

Constraints

Sample Input

2
3

Sample Output

5
  • Blog
  • Scoring
  • Environment
  • FAQ
  • About Us
  • Support
  • Careers
  • Terms Of Service
  • Privacy Policy