| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 138498 | hjx4333 | 美丽数 | C++ | Time Limit Exceeded | 1000 MS | 272 KB | 239 | 2025-11-25 15:33:00 |
#include <bits/stdc++.h> using namespace std; int main() { int j,n,s; while (cin>>n) { s=0; j=3; while (s!=n) { if (j%3==0 or j%5==0) s++; j++; } cout<<j-1<<endl; } return 0; }