|
Sports › Re: See What Pep Guardiola Said On Ronaldo Winning EPL, La Liga And Serie A by Karleb(m): 11:38am On Jul 30, 2020 |
kenzysmith: when he arrive barca were they already laliga champions? When he arrive mancity were they epl champions? Yes. Yes. |
Sports › Re: See What Pep Guardiola Said On Ronaldo Winning EPL, La Liga And Serie A by Karleb(m): 7:50am On Jul 30, 2020 |
Tell me that manager that will not win league with Barcelona, Bayern and Man City?
Don't throw stones if you live in a glass house. |
Music/Radio › Re: 5 Proven Formulas To Making A Hit Song by Karleb(m): 7:04am On Jul 30, 2020 |
Asa album was a hit without these nonsense.
Just know what you're doing. |
Crime › Re: Three Women Arrested for Raping Pastor in Zimbabwe by Karleb(m): 6:59am On Jul 30, 2020 |
Let us cut their breast and shoot their v.igi.na. |
Programming › Re: Competitive Programming by Karleb(m): 6:54am On Jul 30, 2020 |
vheckthor1: I have done this before Post your answer here let's learn |
Programming › Re: Competitive Programming by Karleb(m): 4:02pm On Jul 29, 2020 |
How about this one?
|
Programming › Re: 6 Reasons Why Laravel Is The Way To Go by Karleb(m): 3:37pm On Jul 29, 2020 |
We don't hate any framework, we just love Laravel.  |
Programming › Re: Competitive Programming by Karleb(m): 3:35pm On Jul 29, 2020 |
DrLevi: if I got the question correctly then this should work. I can't guarantee efficiency or speed tho since I don't know algorithms terms like O[n2] or all that stuff
arr = [9, 11, 8, 5, 7, 10] def buy_and_sell(arr): sorted_arr = sorted(arr) buyAt = sorted_arr[0] slicedArr = arr[arr.index(buyAt): ] slicedArr.sort() sellAt = slicedArr[-1] return sellAt - buyAt print(buy_and_sell(arr))
 |
Programming › Re: Competitive Programming by Karleb(m): 2:57pm On Jul 29, 2020 |
clockwisereport: The aim of the problem is to make maximise profit.
You can decide to buy/sell on the day of your choice.
If you buy on the first day at 9 units and sell on the second day, you make a gain of 2 units.
if you buy on the second day and decide to sell on the subsequent days, you make a loss of 3, 6, 4 and 1 unit respectively.
If you buy on the third day at 8 units, you make a loss of 3 and 1 units on the 4th and 5th day and a gain of 2 units on the 6th day.
if you buy on the 4th day at 5 units, you make a gain of 2 and 5 units on the 5th and 6th day respectively.
if you buy on the 5th day at 7 units and sell on the 6th day, you make a gain of 3 units by selling in the 6th day.
As clearly seen, you make the highest gain when you buy on the 4th day at 5 units and sell on the 6th day at 10 units I duff my hat for you. You should take up the role of a lecturer!  |
Programming › Re: Competitive Programming by Karleb(m): 2:54pm On Jul 29, 2020 |
clockwisereport: This is clearly a DP problem.
i will post the solution when i charge my laptop I will be expecting it. I like the level of engagement on this thread. I guess I'll post another problem tomorrow. |
Programming › Re: Competitive Programming by Karleb(m): 7:40am On Jul 29, 2020 |
For those that love the challenge.
|
Programming › Re: Competitive Programming by Karleb(m): 7:29am On Jul 29, 2020 |
tensazangetsu20: The question looks weird. Why 5 and not 6. 11-5. Isn't the goal of selling stocks to get profit. Why not gain more profit. If I had this question the first thing I will do is to sort the array. Then I would loop through the array twice for every loop I will subtract the preceding number from the oncoming number and place that in a constant and return the highest number. The only problem with loops is the time complexity o(n). I believe your brute force approach will increase the time complexity to O(n2) since you are looping twice. |
Programming › Re: Competitive Programming by Karleb(m): 3:30am On Jul 29, 2020 |
Let's start with this
|
Romance › Re: Resurfaced: I Don't Love Him But This Is Happening, Advice Needed. by Karleb(m): 1:43am On Jul 29, 2020 |
cooooooks: I think it would be harsh to term this harassment because I don't think the lady knowingly led him on.
However, what the lady did is immature and what she has to do is insensitive but necessary.
I feel sorry for the guy and for the girls whose hearts he may break to recover. Please read your first paragraph again. Now read the OP again. As for the original poster, I just was to ask her a question. Op! Are you mad!!! |
Programming › Re: Pls Help.. I'm Losing Confidence In My Abilities by Karleb(m): 2:28am On Jul 28, 2020 |
Your problem is imposter syndrome. |
Phones › Re: What Powerbank Are You Using? by Karleb(m): 4:42pm On Jul 24, 2020 |
Jesus power!  |
Phones › Re: Here's Why You Can't Call Your Number From Your Phone by Karleb(m): 4:36pm On Jul 24, 2020 |
But I can dm myself on Twitter, care to explain?  |
Business › Re: Forex Trade Alerts: Season 20 by Karleb(m): 10:12am On Jul 24, 2020 |
Donvic4u: Which broker is this?? Xm for example have offer nano accounts where 1.00 equals 0.01 micro lots. |
Business › Re: Forex Trade Alerts: Season 20 by Karleb(m): 9:14am On Jul 24, 2020 |
Donvic4u: Lol... which lot should he trade again?
Or is there any lot lower than 0.01?
@shiffynaani join fisher trade edge group on telegram Yes.
We have 0.001
0.0001 |
Business › Re: Forex Trade Alerts: Season 20 by Karleb(m): 6:40am On Jul 24, 2020 |
Benqozenero:
See the small account size you have but see the number of trades you took because you are looking at peter  Learn money management first Are you minding the guy? You have $19 but you're trading mini lots. Some of these guys will never learn. |
Romance › Re: There Are 3 Persons I Want God To Punish For Me! by Karleb(m): 10:05pm On Jul 23, 2020 |
Deffjam: You all should stop advising gamblers we would never learn. when i was in year 1, i used all my school fees play virtual 40000 remain 1k, i just come down from the upstairs(betshop) buy nutri milk and minimi chin chin chop go house go dae contemplate sucide, thank GOD 4 my guy joseph when troway my snipper when i buy to drink. PS:THE Follow week i later won 32k,9k,5k and 3k to pay back my fees after 5days fasting (sounds funny but swear to GOD)
year 2 carry my lectura handout money(am the course rep) go play again, 20k enter water. Ever since then i don lost alot, but i go dae very sincer i still dae play up till now ..i still play today but lost 150 naira(anytime i go play normal booking ,i go just try my luck) max of 500 naira thats all. EUER SINCE I GRADUATED ,I LOST PASION FOR LIVEBETTING.
@op, relax i have seen people worst than you and they stopped playing it....NA ONLY PAPA J FIT DO AM JUST DAE PRAY....  So you bought last super with the remainder! |
Business › Re: Forex Trade Alerts: Season 20 by Karleb(m): 3:46pm On Jul 23, 2020 |
Things people hardly share on this thread:
1. Their type of account; whether real, demo or real-demo.
2. Their years of experience.
3. Their trading capital.
4. Their losing trades. |
Education › Re: Nigerian Man Shares How He Went From Having A 3rd Class From UI To A First Class by Karleb(m): 10:36am On Jul 23, 2020 |
Nigerian Universities are shiits. |
Romance › Re: I Beat My Wife Yesterday Again. I Can't Stop. Please Advise. by Karleb(m): 6:55am On Jul 23, 2020 |
ORIAYO70: You have a low self-esteem, so u think going physical with a weaker vessel could end any tussles among you...
Only a senseless man beat his wife, Be more cautious of urself.
When u want beat am u no seek help,after d deed is done u r seeking advise Please try to read before commenting |
European Football (EPL, UEFA, La Liga) › Re: Official Manchester United Fan Thread:''20 Times EPL Champion by Karleb(m): 10:33pm On Jul 22, 2020 |
Chrisus: I need a Leicester-Man U draw and a 1-0 win for Wolves  Let Adama do his thing. |
European Football (EPL, UEFA, La Liga) › Re: Official Chelsea Fan Thread: Club World Cup Champions 2025-2029 by Karleb(m): 9:01pm On Jul 22, 2020 |
|
European Football (EPL, UEFA, La Liga) › Re: Official Chelsea Fan Thread: Club World Cup Champions 2025-2029 by Karleb(m): 8:57pm On Jul 22, 2020 |
|
European Football (EPL, UEFA, La Liga) › Re: Official Manchester United Fan Thread:''20 Times EPL Champion by Karleb(m): 7:16pm On Jul 22, 2020 |
seankafor: Since United has decided to be benching ighalo despite his paycut..
They shall continue loosing games and possibly miss out on champions League..and so shall it be  No player is greater than the club. Although I believe ighalo isn't being fairly treated. |
|
Education › Re: Writing Jamb At Age 25. by Karleb(m): 12:56pm On Jul 22, 2020 |
|
Education › Re: Writing Jamb At Age 25. by Karleb(m): 8:16am On Jul 22, 2020 |
There are people way older than you in school.
Swallow your pride, ego and prepare for the jamb. |