yuanshenqidong
2024-11-19 21:05:14
发布于:上海
2阅读
0回复
0点赞
#include <iostream>
#define yuanshen using
#define qidong namespace
#define mihoyo std
#define genshin int
#define impact main
#define ys for
#define qd if
#define yuanshenqidong cin
#define yuanshenxiezai cout
yuanshen qidong mihoyo;
genshin impact()
{
genshin y,sqd=0;
yuanshenqidong>>y;
ys(genshin q=1;q<=y;q++)
{
ys(genshin d=2;d<=y;d++)
{
genshin ysqd=y-q-d;
qd(q<d&&d<ysqd&&q+d+ysqd==y) sqd++;
}
}
yuanshenxiezai<<sqd;
}
这里空空如也
有帮助,赞一个