| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 138524 | hjx4333 | 美丽数 | C++ | Time Limit Exceeded | 1000 MS | 272 KB | 245 | 2025-11-25 20:25:31 |
#include <iostream> using namespace std; int main() { int n; while(cin>>n) { for(int i=1;n>0;i++) { if(i%3==0||i%5==0) { n--; if(n==0) { cout<<i<<endl; break; } } } } return 0; }