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.
#include<iostream>#include<bits/stdc++.h>intmain(){inta;longb;charc;floatd;longe;cin>>a>>b>>c>>d>>e;cout<<a<<'\n'<<b<<'\n'<<c<<'\n'<<setprecision(10)<<d<<'\n'<<setprecision(20)<<e;//we need precision for int precision and hidden test casesreturn0;}
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Basic Data Types
You are viewing a single comment's thread. Return to all comments →