Run ID | 作者 | 问题 | 语言 | 测评结果 | 分数 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
19987 | 陈路垚 | 奇怪的数 | C++ | 运行出错 | 0 | 0 MS | 244 KB | 283 | 2021-05-27 20:46:17 |
#include<bits/stdc++.h> using namespace std; int main() { freopen("x12_5.in","r",stdin); freopen("x12_5.out","w",stdout); long long x,i,ans,t=1,xx,tot=0; for(i=2;i<=19&&tot<2;i++){ xx=2*t-8; if(xx%13==0){ cout<<xx/13*10+6<<" "; tot++; } t=t*10; } }