fork download
  1. #include <iostream>
  2. #include <iomanip>
  3. using namespace std;
  4.  
  5. int main() {
  6. int i;
  7. long long ll;
  8. char ch;
  9. float f;
  10. double d;
  11.  
  12. // Reading input
  13. cin >> i >> ll >> ch >> f >> d;
  14.  
  15. // Printing output
  16. cout << i << endl;
  17. cout << ll << endl;
  18. cout << ch << endl;
  19. cout << fixed << setprecision(2) << f << endl;
  20. cout << fixed << setprecision(1) << d << endl;
  21.  
  22. return 0;
  23. }
Success #stdin #stdout 0.01s 5292KB
stdin
Standard input is empty
stdout
-1944812672
94736443802256

0.00
0.0