#include using namespace std; using ll = long long; templatebool chmax(T &a, const T &b) { if (abool chmin(T &a, const T &b) { if (b> s; string head = s.substr(0, 3); string tail = s.substr(3); // 四捨五入 ll v = stoi(head); if(v%10>=5){ v += 10; } head = to_string(v); s = head + tail; cout << head[0] << '.' << head[1] << "*10^" << s.size()-1 << endl; return 0; }