| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 138501 | hjx4333 | 美丽数 | C++ | Time Limit Exceeded | 1000 MS | 272 KB | 263 | 2025-11-25 17:52:03 |
#include <bits/stdc++.h> using namespace std; int main() { int i,j,k,n,s; while (scanf("%d",&n)!=EOF) { s=0; j=3; while (s!=n) { if (j%3==0 or j%5==0) s++; if (s==n) break; j++; } cout<<j<<endl; } return 0; }