Advertisement
Guest User

Untitled

a guest
Feb 19th, 2019
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. //
  2.  
  3.  
  4. #include <iostream>
  5. #include <iomanip>
  6. #include <cstdio>
  7. using namespace std;
  8. int ruchy [12][12];
  9. int szachy [10][10];
  10. int n;
  11. void wartruchy (void)
  12. {
  13. ruchy[0][0] = -2 ; ruchy[0][1]=1;
  14. ruchy[1][0] = -1 ; ruchy[1][1]=2;
  15. ruchy[2][0] = 1 ; ruchy[2][1]=2;
  16. ruchy[3][0] = 2 ; ruchy[3][1]=1;
  17. ruchy[4][0] = 2 ; ruchy[4][1]=-1;
  18. ruchy[5][0] = 1 ; ruchy[5][1]=-2;
  19. ruchy[6][0] = -1 ; ruchy[6][1]=-2;
  20. ruchy[7][0] = -2 ; ruchy[7][1]=-1;
  21.  
  22.  
  23. }
  24. int ruch(int i, int wsp1, int wsp2)
  25. int main(int argc, const char * argv[]) {
  26. // insert code here...
  27. std::cout << "Hello, World!\n";
  28. return 0;
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement