Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jul 23rd, 2018
107
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.21 KB
| None
|
0
0
raw
download
clone
embed
print
report
int get_char_index(char c) {
if(c >= 'a' && c <= 'z')
return c-'a'+1;
if(c == ' ')
return 0;
if(c == 'å')
return 27;
if(c == 'ä')
return 28;
if(c == 'ö')
return 29;
return -1;
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 27 sec ago | 0.39 KB
fsm converter v1
Python | 20 min ago | 12.60 KB
Untitled
Python | 22 min ago | 0.26 KB
CCO Training Contest 4 Three Nodes
C++ | 24 min ago | 8.76 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 💰
GetText | 36 min ago | 0.38 KB
GPA Calculate
Python | 39 min ago | 3.50 KB
6
Python | 60 min ago | 0.20 KB
Luck Hub
Lua | 1 hour ago | 0.10 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!