提交时间:2026-01-16 19:00:07

运行 ID: 82652

#include <iostream> using namespace std; const int s=100; int main() { int g=0; for(int x=1;x<=s;++x){ for(int y=1;y<=s-x;y+=2){ if((100-x-y)>0&&(s-x-y)%5==0) ++g; } } cout<<g; return 0; }