Investment › Re: Rapid Depreciation Of The Naira - The Major Culprit Is Binan.ce by Karleb(m): 3:38pm On Feb 20, 2024 |
So why is same not happening to other currencies.
It's funny how APC blames everything but themselves. They are the real reason the naira is such a mess today.
Very incompetent lots. |
Politics › Re: Ohaneze Warns Igbo Not To Be Part Of The Hardship Protest In The Country by Karleb(m): 9:38am On Feb 20, 2024 |
When the bullets start flying, it won't be able to differentiate igbo from yoruba or hausa. If you love your life, stay in your house and chop eba. When there's life, there's hope. This rain should be a reminder to you that things won't be difficult forever.  |
Family › Re: How Can A Person Legitimately Sell His/her Kidney by Karleb(m): 7:18am On Feb 20, 2024 |
Go to doctors around you. Go to big hospitals too. Get a good lawyer too. |
Family › Re: If A Woman Has All She Desires In A Union Can She Remain Happy Forever by Karleb(m): 7:14am On Feb 20, 2024 |
That's when she'll start denying her husband sex. Just kidding.  |
Romance › Re: Men Over 33 Years Old Should Be Arrested by Karleb(m): 12:24am On Feb 20, 2024 |
With the current hardship, this is what you are thinking. Goodluck o.  |
|
|
|
Politics › Re: Nigeria’s Unemployment Rate Increased By 0.8% In Q3, 2023 by Karleb(m): 4:09pm On Feb 19, 2024 |
The only place you won't feel unemployment in Nigeria is Lagos, Abuja, Ibadan, Kano and some other cities.
Outside of this place, there's literally no job. |
Business › Re: My Experience After Serving My Oga For 7years Including My Gain And Loss by Karleb(m): 4:02pm On Feb 19, 2024 |
Sctests: You are a killer of destiny. Your type are the ones who go to people's shop to deceive their apprentices and lead them astray. I am sure you will even tell the apprentices to give you the money to keep for them. Evil.
The devil who seeks to kill, destroy and plunder.  I'm usually too busy to go around any man's shop for this but when I'm free, I will definitely go to Arena or Abule Egba to deceive a few. |
Business › Re: My Experience After Serving My Oga For 7years Including My Gain And Loss by Karleb(m): 1:41pm On Feb 19, 2024 |
Sctests: You advise is evil. Stealing from him would make him poorer. You don't know the 'Chi' of the boss and how it works. You may import goods with all that money and then they are all seized. And you back to ground zero.
You may stock your shop, all of a sudden, a fire starts in the market and every kobo is lost. There is a spiritual dimension in Igbo apprenticeship system. It is as deep as marrying a woman. Chi ko, key ni.  The master stole from him, he should have stolen from the master too |
Business › Re: My Experience After Serving My Oga For 7years Including My Gain And Loss by Karleb(m): 12:19pm On Feb 19, 2024 |
yewit37486: Self proclaimed thief.
I hope you are not one of the ones that complain about government? Na me be thief abi the oga that ripped his servant.  I said what I said. |
Business › Re: My Experience After Serving My Oga For 7years Including My Gain And Loss by Karleb(m): 8:14pm On Feb 18, 2024 |
weblord1900: Lol You're funny Whats funny there. The guy was practically managing the business. That was how one guy said he increased his boss' business by 20 million or so, and the guy gave him what could not stock up a shop. If he had stolen an accumulated sum of 5 or 7m over the years, the boss would still regard him as a good servant. |
Politics › Re: Are You Still Batified? by Karleb(m): 7:23pm On Feb 18, 2024 |
This thread is exactly why you should leave this people's country for them.
If you people are choosing to suffer, why should I be a part of it? |
Christianity Etc › Re: Can God Be Wicked To Allow This Hardship In Nigeria? by Karleb(m): 5:37pm On Feb 18, 2024 |
If I hear you blame God again, I will give you hot slap.
2027 is coming, you people will still vote Tinubu.
So keep shut and leave God alone. |
Business › Re: My Experience After Serving My Oga For 7years Including My Gain And Loss by Karleb(m): 5:24pm On Feb 18, 2024 |
You were dumb. Imagine if you had been stealing from him for 7 years, by now you wouldn't feel his betrayal. |
Romance › Re: How True Is This About Getting Married by Karleb(m): 10:16pm On Feb 17, 2024 |
The guy giving that advice is in UK.
If you don't want a life for yourself, why not. Listen to that and struggle till your old age like many of our older generations. |
Romance › Re: How I Work 3 Jobs To Earn ₦85,000 Every Month to take care of my Family (PHOTOS) by Karleb(m): 9:46pm On Feb 17, 2024 |
|
Programming › Re: Technical Interview by Karleb(m): 8:01am On Feb 17, 2024 |
airsaylongcome: Output from CHATGPT
Here's the corrected version of the code:
```cpp #include <iostream>
// Function to count the number of set bits (1s) in an unsigned integer unsigned int BitCount(unsigned int i) { int count = 0; while (i != 0) { if (i & 1) { // Changed | to & count++; } i >>= 1; } return count; }
// Function to sort an array by the number of set bits in the binary representation of each number void SortIntsByBitCount(unsigned int* intArray, int count) { for (int i = 0; i < count; i++) { // Changed <= to < for (int j = i + 1; j < count; j++) { // Changed <= to < if (BitCount(intArray[i]) > BitCount(intArray[j])) { // Fixed comparison and added missing parameter unsigned int temp = intArray[i]; intArray[i] = intArray[j]; intArray[j] = temp; } } } }
int main() { unsigned int array[] = {5, 3, 7, 1, 9}; // Example array int arraySize = sizeof(array) / sizeof(array[0]);
SortIntsByBitCount(array, arraySize);
// Output sorted array std::cout << "Sorted array: "; for (int i = 0; i < arraySize; i++) { std::cout << array[i] << " "; } std::cout << std::endl;
return 0; } ```
Changes made:
1. Corrected the bitwise OR (`|`) to a bitwise AND (`&`) in the `BitCount` function to properly count the number of set bits. 2. Fixed the missing curly braces and return statement in the `BitCount` function. 3. Fixed the loop conditions in the `SortIntsByBitCount` function to avoid going out of bounds and to properly compare elements. 4. Added missing parameter `intArray[j]` in the `BitCount` function call within the `SortIntsByBitCount` function. 5. Swapped elements correctly in the `SortIntsByBitCount` function when the number of set bits is different. Thank you. See as I embarrass myself up there.  It's important to run it and be sure it's giving the right result. CHATGPT solutions are sometimes wrong. |
Programming › Re: Technical Interview by Karleb(m): 12:49am On Feb 17, 2024 |
I may be wrong o but let me just tell you what I have seen so far.
The second loop should run to i and not count.
BitCount method is supposed to take in integer but in the usage, a boolean is being passed. It should be BitCount(intArray[i]) <= BitCount(intArray[j]).
I also think in the BitCount, i should be decremented like so i-- outside the if statement in the while loop so it doesn't loop forever.
I presume i>>=1 is the statement counting the bits, then it should be before the if statement and the count should be count += i.
Anyway, type that to CHATGPT and see what it gives. |
|
Politics › Re: WE ALL NEED TO WEAR RED NORTHERNERS PROTESTING ABOUT TINUBU BAD GOVT by Karleb(m): 11:17pm On Feb 16, 2024 |
I really don't pity this woman.
Some of these women treat their vaginas like toy. |
Politics › Re: WE ALL NEED TO WEAR RED NORTHERNERS PROTESTING ABOUT TINUBU BAD GOVT by Karleb(m): 11:15pm On Feb 16, 2024 |
Gjrich: If you have knowledge of advance fiscal and Monetary ECONOMICS, you will understand that the hardship in Nigeria is just starting. No sane country will float their currency as a national policy and remove subsidy in a sector like ENERGY at the same.
These two policies at the same time is like trying to conserve OXYGEN by holding someone’s noise tight hoping that the person can also breath through the anus.
On the issue of subsidy removal, Tinubu acted like a promiscuous Nigerian male undergraduate who simply rushed out to buy CONDOM and changed his bedsheets simply because someone told him that he sighted his girl friend in their neighborhood. No plan of the said girl friend's visiting initially. No consideration of whether the girl is in that neighborhood just to buy sanitary pads. Acting before planning at the extreme.
With time tissue paper may be sold at N12,000 per unit. Ph. Ph.D. or professorship can not guarantee the quality of economic advice or policy implementation. Subsidy that they have started paying quietly. They are paying paying more than Buhari was paying.  |
Politics › Re: Crackdown On "Hoarding" Will Frighten Investors - Peterside by Karleb(m): 7:42pm On Feb 16, 2024 |
Pikin get heache, rather than treating him they want to cut his head. Shior!  |
Travel › Re: Why Don't You Want To Jappa Despite The Condition Of Things?? by Karleb(m): 3:39pm On Feb 16, 2024 |
tensazangetsu20: Lol dey there. God created black people and went somewhere and started laughing  Reading this again.  Baba, you get bad mouth. |
Health › Re: Help! My Life Is Being Ruined At The Moment by Karleb(m): 3:22pm On Feb 16, 2024 |
Why didn't you use condom?  |
|
|
Properties › Re: Cement Price Surges To N15,000 In Abuja by Karleb(m): 1:59pm On Feb 16, 2024 |
nuelson2016: Most times the prices we see online & even hear on the Radio, is often not a true reflection of what it's truly on ground when you visit the Market.
That's how they kept shouting that a bag of rice was over 70k about 3 weeks ago.,only to go to the Market a week ago to see that's 63k.
Nevertheless the inflation is biting hard!!! You are right. Prices vary depending on the location. But if things continue the way they are, it will get there and even surpass it. |
Properties › Re: Cement Price Surges To N15,000 In Abuja by Karleb(m): 1:56pm On Feb 16, 2024 |
If you like yourself, better buy in bulk now.  |
Politics › Re: Petrol Subsidy Nears N1trn Monthly, Bigger Than When Tinubu Came - Businessday by Karleb(m): 11:38am On Feb 16, 2024 |
I can't laugh.  Chaos left and right. We don't even know which to address. |
Romance › Re: I'm No Longer A Nigerian by Karleb(m): 11:36am On Feb 16, 2024 |
Johnjustice: Nigeria is not shitty, you and your family are pieces of shit. We are different people don't think every Nigerian is living a shitty life as you.
Even a primary school kid knows in international trade what matters is interest, Nigeria have crude, we have cash and food crops, and a lot of natural resources, both mineral and solid, to offer, this is what nations need, they are not coming to live here, they are trading with us. Nigeria being shitty has nothing to do with it trading with partners.
Like I said, get a little education, and stop being an online miscreant with your block head...all the things you stated, no single sense... typical of a low IQ individual. We know you and your family are shitty, you didn't have to bring that to the internet.  Let me indulge you mr big IQ  , if you have to marry between a woman with big nyansh and big breast even fine face but no sense and another one with same or more endowment but great intelligence, whom would you choose? Based on precedence, I already know your answer here.  Venezuela has the highest crude oil deposit in the world but no serious country cares about them even though they are in the south of America because of bad leaders. Nigeria has this, Nigeria has that, then why is it the poverty capital of the world?  Whatever resource you think Nigeria has is inconsequential to what other countries with quality leaders and more resources have to offer. I'm going to sleep, wake me up when BRICS accept Nigeria. "Bola, on your mandate we shall stand"  |