提交时间:2021-12-18 15:12:00
运行 ID: 27800
#include<bits/stdc++.h> using namespace std; int n,ans; int main(){ cin>>n; n*=100; for(int i1=1;i1<=n;i1++){ for(int i2=1;i2<=n-i1;i2++){ if(n-i1-2*i2>0 && (n-i1-i2*2)%5==0) ans++; } } cout<<ans; return 0; }