#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(4); // 四捨五入 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() << endl; return 0; }