diff options
Diffstat (limited to 'BeautifulMatrix')
| -rw-r--r-- | BeautifulMatrix/inp | 0 | ||||
| -rwxr-xr-x | BeautifulMatrix/main | bin | 22424 -> 0 bytes | |||
| -rw-r--r-- | BeautifulMatrix/main.cpp | 20 | ||||
| -rw-r--r-- | BeautifulMatrix/main_input0.txt | 5 | ||||
| -rw-r--r-- | BeautifulMatrix/main_input1.txt | 5 | ||||
| -rw-r--r-- | BeautifulMatrix/main_output0.txt | 1 | ||||
| -rw-r--r-- | BeautifulMatrix/main_output1.txt | 1 |
7 files changed, 0 insertions, 32 deletions
diff --git a/BeautifulMatrix/inp b/BeautifulMatrix/inp deleted file mode 100644 index e69de29..0000000 --- a/BeautifulMatrix/inp +++ /dev/null diff --git a/BeautifulMatrix/main b/BeautifulMatrix/main Binary files differdeleted file mode 100755 index fd8f12e..0000000 --- a/BeautifulMatrix/main +++ /dev/null diff --git a/BeautifulMatrix/main.cpp b/BeautifulMatrix/main.cpp deleted file mode 100644 index 9fd86a8..0000000 --- a/BeautifulMatrix/main.cpp +++ /dev/null @@ -1,20 +0,0 @@ -#include<bits/stdc++.h> - -using namespace std; - -int main () { - ios_base::sync_with_stdio(false); - cin.tie(NULL); - int x; - pair<int, int> p; - for(int i = 1; i <= 5; i++) { - for(int j = 1; j <= 5; j++) { - cin >> x; - if(x) { - p.first = i; - p.second = j; - } - } - } - cout << abs(p.first - 3) + abs(p.second - 3); -} diff --git a/BeautifulMatrix/main_input0.txt b/BeautifulMatrix/main_input0.txt deleted file mode 100644 index 3f957a7..0000000 --- a/BeautifulMatrix/main_input0.txt +++ /dev/null @@ -1,5 +0,0 @@ -0 0 0 0 0 -0 0 0 0 1 -0 0 0 0 0 -0 0 0 0 0 -0 0 0 0 0 diff --git a/BeautifulMatrix/main_input1.txt b/BeautifulMatrix/main_input1.txt deleted file mode 100644 index 09c3945..0000000 --- a/BeautifulMatrix/main_input1.txt +++ /dev/null @@ -1,5 +0,0 @@ -0 0 0 0 0 -0 0 0 0 0 -0 1 0 0 0 -0 0 0 0 0 -0 0 0 0 0 diff --git a/BeautifulMatrix/main_output0.txt b/BeautifulMatrix/main_output0.txt deleted file mode 100644 index 00750ed..0000000 --- a/BeautifulMatrix/main_output0.txt +++ /dev/null @@ -1 +0,0 @@ -3 diff --git a/BeautifulMatrix/main_output1.txt b/BeautifulMatrix/main_output1.txt deleted file mode 100644 index d00491f..0000000 --- a/BeautifulMatrix/main_output1.txt +++ /dev/null @@ -1 +0,0 @@ -1 |
