From cf3e3d62997a2a0a4b26ab1e63fb8c37e2bf3469 Mon Sep 17 00:00:00 2001 From: ShazidMahsrafi Date: Wed, 7 Jun 2023 20:15:05 +0600 Subject: [PATCH] initial commit --- 339A-HelpfulMaths/339A.cpp | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 339A-HelpfulMaths/339A.cpp diff --git a/339A-HelpfulMaths/339A.cpp b/339A-HelpfulMaths/339A.cpp new file mode 100644 index 0000000..c407399 --- /dev/null +++ b/339A-HelpfulMaths/339A.cpp @@ -0,0 +1,19 @@ +#include +using namespace std; +int main() +{ + int i,j,temp; + string s; + cin>>s; + for(i=0;is[j]) + { + swap(s[i],s[j]); + } + } + } + cout<