| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 129701 | 翁jq | 美丽数 | C++ | Time Limit Exceeded | 1000 MS | 272 KB | 276 | 2025-09-02 14:03:55 |
#include <bits/stdc++.h> using namespace std; int main() { int n; while(cin>>n){ int cnt = 0; int i = 1; while (1){ if (i % 3 == 0 || i % 5 == 0){ cnt++; } if (cnt == n ){ cout<<i<<endl; break; } i ++; } } return 0; }