| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 138541 | hjx4333333 | 美丽数 | C++ | Time Limit Exceeded | 1000 MS | 660 KB | 269 | 2025-11-26 21:55:28 |
#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) cout<<a[n]<<endl; return 0; }