0_0_39368889_12918.cpp: In function 'int main()':
0_0_39368889_12918.cpp:26:17: error: 'setiosflags' was not declared in this scope
26 | cout << setiosflags(ios::fixed) << setprecision(1) << (1-dp[n])*100 << "%" << endl;
| ^~~~~~~~~~~
0_0_39368889_12918.cpp:3:1: note: 'std::setiosflags' is defined in header '<iomanip>'; did you forget to '#include <iomanip>'?
2 | #include<iostream>
+++ |+#include <iomanip>
3 | using namespace std;
0_0_39368889_12918.cpp:26:44: error: 'setprecision' was not declared in this scope
26 | cout << setiosflags(ios::fixed) << setprecision(1) << (1-dp[n])*100 << "%" << endl;
| ^~~~~~~~~~~~
0_0_39368889_12918.cpp:26:44: note: 'std::setprecision' is defined in header '<iomanip>'; did you forget to '#include <iomanip>'?
|