2 条题解

  • 1
    @ 2024-8-13 18:11:16
    #include<bits/stdc++.h>
    using namespace std;
    int main(){
          int n;
          for(int i=10;i<=999;i++){
          	if(i%3==0){
          		if(i%10==5||i/100==5||i/10%10==5||i/10==5){
          			cout<<i<<endl;
    			  }
    		  }
    	  }
        return 0;
    }
    

    信息

    ID
    247
    时间
    1000ms
    内存
    16MiB
    难度
    3
    标签
    递交数
    66
    已通过
    20
    上传者