| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 138503 | hjx4333 | 美丽数 | C++ | Time Limit Exceeded | 1000 MS | 276 KB | 267 | 2025-11-25 18:22:04 |
#include <bits/stdc++.h> using namespace std; int main() { long i,j,k,n,s; j=3; s=0; cin>>n; while (true) { if (j%3==0 or j%5==0) s++; if (s==n) { cout<<j<<endl; j=2; s=0; cin>>n; } j++; } return 0; }