n=int(input()) for i in range(1,n+1): if i%3==0: for j in str(i): if j=='5': print(int(i))
扫描二维码,关注牛客
下载牛客APP,随时随地刷题
全部评论
(1) 回帖