Today we will be solving Number Mirror CodeChef Solution in C++ and Python. So, without further Ado let’s jump to the problem.
Problem Statement
Write a program that accepts a number, n, and outputs the same.
Input
The only line contains a single integer.
Output
Output the answer in a single line.
Constraints
- 0 ≤ n ≤ 105
Sample Input
123
Sample Output
123
Solution – Number Mirror CodeChef Solution (C++)
Python
# cook your dish here a = int(input()) print(a)
C++
#include <bits/stdc++.h> typedef long long ll; using namespace std; int main() { // FAST I/O => ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); int t ; cin >> t; cout << t; }
Disclaimer: The above Problem (Number Mirror) is generated by CodeChef but the solution is provided by CodingBroz.
Broz Who Code
CodingBroz