Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
116996 | 李明秦 | 19神秘数字 | C++ | Accepted | 0 MS | 260 KB | 254 | 2025-04-13 10:21:03 |
#include <bits/stdc++.h> using namespace std; int main() { int a,x1,x2; for(int a=1;;a++){ x1=((a*8+7)*8+1)*8+1; x2=(2*a*17+15)*17+4; if(x1==x2){ cout<<x1<<endl; break; } } return 0; }