Commit 572f0794 authored by Recolic Keghart's avatar Recolic Keghart 🎱

. why the previous fix doesn"t push...

parent 4eece65c
Pipeline #858 passed with stage
in 12 seconds
......@@ -11,11 +11,11 @@ using namespace std::literals;
// argument should be valid.
inline char basic_int_to_char(uint8_t i) {
constexpr auto ls = "0A23456789JQK";
constexpr auto ls = "xA234567890JQK";
return ls[i];
}
inline uint8_t basic_char_to_int(char c) {
constexpr auto ls {"0A23456789JQK"sv};
constexpr auto ls {"xA234567890JQK"sv};
return ls.find(c);
}
......
......@@ -9,10 +9,10 @@ else:
import itertools
def basic_char_to_int(ch):
ls = '0A23456789JQK'
ls = 'xA234567890JQK'
return ls.find(ch)
def basic_int_to_char(i):
ls = '0A23456789JQK'
ls = 'xA234567890JQK'
return ls[i]
def comb_exclude_border(ar):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment