Advertisement
LEGEND2004

for double

Mar 30th, 2024
667
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.37 KB | None | 0 0
  1. #pragma GCC optimize("O3")
  2. #include <bits/stdc++.h>
  3. using namespace std;
  4.  
  5. #define int long long
  6. #define double long double
  7. #define fastio ios_base::sync_with_stdio(0); cin.tie(0)
  8.  
  9. signed main()
  10. {
  11.     fastio;
  12.  
  13.     int n;
  14.     cin >> n;
  15.     double a[n + 5];
  16.     for(int i = 0; i < n; i++){
  17.         cin >> a[i];
  18.     }
  19.  
  20.     cout << fixed << setprecision(2) <<
  21. }
  22.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement