From 46b69a2ce040b309b76e57d119dc4d9ac9e7a82d Mon Sep 17 00:00:00 2001 From: ShazidMahsrafi Date: Sun, 14 Apr 2024 00:41:38 +0600 Subject: [PATCH] update to 1956B --- Codes/1956 B - Nene and the Card Game/1956B.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Codes/1956 B - Nene and the Card Game/1956B.cpp b/Codes/1956 B - Nene and the Card Game/1956B.cpp index 4ec8459..e382265 100644 --- a/Codes/1956 B - Nene and the Card Game/1956B.cpp +++ b/Codes/1956 B - Nene and the Card Game/1956B.cpp @@ -57,10 +57,7 @@ void solve() } int ct=0; for(auto x:m) - { - if(x.ss%2==0) - ct++; - } + if(x.ss==2) ct++; cout<