A:签到。

#include<iostream>
#include<cstdio>
#include<cstdlib>
#include<cmath>
#include<cstring>
#include<algorithm>
using namespace std;
#define ll long long
int read()
{
    int x=0,f=1;char c=getchar();
    while (c<'0'||c>'9') {if (c=='-') f=-1;c=getchar();}
    while (c>='0'&&c<='9') x=(x<<1)+(x<<3)+(c^48),c=getchar();
    return x*f;
}
int h,w,n;
int main()
{
    n=read(),h=read(),w=read();
    cout<<(n-w+1)*(n-h+1);
}
View Code

相关文章:

  • 2021-12-18
  • 2022-02-06
  • 2021-08-04
  • 2021-12-21
  • 2022-02-28
  • 2021-12-26
  • 2021-10-30
  • 2021-09-21
猜你喜欢
  • 2021-08-19
  • 2021-11-18
  • 2021-09-27
  • 2021-07-23
  • 2021-05-18
  • 2021-07-21
  • 2022-02-21
相关资源
相似解决方案