From 37a87fdd9a004b2e12b18d27b75dfaecb0e64472 Mon Sep 17 00:00:00 2001 From: Zengtudor Date: Wed, 28 Aug 2024 23:08:59 +0800 Subject: [PATCH] update --- 20240828/P2615/P2615.cpp | 44 ++++++++++++++++++++++++++++++++++++++++ xmake.lua | 8 +++++++- 2 files changed, 51 insertions(+), 1 deletion(-) create mode 100644 20240828/P2615/P2615.cpp diff --git a/20240828/P2615/P2615.cpp b/20240828/P2615/P2615.cpp new file mode 100644 index 0000000..0075666 --- /dev/null +++ b/20240828/P2615/P2615.cpp @@ -0,0 +1,44 @@ +//AC +#include +using namespace std; + +const int MAX_N=39+5; + +int main(){ + ios::sync_with_stdio(false),cin.tie(0),cout.tie(0); + + int n; + cin>>n; + n=n/2*2+1; + int a[MAX_N][MAX_N]; + for(int i=0;i