| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 78597 | sh25_chenyj | 最大公约数和最小公倍数问题 | C++ | Wrong Answer | 0 MS | 244 KB | 312 | 2025-12-26 22:39:40 |
#include<bits/stdc++.h> using namespace std; int numb(int a, int b, int n) { double m = a*1.0/b; for(int i = 0; i < n; i++){ m *= 10; } int c = m; return c % 10; } int main() { int a, b, n; cin>>a>>b>>n; // cout << fixed << setprecision(10) << ce(a); cout<<numb(a, b, n); return 0; }