| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 160207 | 张蔚林 | 我家的门牌号 | C++ | Accepted | 5 MS | 272 KB | 241 | 2026-09-13 10:05:03 |
#include<bits/stdc++.h> using namespace std; int main() { int s,i=0,sum=0; cin>>s; while(1){ i++; sum+=i; for(int j=0;j<sum;j++){ if(sum-j*2==s){ cout<<j<<' '<<i<<endl; return 0; } } } return 0; }