Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
107700 | 殷佳雨萱 | 19神秘数字 | C++ | Accepted | 0 MS | 264 KB | 213 | 2025-01-18 11:19:10 |
#include<iostream> 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; }