Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
74139 桑迪 位运算 C++ Accepted 100 0 MS 264 KB 154 2023-05-20 17:16:24

Tests(10/10):


#include<bits/stdc++.h> using namespace std; int n,t,w; int main(){ cin>>n,t=n; while(t%10==0)w++,t/=10; t--; cout<<t*pow(10,w); return 0; }


Judgement Protocol: