| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 129700 | 翁jq | 美丽数 | C++ | Time Limit Exceeded | 1000 MS | 276 KB | 278 | 2025-09-02 13:46:18 |
#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 += 2; } } return 0; }