From c2f517fac7cb12ec11eb8aad2019705f3c923f5f Mon Sep 17 00:00:00 2001 From: B-Anupam <71441129+B-Anupam@users.noreply.github.com> Date: Fri, 1 Oct 2021 15:45:08 +0530 Subject: [PATCH] Created TRAVELPS Codechef problen code: TRAVELPS problem solution --- TRAVELPS | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 TRAVELPS diff --git a/TRAVELPS b/TRAVELPS new file mode 100644 index 0000000..6a0c23f --- /dev/null +++ b/TRAVELPS @@ -0,0 +1,25 @@ +#include +using namespace std; + +int main() { + int t; + int n,a,b,total; + string str; + cin>>t; + while(t--) + { + cin>>n>>a>>b; + cin>>str; + total = 0; + for(int i=0;i