diff --git a/TangDou/AcWing_TiGao/T5/GameTheory/1321_1.cpp b/TangDou/AcWing_TiGao/T5/GameTheory/1321.cpp similarity index 100% rename from TangDou/AcWing_TiGao/T5/GameTheory/1321_1.cpp rename to TangDou/AcWing_TiGao/T5/GameTheory/1321.cpp diff --git a/TangDou/AcWing_TiGao/T5/GameTheory/1321_2.cpp b/TangDou/AcWing_TiGao/T5/GameTheory/1321_2.cpp deleted file mode 100644 index e9e0c1c..0000000 --- a/TangDou/AcWing_TiGao/T5/GameTheory/1321_2.cpp +++ /dev/null @@ -1,45 +0,0 @@ -#include -using namespace std; - -int nums[60]; - -void process(int n) { - int a = 0, b = -1; - for (int i = 0; i < n; i++) { - if (nums[i] == 1) - a++; - else - b += nums[i] + 1; - } - if (a == 0 && b > 0) { - if (b % 2) - puts("YES"); - else - puts("NO"); - } - if (a > 0 && b > 2) { - if (a % 2 || b % 2) - puts("YES"); - else - puts("NO"); - } - if (a > 0 && b <= 2) { - if (a % 3) - puts("YES"); - else - puts("NO"); - } -} - -int main() { - int t, n; - cin >> t; - while (t--) { - memset(nums, 0, sizeof(nums)); - cin >> n; - for (int i = 0; i < n; i++) - cin >> nums[i]; - process(n); - } - return 0; -} \ No newline at end of file