Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|---|
10904 | 陈颖钧 | 讨厌的小数点 | C++ | Compile Error | 0 | 0 MS | 0 KB | 279 | 2025-05-25 14:40:55 |
#include<bits/stdc++.h> using namespace std; int n,i,b,j,y; double a; int main(){ cin>>n; for(i=1;i<=n;i++){ x=1; cin>>a>>b; for(j=1;i<=b;i++){ x*=10; } a*=x; cout<<a%10<<endl; } cout<<z; }