2 条题解

  • 3
    @ 2024-10-2 14:31:14

    #include<bits/stdc++.h> using namespace std; int main(){ int i,j,b=0; for(i=1;i<100/5;i++){ for(j=1;j<100/2;j++){ if(i5+j2<100){ b+=1; } } } cout<<b; return 0; }

    • 2
      @ 2024-10-2 14:36:42
      #include<bits/stdc++.h>
      using namespace std;
      int main(){
      	int i,j,b=0;
          for(i=1;i<100/5;i++){
      		for(j=1;j<100/2;j++){
      			if(i*5+j*2<100){
      				b+=1;
      			}
      		}
      	}
      	cout<<b;
      	return 0;
      }
      
      • 1

      信息

      ID
      95
      时间
      1000ms
      内存
      256MiB
      难度
      4
      标签
      递交数
      41
      已通过
      20
      上传者