₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,331,398 members, 8,450,139 topics. Date: Wednesday, 22 July 2026 at 08:34 PM

Toggle theme

Deicide's Posts

Nairaland ForumDeicide's ProfileDeicide's Posts

1 2 3 4 5 6 7 8 ... 10 11 12 13 14 15 16 17 18 (of 226 pages)

FoodRe: Red Apple Or Green Apple!.. by Deicide: 4:25pm On Jan 08, 2024
seconded
Timoleon:
Fufu
ProgrammingRe: Which Of These Two Laptops Is Better For Programming by Deicide: 3:23pm On Jan 06, 2024
The one with keyboard light, trust me wink
FamilyRe: Please Should Continue My Marriage Plan With Her After Hearing This? by Deicide: 3:19pm On Dec 27, 2023
Fake story
FashionRe: Why Do Women Do This? (Pic) by Deicide: 2:41pm On Dec 23, 2023
It's the same annoyance when they where outfit that shows their cleavages and when you stir they start adjusting making you look like a creep.
HealthRe: Fresh Coronavirus Outbreak Hit Benue, 25 Cases Reported by Deicide: 7:53am On Dec 13, 2023
Tor, it's not like Corona is serious anyways
EducationRe: Deeper Life High School Fees (photos) by Deicide: 2:24am On Dec 08, 2023
nawa o
ComputersRe: Ubuntu Linux by Deicide: 1:59pm On Dec 06, 2023
preciouswoman66:
Have anyone try using Windows USB modem with Wine in Linux?

You mind sharing your experience and how you did it? smiley
i dont even understand the question
Christianity EtcRe: Rhoda Jatau Languishes In Prison After Sharing Video Of Deborah Samuel Killing by Deicide: 9:23am On Dec 06, 2023
We would ever forget what they did to that girl Deborah
ProgrammingRe: What Is The Best API? by Deicide: 10:09am On Dec 05, 2023
Level 3 API
Christianity EtcRe: When A Guy Promised You Marriage Just Because Of Sex by Deicide: 10:09am On Dec 03, 2023
Most females go into relationship thinking they are wiser than the guy.
FoodRe: See Different Ways Plantain Can Be Enjoyed. (pictures) by Deicide: 5:54pm On Dec 02, 2023
The one way them roast nkor?
PoliticsRe: CBN To Freeze Bank Accounts Without BVN, NIN Starting April 2024 by Deicide: 10:47pm On Dec 01, 2023
This is a needed development. Someone can just open Opay account without providing BVN or NIN and they mostly use this type of account for fraud
Romance. by Deicide(op):
.
ProgrammingRe: [AOC December 2023] by Deicide(op):
Day 1: Trebuchet?!

Writing the solution of this one in Go cool
part 1
func Trebuchet(input string) int {
data, err := utils.ReadFile(input)
if err != nil {
fmt.Println(err)
}
sum := 0
v1 := strings.Split(data, "\n" )
for _, y := range v1 {
left := 0
right := len(y) - 1
ptr := 0
a := 0
b := 0
for ptr <= len(y) {
if y[left] >= 48 && y[left] <= 57 {
a = int(y[left] - 48)
} else {
left++
}
if y[right] >= 48 && y[right] <= 57 {
b = int(y[right] - 48)
} else {
right--
}
ptr++
}
v2, _ := strconv.ParseInt(fmt.Sprintf("%d%d", a, b), 10, 64)
sum += int(v2)
}
return sum
}


part 2
Just add a function to transform the input because it was tricky, I have to do stuff I am not proud of

func transform(word string) string {
word = strings.ReplaceAll(word, "twone", "21" )
word = strings.ReplaceAll(word, "eightwo", "82" )
word = strings.ReplaceAll(word, "nineight", "98" )
word = strings.ReplaceAll(word, "eightthree", "83" )
word = strings.ReplaceAll(word, "threeight", "38" )
word = strings.ReplaceAll(word, "fiveight", "58" )
word = strings.ReplaceAll(word, "nineight", "98" )
word = strings.ReplaceAll(word, "oneight", "18" )
word = strings.ReplaceAll(word, "sevenine", "79" )

v := []string{"one", "two", "three", "four", "five", "six", "seven", "eight", "nine"}
for x := range v {
word = strings.ReplaceAll(word, fmt.Sprintf("%d", x+1), v[x])
}
p := []string{"1", "2", "3", "4", "5", "6", "7", "8", "9"}
for x := range p {
word = strings.ReplaceAll(word, v[x], p[x])
}
return word
}
HealthRe: Nigerian Nurse Sacked & Deported From The UK For Praying For Patient by Deicide: 6:09pm On Nov 30, 2023
If Na so prayer day work you for no leave Nigeria
ProgrammingRe: Why I Think Animation Is A Better Career Path Compared To Software Development by Deicide: 4:14pm On Nov 29, 2023
I would have love Animation, but I don't have creativity in me
ProgrammingRe: Instead Of Wasting Your Time Learning Nonsense Type Script, Learn Python by Deicide: 2:12pm On Nov 29, 2023
PHP is the best
PhonesRe: Oraimo Freepods 4 Right Ear by Deicide: 11:34pm On Nov 28, 2023
micxwell:
On a call with the phone alone or with the earpiece connected to the phone?
Also, is it freepods 4 you're using??
with the earpiece connected. and yeah free pod 4
PhonesRe: Oraimo Freepods 4 Right Ear by Deicide: 9:31pm On Nov 28, 2023
You have any tip for the microphone, when am on call people always complain they don't here me
micxwell:
You're welcome.
PhonesRe: Oraimo Freepods 4 Right Ear by Deicide: 12:14pm On Nov 28, 2023
micxwell:
Rough up your accessibility menu is settings
thank you

Edited: Holy Bleep it works!!!
ProgrammingRe: Alx Or Uk by Deicide: 7:25pm On Nov 24, 2023
Wait o, what's up with this ALX that someone would even be considering this? Like WtF. How many successful people from ALX you know?
CrimeRe: Teenager Kills Mother's Boss Over Mobile Phone In Ondo by Deicide: 8:59pm On Nov 23, 2023
Boss probably sleeping with the mother
Programming[AOC December 2023] by Deicide(op):
I would be drooping my solution here, which would mostly be written in Golang (because I am learning the language) and Rust. Let's see how far I can go before Santa gets me smiley
RomanceRe: We Need To Stop Tolerating Some Bad Behaviors From This Female Genders by Deicide(op): 3:36pm On Nov 19, 2023
You should know better
1Sharon:
So you paid an olosho and she refused to come
RomanceRe: We Need To Stop Tolerating Some Bad Behaviors From This Female Genders by Deicide(op): 11:44am On Nov 19, 2023
What has that got to do with anything
Quality20:
But I tot u guys prefer girls with dirty ashewo vibes more than the good ones
RomanceWe Need To Stop Tolerating Some Bad Behaviors From This Female Genders by Deicide(op): 10:10am On Nov 19, 2023
I am talking about females that are above the age of 18, because they are no longer kids!

You and a guy that you have been seeing agree to go on a date, you agree on the date and where to meet up. The guy pays for your transport and arranges everything. Only for you not to show up? And even worst, you didn't call or text to say "oh I would not be able to make it for so so so reason.....". If you know you didn't have plans of meeting the guy, why agree in the first place? I know that plans can change mid-way and something might have come up, but to call or text is a problem? Sometimes the guy would even call just to check how far, hope this girl is ok? It is either they don't pick the phone or it doesn't go. It is only until the next day when you call her that she would start giving you bullshit excuses.

Guys, feel free to drop other bad behaviors that irritate you from this gender.
PhonesRe: Tecno - Jumia Black Friday Cashback Legit Or Not? by Deicide: 9:44am On Nov 19, 2023
Lol see as them carry their Agent pack full here grin
PhonesRe: Oraimo Freepods 4 Right Ear by Deicide: 7:40am On Nov 17, 2023
don that e no work i have also cleaned it also it's not working
Curdlebug:
Do a reset
PhonesRe: Oraimo Freepods 4 Right Ear by Deicide: 10:30pm On Nov 16, 2023
my own right ear day loud pass lēft ear
FoodRe: Dis Food Sweet Well Well- UK Diplomat Salivates On Kilishi by Deicide: 7:50pm On Nov 16, 2023
I hate this thing with passion

1 2 3 4 5 6 7 8 ... 10 11 12 13 14 15 16 17 18 (of 226 pages)