2 条题解

  • 3
    @ 2024-8-12 18:02:28
    #include <bits/stdc++.h>
    using namespace std;
    int main(){
    	int n,m,j=0,o=0;
    
    for(int i=10;i<=1000;i++){
     	if(i%2==0&&i%3==0&&i%7==0){
     		cout<<i<<endl;
     	
    	 }
    	 
    	}
    
     	
    	          	return 0;
    	          }
    
    • 2
      @ 2024-8-12 18:02:29
      using namespace std;
      int main(){
      for(int i=10;i<=1000;i++){
      if(i%2==0&&i%3==0&&i%7==0){
      cout<<i<<endl;
      }
      }
      return 0;
      }
      
      • 1

      信息

      ID
      278
      时间
      1000ms
      内存
      16MiB
      难度
      3
      标签
      递交数
      37
      已通过
      21
      上传者