Run ID:78629

提交时间:2024-06-23 14:00:54

#include<bits/stdc++.h> using namespace std; int main(){ int sum=0; int t=0; while(t<=40){ t++; if(t%1==0&&t<=10){ sum++; }else if(t%2==0){ sum++; }else if(t%4==0){ sum++; } } cout<<sum-5; return 0; }