Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
10910 陈颖钧 讨厌的小数点 C++ Wrong Answer 0 1 MS 256 KB 301 2025-05-25 14:43:33

Tests(0/1):


#include<bits/stdc++.h> using namespace std; int main(){ int n,i,b,j,y,x; double a; cin>>n; for(i=1;i<=n;i++){ x=1; cin>>a>>b; for(j=1;i<=b;i++){ x*=10; } a*=x; cout<<setprecision(0)<<fixed<<a-a/10*10<<endl; } }


Judgement Protocol: