提交时间:2025-02-16 15:21:36
运行 ID: 309274
#include<bits/stdc++.h> using namespace std; int main(){ int i; for(i=1;i<=999;i++){ if(i%3==0&&i%10==5||i/10%10==5||i/100%10==5) cout<<i; } return 0; }