diff options
| author | omagdy7 <omar.professional8777@gmail.com> | 2023-08-25 00:41:23 +0300 |
|---|---|---|
| committer | omagdy7 <omar.professional8777@gmail.com> | 2023-08-25 00:41:23 +0300 |
| commit | 8bcdf7747e7cb34e7370f2ab3c4714bfedeec2f4 (patch) | |
| tree | 2037952226b079dfd0ba6c81fb1c6591b03b3357 /contests/Round891 | |
| parent | a1ed3789607ca60942ddf02eeb41f12697731396 (diff) | |
| download | competitive-programming-8bcdf7747e7cb34e7370f2ab3c4714bfedeec2f4.tar.xz competitive-programming-8bcdf7747e7cb34e7370f2ab3c4714bfedeec2f4.zip | |
Solved 4 problem Round894(Div3)
Diffstat (limited to 'contests/Round891')
25 files changed, 203129 insertions, 0 deletions
diff --git a/contests/Round891/A/main b/contests/Round891/A/main Binary files differnew file mode 100755 index 0000000..b07d5a7 --- /dev/null +++ b/contests/Round891/A/main diff --git a/contests/Round891/A/main.cpp b/contests/Round891/A/main.cpp new file mode 100755 index 0000000..e176709 --- /dev/null +++ b/contests/Round891/A/main.cpp @@ -0,0 +1,152 @@ +#include <bits/stdc++.h> +using namespace std; + +using ll = long long; +using pii = pair<int, int>; +using vpi = vector<pii>; +using vi = vector<int>; +using vll = vector<long long>; +using mpii = map<int, int>; +using mpll = map<ll, ll>; +using db = long double; + +#define pb push_back +#define all(x) (x).begin(), (x).end() +#define rall(x) (x).rbegin(), (x).rend() +#define lb lower_bound +#define ub upper_bound +#define make_unique(x) \ + sort(all((x))); \ + (x).resize(unique(all((x))) - (x).begin()) +#define ceil(a, b) ((a) + (b)-1) / (b) + +const int MOD = (int)1e9 + 7; +const db PI = acos((db)-1); +const int dx[4]{1, 0, -1, 0}; +const int dy[4]{0, 1, 0, -1}; + +template <typename K, typename V> +ostream &operator<<(ostream &os, const pair<K, V> &p); +template <typename T> ostream &operator<<(ostream &os, const vector<T> &vec); +template <typename K, typename V> +ostream &operator<<(ostream &os, const map<K, V> &m); +template <typename K, typename V> +ostream &operator<<(ostream &os, const unordered_map<K, V> &m); +template <typename T> ostream &operator<<(ostream &os, const set<T> &s); +template <typename T> +ostream &operator<<(ostream &os, const unordered_set<T> &s); + +template <typename K, typename V> +ostream &operator<<(ostream &os, const pair<K, V> &p) { + os << "(" << p.first << ", " << p.second << ")"; + return os; +} + +template <typename T> ostream &operator<<(ostream &os, const vector<T> &vec) { + os << "{"; + for (size_t i = 0; i < vec.size(); ++i) { + if (i > 0) + os << ", "; + os << vec[i]; + } + os << "}"; + return os; +} + +template <typename K, typename V> +ostream &operator<<(ostream &os, const map<K, V> &m) { + os << "{"; + for (const auto &p : m) { + os << p.first << ": " << p.second << ", "; + } + os << "}"; + return os; +} + +template <typename K, typename V> +ostream &operator<<(ostream &os, const unordered_map<K, V> &m) { + os << "{"; + for (const auto &p : m) { + os << p.first << ": " << p.second << ", "; + } + os << "}"; + return os; +} + +template <typename T> ostream &operator<<(ostream &os, const set<T> &s) { + int i = 0; + os << "{"; + for (const auto &e : s) { + if (i > 0) + os << ", "; + os << e; + i++; + } + os << "}"; + return os; +} + +template <typename T> +ostream &operator<<(ostream &os, const unordered_set<T> &s) { + int i = 0; + os << "{"; + for (const auto &e : s) { + if (i > 0) + os << ", "; + os << e; + i++; + } + os << "}"; + return os; +} + +void dbg() { cerr << "\n"; } + +template <typename T, typename... TS> void dbg(T val, TS... vals) { + cerr << val << " "; + dbg(vals...); +} + +/* stuff you should look for: + --------------------------- + * special cases (n=1?) + * int overflow, array bounds + * do smth instead of nothing and stay organized + * WRITE STUFF DOWN + * DON'T GET STUCK ON ONE APPROACH + */ + +// 1 7 4 +// 1 3 5 7 9 2 + +void solve() { + int n; + cin >> n; + vi v(n); + int odd = 0; + int even = 0; + for (int i = 0; i < n; i++) { + cin >> v[i]; + odd += (v[i] % 2 == 1); + even += (v[i] % 2 == 0); + } + if (n == 2 && ((v[0] % 2) != (v[1] % 2))) { + cout << "NO\n"; + return; + } + if (odd % 2 == 1) { + cout << "NO\n"; + return; + } + cout << "YES\n"; +} + +int main() { + ios_base::sync_with_stdio(false); + cin.tie(NULL); + int tt; + cin >> tt; + while (tt--) { + solve(); + } +} diff --git a/contests/Round891/A/main_input0.txt b/contests/Round891/A/main_input0.txt new file mode 100644 index 0000000..d7b179d --- /dev/null +++ b/contests/Round891/A/main_input0.txt @@ -0,0 +1,15 @@ +7 +8 +1 2 4 3 2 3 5 4 +2 +4 7 +3 +3 9 8 +2 +1 7 +5 +5 4 3 2 1 +4 +4 3 4 5 +2 +50 48 diff --git a/contests/Round891/A/main_output0.txt b/contests/Round891/A/main_output0.txt new file mode 100644 index 0000000..a3703f9 --- /dev/null +++ b/contests/Round891/A/main_output0.txt @@ -0,0 +1,7 @@ +YES +NO +YES +YES +NO +YES +YES diff --git a/contests/Round891/B/main.cpp b/contests/Round891/B/main.cpp new file mode 100755 index 0000000..a9c0cd1 --- /dev/null +++ b/contests/Round891/B/main.cpp @@ -0,0 +1,132 @@ +#include <bits/stdc++.h> +using namespace std; + +using ll = long long; +using pii = pair<int, int>; +using vpi = vector<pii>; +using vi = vector<int>; +using vll = vector<long long>; +using mpii = map<int, int>; +using mpll = map<ll, ll>; +using db = long double; + +#define pb push_back +#define all(x) (x).begin(), (x).end() +#define rall(x) (x).rbegin(), (x).rend() +#define lb lower_bound +#define ub upper_bound +#define make_unique(x) \ + sort(all((x))); \ + (x).resize(unique(all((x))) - (x).begin()) +#define ceil(a, b) ((a) + (b)-1) / (b) + +const int MOD = (int)1e9 + 7; +const db PI = acos((db)-1); +const int dx[4]{1, 0, -1, 0}; +const int dy[4]{0, 1, 0, -1}; + +template <typename K, typename V> +ostream &operator<<(ostream &os, const pair<K, V> &p); +template <typename T> ostream &operator<<(ostream &os, const vector<T> &vec); +template <typename K, typename V> +ostream &operator<<(ostream &os, const map<K, V> &m); +template <typename K, typename V> +ostream &operator<<(ostream &os, const unordered_map<K, V> &m); +template <typename T> ostream &operator<<(ostream &os, const set<T> &s); +template <typename T> +ostream &operator<<(ostream &os, const unordered_set<T> &s); + +template <typename K, typename V> +ostream &operator<<(ostream &os, const pair<K, V> &p) { + os << "(" << p.first << ", " << p.second << ")"; + return os; +} + +template <typename T> ostream &operator<<(ostream &os, const vector<T> &vec) { + os << "{"; + for (size_t i = 0; i < vec.size(); ++i) { + if (i > 0) + os << ", "; + os << vec[i]; + } + os << "}"; + return os; +} + +template <typename K, typename V> +ostream &operator<<(ostream &os, const map<K, V> &m) { + os << "{"; + for (const auto &p : m) { + os << p.first << ": " << p.second << ", "; + } + os << "}"; + return os; +} + +template <typename K, typename V> +ostream &operator<<(ostream &os, const unordered_map<K, V> &m) { + os << "{"; + for (const auto &p : m) { + os << p.first << ": " << p.second << ", "; + } + os << "}"; + return os; +} + +template <typename T> ostream &operator<<(ostream &os, const set<T> &s) { + int i = 0; + os << "{"; + for (const auto &e : s) { + if (i > 0) + os << ", "; + os << e; + i++; + } + os << "}"; + return os; +} + +template <typename T> +ostream &operator<<(ostream &os, const unordered_set<T> &s) { + int i = 0; + os << "{"; + for (const auto &e : s) { + if (i > 0) + os << ", "; + os << e; + i++; + } + os << "}"; + return os; +} + +void dbg() { cerr << "\n"; } + +template <typename T, typename... TS> void dbg(T val, TS... vals) { + cerr << val << " "; + dbg(vals...); +} + +/* stuff you should look for: + --------------------------- + * special cases (n=1?) + * int overflow, array bounds + * do smth instead of nothing and stay organized + * WRITE STUFF DOWN + * DON'T GET STUCK ON ONE APPROACH + */ + +void solve() { + int x; + cin >> x; +} + +int main() { + ios_base::sync_with_stdio(false); + cin.tie(NULL); + int tt; + cin >> tt; + while (tt--) { + solve(); + } +} diff --git a/contests/Round891/B/main_input0.txt b/contests/Round891/B/main_input0.txt new file mode 100644 index 0000000..0972773 --- /dev/null +++ b/contests/Round891/B/main_input0.txt @@ -0,0 +1,11 @@ +10 +1 +5 +99 +913 +1980 +20444 +20445 +60947 +419860 +40862016542130810467 diff --git a/contests/Round891/B/main_output0.txt b/contests/Round891/B/main_output0.txt new file mode 100644 index 0000000..9406d52 --- /dev/null +++ b/contests/Round891/B/main_output0.txt @@ -0,0 +1,10 @@ +1 +10 +100 +1000 +2000 +20444 +21000 +100000 +420000 +41000000000000000000 diff --git a/contests/Round891/C/CompetiTestTestcases124_input0.txt b/contests/Round891/C/CompetiTestTestcases124_input0.txt new file mode 100644 index 0000000..6523713 --- /dev/null +++ b/contests/Round891/C/CompetiTestTestcases124_input0.txt @@ -0,0 +1,3 @@ +1 +5 +-2 -2 -2 -2 -2 0 0 0 0 3
\ No newline at end of file diff --git a/contests/Round891/C/CompetiTestTestcases124_input1.txt b/contests/Round891/C/CompetiTestTestcases124_input1.txt new file mode 100644 index 0000000..6523713 --- /dev/null +++ b/contests/Round891/C/CompetiTestTestcases124_input1.txt @@ -0,0 +1,3 @@ +1 +5 +-2 -2 -2 -2 -2 0 0 0 0 3
\ No newline at end of file diff --git a/contests/Round891/C/CompetiTestTestcases124_output1.txt b/contests/Round891/C/CompetiTestTestcases124_output1.txt new file mode 100644 index 0000000..703ca85 --- /dev/null +++ b/contests/Round891/C/CompetiTestTestcases124_output1.txt @@ -0,0 +1 @@ +1 2 3
\ No newline at end of file diff --git a/contests/Round891/C/dbg.txt b/contests/Round891/C/dbg.txt new file mode 100644 index 0000000..80d5d75 --- /dev/null +++ b/contests/Round891/C/dbg.txt @@ -0,0 +1,202150 @@ +Out: {0, 0, 0, 0, 1} Exp: {0, 0, 0, 0, 0} +Out: {0, 0, 0, 0, 1} Exp: {0, 0, 0, 0, 1} +Out: {0, 0, 0, 0, 1} Exp: {0, 0, 0, 0, 2} +Out: {0, 0, 0, 0, 1} Exp: {0, 0, 0, 0, 3} +Out: {0, 0, 0, 0, 1} Exp: {0, 0, 0, 0, 4} +Out: {0, 0, 0, 0, 1} Exp: {0, 0, 0, 0, 5} +Out: {0, 0, 0, 0, 1} Exp: {0, 0, 0, 0, 6} +Out: {0, 0, 0, 0, 1} Exp: {0, 0, 0, 0, 7} +Out: {0, 0, 0, 0, 1} Exp: {0, 0, 0, 0, 8} +Out: {0, 0, 0, 0, 1} Exp: {0, 0, 0, 0, 9} +Out: {0, 0, 0, 0, 1} Exp: {0, 0, 0, 0, 1} +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 0, 1, 1} +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 0, 1, 2} +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 0, 1, 3} +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 0, 1, 4} +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 0, 1, 5} +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 0, 1, 6} +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 0, 1, 7} +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 0, 1, 8} +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 0, 1, 9} +Out: {0, 0, 0, 0, 1} Exp: {0, 0, 0, 0, 2} +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 0, 1, 2} +Out: {0, 0, 0, 2, 3} Exp: {0, 0, 0, 2, 2} +Out: {0, 0, 0, 2, 3} Exp: {0, 0, 0, 2, 3} +Out: {0, 0, 0, 2, 3} Exp: {0, 0, 0, 2, 4} +Out: {0, 0, 0, 2, 3} Exp: {0, 0, 0, 2, 5} +Out: {0, 0, 0, 2, 3} Exp: {0, 0, 0, 2, 6} +Out: {0, 0, 0, 2, 3} Exp: {0, 0, 0, 2, 7} +Out: {0, 0, 0, 2, 3} Exp: {0, 0, 0, 2, 8} +Out: {0, 0, 0, 2, 3} Exp: {0, 0, 0, 2, 9} +Out: {0, 0, 0, 0, 1} Exp: {0, 0, 0, 0, 3} +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 0, 1, 3} +Out: {0, 0, 0, 2, 3} Exp: {0, 0, 0, 2, 3} +Out: {0, 0, 0, 3, 4} Exp: {0, 0, 0, 3, 3} +Out: {0, 0, 0, 3, 4} Exp: {0, 0, 0, 3, 4} +Out: {0, 0, 0, 3, 4} Exp: {0, 0, 0, 3, 5} +Out: {0, 0, 0, 3, 4} Exp: {0, 0, 0, 3, 6} +Out: {0, 0, 0, 3, 4} Exp: {0, 0, 0, 3, 7} +Out: {0, 0, 0, 3, 4} Exp: {0, 0, 0, 3, 8} +Out: {0, 0, 0, 3, 4} Exp: {0, 0, 0, 3, 9} +Out: {0, 0, 0, 0, 1} Exp: {0, 0, 0, 0, 4} +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 0, 1, 4} +Out: {0, 0, 0, 2, 3} Exp: {0, 0, 0, 2, 4} +Out: {0, 0, 0, 3, 4} Exp: {0, 0, 0, 3, 4} +Out: {0, 0, 0, 4, 5} Exp: {0, 0, 0, 4, 4} +Out: {0, 0, 0, 4, 5} Exp: {0, 0, 0, 4, 5} +Out: {0, 0, 0, 4, 5} Exp: {0, 0, 0, 4, 6} +Out: {0, 0, 0, 4, 5} Exp: {0, 0, 0, 4, 7} +Out: {0, 0, 0, 4, 5} Exp: {0, 0, 0, 4, 8} +Out: {0, 0, 0, 4, 5} Exp: {0, 0, 0, 4, 9} +Out: {0, 0, 0, 0, 1} Exp: {0, 0, 0, 0, 5} +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 0, 1, 5} +Out: {0, 0, 0, 2, 3} Exp: {0, 0, 0, 2, 5} +Out: {0, 0, 0, 3, 4} Exp: {0, 0, 0, 3, 5} +Out: {0, 0, 0, 4, 5} Exp: {0, 0, 0, 4, 5} +Out: {0, 0, 0, 5, 6} Exp: {0, 0, 0, 5, 5} +Out: {0, 0, 0, 5, 6} Exp: {0, 0, 0, 5, 6} +Out: {0, 0, 0, 5, 6} Exp: {0, 0, 0, 5, 7} +Out: {0, 0, 0, 5, 6} Exp: {0, 0, 0, 5, 8} +Out: {0, 0, 0, 5, 6} Exp: {0, 0, 0, 5, 9} +Out: {0, 0, 0, 0, 1} Exp: {0, 0, 0, 0, 6} +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 0, 1, 6} +Out: {0, 0, 0, 2, 3} Exp: {0, 0, 0, 2, 6} +Out: {0, 0, 0, 3, 4} Exp: {0, 0, 0, 3, 6} +Out: {0, 0, 0, 4, 5} Exp: {0, 0, 0, 4, 6} +Out: {0, 0, 0, 5, 6} Exp: {0, 0, 0, 5, 6} +Out: {0, 0, 0, 6, 7} Exp: {0, 0, 0, 6, 6} +Out: {0, 0, 0, 6, 7} Exp: {0, 0, 0, 6, 7} +Out: {0, 0, 0, 6, 7} Exp: {0, 0, 0, 6, 8} +Out: {0, 0, 0, 6, 7} Exp: {0, 0, 0, 6, 9} +Out: {0, 0, 0, 0, 1} Exp: {0, 0, 0, 0, 7} +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 0, 1, 7} +Out: {0, 0, 0, 2, 3} Exp: {0, 0, 0, 2, 7} +Out: {0, 0, 0, 3, 4} Exp: {0, 0, 0, 3, 7} +Out: {0, 0, 0, 4, 5} Exp: {0, 0, 0, 4, 7} +Out: {0, 0, 0, 5, 6} Exp: {0, 0, 0, 5, 7} +Out: {0, 0, 0, 6, 7} Exp: {0, 0, 0, 6, 7} +Out: {0, 0, 0, 7, 8} Exp: {0, 0, 0, 7, 7} +Out: {0, 0, 0, 7, 8} Exp: {0, 0, 0, 7, 8} +Out: {0, 0, 0, 7, 8} Exp: {0, 0, 0, 7, 9} +Out: {0, 0, 0, 0, 1} Exp: {0, 0, 0, 0, 8} +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 0, 1, 8} +Out: {0, 0, 0, 2, 3} Exp: {0, 0, 0, 2, 8} +Out: {0, 0, 0, 3, 4} Exp: {0, 0, 0, 3, 8} +Out: {0, 0, 0, 4, 5} Exp: {0, 0, 0, 4, 8} +Out: {0, 0, 0, 5, 6} Exp: {0, 0, 0, 5, 8} +Out: {0, 0, 0, 6, 7} Exp: {0, 0, 0, 6, 8} +Out: {0, 0, 0, 7, 8} Exp: {0, 0, 0, 7, 8} +Out: {0, 0, 0, 8, 9} Exp: {0, 0, 0, 8, 8} +Out: {0, 0, 0, 8, 9} Exp: {0, 0, 0, 8, 9} +Out: {0, 0, 0, 0, 1} Exp: {0, 0, 0, 0, 9} +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 0, 1, 9} +Out: {0, 0, 0, 2, 3} Exp: {0, 0, 0, 2, 9} +Out: {0, 0, 0, 3, 4} Exp: {0, 0, 0, 3, 9} +Out: {0, 0, 0, 4, 5} Exp: {0, 0, 0, 4, 9} +Out: {0, 0, 0, 5, 6} Exp: {0, 0, 0, 5, 9} +Out: {0, 0, 0, 6, 7} Exp: {0, 0, 0, 6, 9} +Out: {0, 0, 0, 7, 8} Exp: {0, 0, 0, 7, 9} +Out: {0, 0, 0, 8, 9} Exp: {0, 0, 0, 8, 9} +Out: {0, 0, 0, 9, 10} Exp: {0, 0, 0, 9, 9} +Out: {0, 0, 0, 0, 1} Exp: {0, 0, 0, 0, 1} +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 0, 1, 1} +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 0, 1, 2} +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 0, 1, 3} +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 0, 1, 4} +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 0, 1, 5} +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 0, 1, 6} +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 0, 1, 7} +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 0, 1, 8} +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 0, 1, 9} +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 0, 1, 1} +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 1, 1, 1} +Out: {0, 0, 0, 1, 2} + Exp: {0, 0, 1, 1, 1} +------------------ +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 1, 1, 2} +Out: {0, 0, 0, 1, 2} + Exp: {0, 0, 1, 1, 2} +------------------ +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 1, 1, 3} +Out: {0, 0, 0, 1, 2} + Exp: {0, 0, 1, 1, 3} +------------------ +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 1, 1, 4} +Out: {0, 0, 0, 1, 2} + Exp: {0, 0, 1, 1, 4} +------------------ +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 1, 1, 5} +Out: {0, 0, 0, 1, 2} + Exp: {0, 0, 1, 1, 5} +------------------ +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 1, 1, 6} +Out: {0, 0, 0, 1, 2} + Exp: {0, 0, 1, 1, 6} +------------------ +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 1, 1, 7} +Out: {0, 0, 0, 1, 2} + Exp: {0, 0, 1, 1, 7} +------------------ +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 1, 1, 8} +Out: {0, 0, 0, 1, 2} + Exp: {0, 0, 1, 1, 8} +------------------ +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 1, 1, 9} +Out: {0, 0, 0, 1, 2} + Exp: {0, 0, 1, 1, 9} +------------------ +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 0, 1, 2} +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 1, 1, 2} +Out: {0, 0, 0, 1, 2} + Exp: {0, 0, 1, 1, 2} +------------------ +Out: {0, 0, 1, 2, 3} Exp: {0, 0, 1, 2, 2} +Out: {0, 0, 1, 2, 3} Exp: {0, 0, 1, 2, 3} +Out: {0, 0, 1, 2, 3} Exp: {0, 0, 1, 2, 4} +Out: {0, 0, 1, 2, 3} Exp: {0, 0, 1, 2, 5} +Out: {0, 0, 1, 2, 3} Exp: {0, 0, 1, 2, 6} +Out: {0, 0, 1, 2, 3} Exp: {0, 0, 1, 2, 7} +Out: {0, 0, 1, 2, 3} Exp: {0, 0, 1, 2, 8} +Out: {0, 0, 1, 2, 3} Exp: {0, 0, 1, 2, 9} +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 0, 1, 3} +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 1, 1, 3} +Out: {0, 0, 0, 1, 2} + Exp: {0, 0, 1, 1, 3} +------------------ +Out: {0, 0, 1, 2, 3} Exp: {0, 0, 1, 2, 3} +Out: {0, 0, 1, 3, 4} Exp: {0, 0, 1, 3, 3} +Out: {0, 0, 1, 3, 4} Exp: {0, 0, 1, 3, 4} +Out: {0, 0, 1, 3, 4} Exp: {0, 0, 1, 3, 5} +Out: {0, 0, 1, 3, 4} Exp: {0, 0, 1, 3, 6} +Out: {0, 0, 1, 3, 4} Exp: {0, 0, 1, 3, 7} +Out: {0, 0, 1, 3, 4} Exp: {0, 0, 1, 3, 8} +Out: {0, 0, 1, 3, 4} Exp: {0, 0, 1, 3, 9} +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 0, 1, 4} +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 1, 1, 4} +Out: {0, 0, 0, 1, 2} + Exp: {0, 0, 1, 1, 4} +------------------ +Out: {0, 0, 1, 2, 3} Exp: {0, 0, 1, 2, 4} +Out: {0, 0, 1, 3, 4} Exp: {0, 0, 1, 3, 4} +Out: {0, 0, 1, 4, 5} Exp: {0, 0, 1, 4, 4} +Out: {0, 0, 1, 4, 5} Exp: {0, 0, 1, 4, 5} +Out: {0, 0, 1, 4, 5} Exp: {0, 0, 1, 4, 6} +Out: {0, 0, 1, 4, 5} Exp: {0, 0, 1, 4, 7} +Out: {0, 0, 1, 4, 5} Exp: {0, 0, 1, 4, 8} +Out: {0, 0, 1, 4, 5} Exp: {0, 0, 1, 4, 9} +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 0, 1, 5} +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 1, 1, 5} +Out: {0, 0, 0, 1, 2} + Exp: {0, 0, 1, 1, 5} +------------------ +Out: {0, 0, 1, 2, 3} Exp: {0, 0, 1, 2, 5} +Out: {0, 0, 1, 3, 4} Exp: {0, 0, 1, 3, 5} +Out: {0, 0, 1, 4, 5} Exp: {0, 0, 1, 4, 5} +Out: {0, 0, 1, 5, 6} Exp: {0, 0, 1, 5, 5} +Out: {0, 0, 1, 5, 6} Exp: {0, 0, 1, 5, 6} +Out: {0, 0, 1, 5, 6} Exp: {0, 0, 1, 5, 7} +Out: {0, 0, 1, 5, 6} Exp: {0, 0, 1, 5, 8} +Out: {0, 0, 1, 5, 6} Exp: {0, 0, 1, 5, 9} +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 0, 1, 6} +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 1, 1, 6} +Out: {0, 0, 0, 1, 2} + Exp: {0, 0, 1, 1, 6} +------------------ +Out: {0, 0, 1, 2, 3} Exp: {0, 0, 1, 2, 6} +Out: {0, 0, 1, 3, 4} Exp: {0, 0, 1, 3, 6} +Out: {0, 0, 1, 4, 5} Exp: {0, 0, 1, 4, 6} +Out: {0, 0, 1, 5, 6} Exp: {0, 0, 1, 5, 6} +Out: {0, 0, 1, 6, 7} Exp: {0, 0, 1, 6, 6} +Out: {0, 0, 1, 6, 7} Exp: {0, 0, 1, 6, 7} +Out: {0, 0, 1, 6, 7} Exp: {0, 0, 1, 6, 8} +Out: {0, 0, 1, 6, 7} Exp: {0, 0, 1, 6, 9} +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 0, 1, 7} +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 1, 1, 7} +Out: {0, 0, 0, 1, 2} + Exp: {0, 0, 1, 1, 7} +------------------ +Out: {0, 0, 1, 2, 3} Exp: {0, 0, 1, 2, 7} +Out: {0, 0, 1, 3, 4} Exp: {0, 0, 1, 3, 7} +Out: {0, 0, 1, 4, 5} Exp: {0, 0, 1, 4, 7} +Out: {0, 0, 1, 5, 6} Exp: {0, 0, 1, 5, 7} +Out: {0, 0, 1, 6, 7} Exp: {0, 0, 1, 6, 7} +Out: {0, 0, 1, 7, 8} Exp: {0, 0, 1, 7, 7} +Out: {0, 0, 1, 7, 8} Exp: {0, 0, 1, 7, 8} +Out: {0, 0, 1, 7, 8} Exp: {0, 0, 1, 7, 9} +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 0, 1, 8} +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 1, 1, 8} +Out: {0, 0, 0, 1, 2} + Exp: {0, 0, 1, 1, 8} +------------------ +Out: {0, 0, 1, 2, 3} Exp: {0, 0, 1, 2, 8} +Out: {0, 0, 1, 3, 4} Exp: {0, 0, 1, 3, 8} +Out: {0, 0, 1, 4, 5} Exp: {0, 0, 1, 4, 8} +Out: {0, 0, 1, 5, 6} Exp: {0, 0, 1, 5, 8} +Out: {0, 0, 1, 6, 7} Exp: {0, 0, 1, 6, 8} +Out: {0, 0, 1, 7, 8} Exp: {0, 0, 1, 7, 8} +Out: {0, 0, 1, 8, 9} Exp: {0, 0, 1, 8, 8} +Out: {0, 0, 1, 8, 9} Exp: {0, 0, 1, 8, 9} +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 0, 1, 9} +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 1, 1, 9} +Out: {0, 0, 0, 1, 2} + Exp: {0, 0, 1, 1, 9} +------------------ +Out: {0, 0, 1, 2, 3} Exp: {0, 0, 1, 2, 9} +Out: {0, 0, 1, 3, 4} Exp: {0, 0, 1, 3, 9} +Out: {0, 0, 1, 4, 5} Exp: {0, 0, 1, 4, 9} +Out: {0, 0, 1, 5, 6} Exp: {0, 0, 1, 5, 9} +Out: {0, 0, 1, 6, 7} Exp: {0, 0, 1, 6, 9} +Out: {0, 0, 1, 7, 8} Exp: {0, 0, 1, 7, 9} +Out: {0, 0, 1, 8, 9} Exp: {0, 0, 1, 8, 9} +Out: {0, 0, 1, 9, 10} Exp: {0, 0, 1, 9, 9} +Out: {0, 0, 0, 0, 1} Exp: {0, 0, 0, 0, 2} +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 0, 1, 2} +Out: {0, 0, 0, 2, 3} Exp: {0, 0, 0, 2, 2} +Out: {0, 0, 0, 2, 3} Exp: {0, 0, 0, 2, 3} +Out: {0, 0, 0, 2, 3} Exp: {0, 0, 0, 2, 4} +Out: {0, 0, 0, 2, 3} Exp: {0, 0, 0, 2, 5} +Out: {0, 0, 0, 2, 3} Exp: {0, 0, 0, 2, 6} +Out: {0, 0, 0, 2, 3} Exp: {0, 0, 0, 2, 7} +Out: {0, 0, 0, 2, 3} Exp: {0, 0, 0, 2, 8} +Out: {0, 0, 0, 2, 3} Exp: {0, 0, 0, 2, 9} +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 0, 1, 2} +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 1, 1, 2} +Out: {0, 0, 0, 1, 2} + Exp: {0, 0, 1, 1, 2} +------------------ +Out: {0, 0, 1, 2, 3} Exp: {0, 0, 1, 2, 2} +Out: {0, 0, 1, 2, 3} Exp: {0, 0, 1, 2, 3} +Out: {0, 0, 1, 2, 3} Exp: {0, 0, 1, 2, 4} +Out: {0, 0, 1, 2, 3} Exp: {0, 0, 1, 2, 5} +Out: {0, 0, 1, 2, 3} Exp: {0, 0, 1, 2, 6} +Out: {0, 0, 1, 2, 3} Exp: {0, 0, 1, 2, 7} +Out: {0, 0, 1, 2, 3} Exp: {0, 0, 1, 2, 8} +Out: {0, 0, 1, 2, 3} Exp: {0, 0, 1, 2, 9} +Out: {0, 0, 0, 2, 3} Exp: {0, 0, 0, 2, 2} +Out: {0, 0, 1, 2, 3} Exp: {0, 0, 1, 2, 2} +Out: {0, 0, 0, 2, 3} Exp: {0, 0, 2, 2, 2} +Out: {0, 0, 0, 2, 3} + Exp: {0, 0, 2, 2, 2} +------------------ +Out: {0, 0, 0, 2, 3} Exp: {0, 0, 2, 2, 3} +Out: {0, 0, 0, 2, 3} + Exp: {0, 0, 2, 2, 3} +------------------ +Out: {0, 0, 0, 2, 3} Exp: {0, 0, 2, 2, 4} +Out: {0, 0, 0, 2, 3} + Exp: {0, 0, 2, 2, 4} +------------------ +Out: {0, 0, 0, 2, 3} Exp: {0, 0, 2, 2, 5} +Out: {0, 0, 0, 2, 3} + Exp: {0, 0, 2, 2, 5} +------------------ +Out: {0, 0, 0, 2, 3} Exp: {0, 0, 2, 2, 6} +Out: {0, 0, 0, 2, 3} + Exp: {0, 0, 2, 2, 6} +------------------ +Out: {0, 0, 0, 2, 3} Exp: {0, 0, 2, 2, 7} +Out: {0, 0, 0, 2, 3} + Exp: {0, 0, 2, 2, 7} +------------------ +Out: {0, 0, 0, 2, 3} Exp: {0, 0, 2, 2, 8} +Out: {0, 0, 0, 2, 3} + Exp: {0, 0, 2, 2, 8} +------------------ +Out: {0, 0, 0, 2, 3} Exp: {0, 0, 2, 2, 9} +Out: {0, 0, 0, 2, 3} + Exp: {0, 0, 2, 2, 9} +------------------ +Out: {0, 0, 0, 2, 3} Exp: {0, 0, 0, 2, 3} +Out: {0, 0, 1, 2, 3} Exp: {0, 0, 1, 2, 3} +Out: {0, 0, 0, 2, 3} Exp: {0, 0, 2, 2, 3} +Out: {0, 0, 0, 2, 3} + Exp: {0, 0, 2, 2, 3} +------------------ +Out: {0, 0, 2, 3, 4} Exp: {0, 0, 2, 3, 3} +Out: {0, 0, 2, 3, 4} Exp: {0, 0, 2, 3, 4} +Out: {0, 0, 2, 3, 4} Exp: {0, 0, 2, 3, 5} +Out: {0, 0, 2, 3, 4} Exp: {0, 0, 2, 3, 6} +Out: {0, 0, 2, 3, 4} Exp: {0, 0, 2, 3, 7} +Out: {0, 0, 2, 3, 4} Exp: {0, 0, 2, 3, 8} +Out: {0, 0, 2, 3, 4} Exp: {0, 0, 2, 3, 9} +Out: {0, 0, 0, 2, 3} Exp: {0, 0, 0, 2, 4} +Out: {0, 0, 1, 2, 3} Exp: {0, 0, 1, 2, 4} +Out: {0, 0, 0, 2, 3} Exp: {0, 0, 2, 2, 4} +Out: {0, 0, 0, 2, 3} + Exp: {0, 0, 2, 2, 4} +------------------ +Out: {0, 0, 2, 3, 4} Exp: {0, 0, 2, 3, 4} +Out: {0, 0, 2, 4, 5} Exp: {0, 0, 2, 4, 4} +Out: {0, 0, 2, 4, 5} Exp: {0, 0, 2, 4, 5} +Out: {0, 0, 2, 4, 5} Exp: {0, 0, 2, 4, 6} +Out: {0, 0, 2, 4, 5} Exp: {0, 0, 2, 4, 7} +Out: {0, 0, 2, 4, 5} Exp: {0, 0, 2, 4, 8} +Out: {0, 0, 2, 4, 5} Exp: {0, 0, 2, 4, 9} +Out: {0, 0, 0, 2, 3} Exp: {0, 0, 0, 2, 5} +Out: {0, 0, 1, 2, 3} Exp: {0, 0, 1, 2, 5} +Out: {0, 0, 0, 2, 3} Exp: {0, 0, 2, 2, 5} +Out: {0, 0, 0, 2, 3} + Exp: {0, 0, 2, 2, 5} +------------------ +Out: {0, 0, 2, 3, 4} Exp: {0, 0, 2, 3, 5} +Out: {0, 0, 2, 4, 5} Exp: {0, 0, 2, 4, 5} +Out: {0, 0, 2, 5, 6} Exp: {0, 0, 2, 5, 5} +Out: {0, 0, 2, 5, 6} Exp: {0, 0, 2, 5, 6} +Out: {0, 0, 2, 5, 6} Exp: {0, 0, 2, 5, 7} +Out: {0, 0, 2, 5, 6} Exp: {0, 0, 2, 5, 8} +Out: {0, 0, 2, 5, 6} Exp: {0, 0, 2, 5, 9} +Out: {0, 0, 0, 2, 3} Exp: {0, 0, 0, 2, 6} +Out: {0, 0, 1, 2, 3} Exp: {0, 0, 1, 2, 6} +Out: {0, 0, 0, 2, 3} Exp: {0, 0, 2, 2, 6} +Out: {0, 0, 0, 2, 3} + Exp: {0, 0, 2, 2, 6} +------------------ +Out: {0, 0, 2, 3, 4} Exp: {0, 0, 2, 3, 6} +Out: {0, 0, 2, 4, 5} Exp: {0, 0, 2, 4, 6} +Out: {0, 0, 2, 5, 6} Exp: {0, 0, 2, 5, 6} +Out: {0, 0, 2, 6, 7} Exp: {0, 0, 2, 6, 6} +Out: {0, 0, 2, 6, 7} Exp: {0, 0, 2, 6, 7} +Out: {0, 0, 2, 6, 7} Exp: {0, 0, 2, 6, 8} +Out: {0, 0, 2, 6, 7} Exp: {0, 0, 2, 6, 9} +Out: {0, 0, 0, 2, 3} Exp: {0, 0, 0, 2, 7} +Out: {0, 0, 1, 2, 3} Exp: {0, 0, 1, 2, 7} +Out: {0, 0, 0, 2, 3} Exp: {0, 0, 2, 2, 7} +Out: {0, 0, 0, 2, 3} + Exp: {0, 0, 2, 2, 7} +------------------ +Out: {0, 0, 2, 3, 4} Exp: {0, 0, 2, 3, 7} +Out: {0, 0, 2, 4, 5} Exp: {0, 0, 2, 4, 7} +Out: {0, 0, 2, 5, 6} Exp: {0, 0, 2, 5, 7} +Out: {0, 0, 2, 6, 7} Exp: {0, 0, 2, 6, 7} +Out: {0, 0, 2, 7, 8} Exp: {0, 0, 2, 7, 7} +Out: {0, 0, 2, 7, 8} Exp: {0, 0, 2, 7, 8} +Out: {0, 0, 2, 7, 8} Exp: {0, 0, 2, 7, 9} +Out: {0, 0, 0, 2, 3} Exp: {0, 0, 0, 2, 8} +Out: {0, 0, 1, 2, 3} Exp: {0, 0, 1, 2, 8} +Out: {0, 0, 0, 2, 3} Exp: {0, 0, 2, 2, 8} +Out: {0, 0, 0, 2, 3} + Exp: {0, 0, 2, 2, 8} +------------------ +Out: {0, 0, 2, 3, 4} Exp: {0, 0, 2, 3, 8} +Out: {0, 0, 2, 4, 5} Exp: {0, 0, 2, 4, 8} +Out: {0, 0, 2, 5, 6} Exp: {0, 0, 2, 5, 8} +Out: {0, 0, 2, 6, 7} Exp: {0, 0, 2, 6, 8} +Out: {0, 0, 2, 7, 8} Exp: {0, 0, 2, 7, 8} +Out: {0, 0, 2, 8, 9} Exp: {0, 0, 2, 8, 8} +Out: {0, 0, 2, 8, 9} Exp: {0, 0, 2, 8, 9} +Out: {0, 0, 0, 2, 3} Exp: {0, 0, 0, 2, 9} +Out: {0, 0, 1, 2, 3} Exp: {0, 0, 1, 2, 9} +Out: {0, 0, 0, 2, 3} Exp: {0, 0, 2, 2, 9} +Out: {0, 0, 0, 2, 3} + Exp: {0, 0, 2, 2, 9} +------------------ +Out: {0, 0, 2, 3, 4} Exp: {0, 0, 2, 3, 9} +Out: {0, 0, 2, 4, 5} Exp: {0, 0, 2, 4, 9} +Out: {0, 0, 2, 5, 6} Exp: {0, 0, 2, 5, 9} +Out: {0, 0, 2, 6, 7} Exp: {0, 0, 2, 6, 9} +Out: {0, 0, 2, 7, 8} Exp: {0, 0, 2, 7, 9} +Out: {0, 0, 2, 8, 9} Exp: {0, 0, 2, 8, 9} +Out: {0, 0, 2, 9, 10} Exp: {0, 0, 2, 9, 9} +Out: {0, 0, 0, 0, 1} Exp: {0, 0, 0, 0, 3} +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 0, 1, 3} +Out: {0, 0, 0, 2, 3} Exp: {0, 0, 0, 2, 3} +Out: {0, 0, 0, 3, 4} Exp: {0, 0, 0, 3, 3} +Out: {0, 0, 0, 3, 4} Exp: {0, 0, 0, 3, 4} +Out: {0, 0, 0, 3, 4} Exp: {0, 0, 0, 3, 5} +Out: {0, 0, 0, 3, 4} Exp: {0, 0, 0, 3, 6} +Out: {0, 0, 0, 3, 4} Exp: {0, 0, 0, 3, 7} +Out: {0, 0, 0, 3, 4} Exp: {0, 0, 0, 3, 8} +Out: {0, 0, 0, 3, 4} Exp: {0, 0, 0, 3, 9} +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 0, 1, 3} +Out: {0, 0, 0, 1, 2} Exp: {0, 0, 1, 1, 3} +Out: {0, 0, 0, 1, 2} + Exp: {0, 0, 1, 1, 3} +------------------ +Out: {0, 0, 1, 2, 3} Exp: {0, 0, 1, 2, 3} +Out: {0, 0, 1, 3, 4} Exp: {0, 0, 1, 3, 3} +Out: {0, 0, 1, 3, 4} Exp: {0, 0, 1, 3, 4} +Out: {0, 0, 1, 3, 4} Exp: {0, 0, 1, 3, 5} +Out: {0, 0, 1, 3, 4} Exp: {0, 0, 1, 3, 6} +Out: {0, 0, 1, 3, 4} Exp: {0, 0, 1, 3, 7} +Out: {0, 0, 1, 3, 4} Exp: {0, 0, 1, 3, 8} +Out: {0, 0, 1, 3, 4} Exp: {0, 0, 1, 3, 9} +Out: {0, 0, 0, 2, 3} Exp: {0, 0, 0, 2, 3} +Out: {0, 0, 1, 2, 3} Exp: {0, 0, 1, 2, 3} +Out: {0, 0, 0, 2, 3} Exp: {0, 0, 2, 2, 3} +Out: {0, 0, 0, 2, 3} + Exp: {0, 0, 2, 2, 3} +------------------ +Out: {0, 0, 2, 3, 4} Exp: {0, 0, 2, 3, 3} +Out: {0, 0, 2, 3, 4} Exp: {0, 0, 2, 3, 4} +Out: {0, 0, 2, 3, 4} Exp: {0, 0, 2, 3, 5} +Out: {0, 0, 2, 3, 4} Exp: {0, 0, 2, 3, 6} +Out: {0, 0, 2, 3, 4} Exp: {0, 0, 2, 3, 7} +Out: {0, 0, 2, 3, 4} Exp: {0, 0, 2, 3, 8} +Out: {0, 0, 2, 3, 4} Exp: {0, 0, 2, 3, 9} +Out: {0, 0, 0, 3, 4} Exp: {0, 0, 0, 3, 3} +Out: {0, 0, 1, 3, 4} Exp: {0, 0, 1, 3, 3} +Out: {0, 0, 2, 3, 4} Exp: {0, 0, 2, 3, 3} +Out: {0, 0, 0, 3, 4} Exp: {0, 0, 3, 3, 3} +Out: {0, 0, 0, 3, 4} + Exp: {0, 0, 3, 3, 3} +------------------ +Out: {0, 0, 0, 3, 4} Exp: {0, 0, 3, 3, 4} +Out: {0, 0, 0, 3, 4} + Exp: {0, 0, 3, 3, 4} +------------------ +Out: {0, 0, 0, 3, 4} Exp: {0, 0, 3, 3, 5} +Out: {0, 0, 0, 3, 4} + Exp: {0, 0, 3, 3, 5} |
