Skip to main content

Posts

Showing posts with the label Column Swapping

Codeforces round 1684(C. Column Swapping)

first check than than we just need to swap one column with another or not. If we need to swap  2  or  0  column then just swap & feel that  Accepted... Else feel disappoint & carried out   (-1) . ///Bismillahir Rahmanir Rahim ///Author: Tanvir Ahmmad ///CSE,Islamic University,Bangladesh #include< iostream > #include< cstdio > #include< algorithm > #include< string > #include< cstring > #include< sstream > #include< cmath > #include< cstring > #include< vector > #include< queue > #include< map > #include< set > #include< stack > #include< vector > #include< iterator > #include   < functional >   ///sort(arr,arr+n,greater<int>()) for decrement of array /*...