Skip to content

Instantly share code, notes, and snippets.

@vdonchev
Created August 12, 2025 13:41
Show Gist options
  • Select an option

  • Save vdonchev/f5d923b6a65ae25e1001618c9ed22c49 to your computer and use it in GitHub Desktop.

Select an option

Save vdonchev/f5d923b6a65ae25e1001618c9ed22c49 to your computer and use it in GitHub Desktop.
#include<iostream>
using namespace std;
int main ()
{
int wk, wq, wr, wb, wkn, wp;
int bk, bq, br, bb, bkn, bp;
cin >> wk >> wq >> wr >> wb >> wkn >> wp;
cout << (wk - 1) * -1 << " " << (wq - 1 ) * -1<< " " << (wr - 2) * -1 << " " << (wb - 2) * -1 << " "
<< (wkn - 2) * -1 << " " << (wp - 8) * -1;
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment