| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 138540 | hjx4333333 | 美丽数 | C++ | Accepted | 26 MS | 656 KB | 272 | 2025-11-26 21:55:07 |
#include <iostream> using namespace std; int main() { int i,j,n,a[100001]; j=1; i=3; while(true) { if (i%3==0 or i%5==0) a[j++]=i; i++; if (j>100000) break; } while (scanf("%d",&n)!=EOF) printf("%d\n",a[n]); return 0; }