Turmacs's Posts
Nairaland Forum › Turmacs's Profile › Turmacs's Posts
1 2 3 4 5 6 7 8 9 10 (of 24 pages)
Nigerians can be very jealous people. |
Wait OP, you really expect somebody to read all these things you wrote up there? Haaa.. Anyway, i don't know who needs to hear this but if you have a friend that loves to eat head of chicken, head of goat, fish, or head of any meat in general, run from those types of people, i repeat, run from those types of people. A lot of the signs most of us take for granted and think that it actually doesn't mean anything are actually all you need to know the type of person somebody is. Any friend of yours wey go open eye dey eat head of animal, keep that kind friend at a safe distance. |
Mine was posting pictures of myself or anything related to my daily life on social media. He said he doesn't like those type of things. Even my birthday i don't post anymore ever since i met this boy, happy new month or new year i don't post, i can't even remember the last time i posted on my Whatsapp status I even had to change my profile pictures on all social media from my personal photos to something else. Chai, things we do for love ![]()
|
This is not mathematics section or education section you this idiot... Take this to the right section and stop disturbing us with this primary 6 work, mumu. This section is filled with ordinary web developers, non of them here know simple arithemetic. |
Lolzz. Seun papa should better go and do DNA test for Seun ohh, because that guy no resemble am at all. |
Xpol:no be only counterattack, na tiki taka. Even by the kind of jokes you make, i don know your iq Finnish. |
Xpol:look at the idiot that's calling me strong head. You can't just take corrections and shut up. human brain is superior yes, but you own brain isn't. |
Mumu, money miss road. You carry money go buy wetin you no understand. Starlink is unlimited data as long as you subscribe, mumu. Even if you like you 1e9 terabytes, as long as you subscription hasn't expired, nothing to worry about. Idiot. You think it's like fibre one abi spectranet, fool. |
obiekunie01:another idiot spotted. Read my last comment because you and the OP sickness get the same colour. |
between you and the AI i no know who mumu pass you ask questions like an idiot. Because if you actually worded that question like a sensible human being, the AI might have gotten it. Still on still, the AI is not wrong, you just don't having sense to see that. Even if you shoot one of the birds and the others run away, it doesn't matter if they remain there or fly away, no matter where they fly to, there will always still be 3 birds left. Are they dummy birds or live birds? How many branches does the tree have? Because they can still move to a different branch on that same tree. what is the size of the tree? e.t.c... lots of data and variables need to be considered before an answer is give out. Just like how the number of significant digits determine the precision of a number, the amount of data you give to the AI will determine the precision of the AI's answer. You just gave the AI a pixel of the whole picture and it gave you an answer according to your sense.Idiot. |
If you ever feel useless or stupid in life, just remember that Christian and Muslim people exist |
Guy's jokes aside, If you aren't rich or wealthy, hope you have a plan on how to become it? Because if you're just working a 9-5 like a zombie, without any plan on how you'll get out of the rat race and become a dollar millionaire, you're making a very big mistake, time dey go ohh. people wey dem born for 2006 now na 18 years ohh, hmm. |
You can also use chatgpt to convert the solution to any programming language you want so that you can understand it ![]() |
![]() |
xokol8:Solution coming soon ![]() |
President bola Ahmed Tinubu, the destinies of 200 Million Nigerians are in your hands, please do not let us down. |
Imagine. I weep for this zoo. Anyways, this is to remind those of you that any small fight or quarrel you have with somebody, you don rush go Carry weapon or rush dey threaten to kill the person. Let me just tell you that as you're killing the person, just make provisions to kill yourself too ohh, because if not, wetin your eye's go see for Nigerian prison ehh, i swear you will be begging for death sentence. It's better to be a dead man than to spend the rest of your life in a Nigerian Prison ohh, hmmm. |
People dey ohh, na wahh. Which kind of human being is this one now? Please find a way to lock up that idiot for life, because his freedom is a threat to that girl. |
imbless:I'm not surprised. Comments like these mostly come from children with poor parents who are jealous of children with rich parents. I'll hussle to make sure my children never have to work a day in their life, they will live to only do what makes them happy. Even if my child turn out to be the worst children a parent can have, I'm never giving my money to an outsider in the name of "charity", if my children can work to make their own money, the charity too can work to make their own money. I'd rather have my children squander my money than an outsider. Better stop being jealous of children with rich parents. |
Xpol:Yes. Especially if you're around and aware when your dog was in the process of killing the thief. But say you were not at home when it was happening, then nothing will happen to you. But if you decide to be as foolish as the dude in that video, recording instead of restricting the dog and subduing the thief and waiting for law enforcement to do their come do their job, and the guy ends up dying, na prison be your name. |
dragunov:Both christ and his father, and the holy spirit, infact all of them in that their useless trinity are bastard idiots and it will not be well with them and all the hosts of heaven, tell him i said so, he should do his worst. |
If you hate/don't know math, kindly close this thread now ![]() For those of you that hope to work at Hedge fund companies, Jane Street, Citadel or other trading firms, expect stuff's like these at your interviews ![]() If you can't solve it and would like to know how to solve it, kindly quote me so I'd know that somebody is interested in the solution and I would drop the solution with explanations here. Problem statement Let us call the Euclidean mean of a permutation P the value of the expression |P1 - 1| + |P2 - 2| +....+ |Pn - n|. As an example, for the permutation [1,2,3], the Euclidean mean is |1 - 1| + |2 - 2| + |3 - 3| = 0, and for the permutation [3,1,2], the Euclidean mean is |3 - 1| + |1 - 2| + |2 - 3| = 2 + 1 + 1 = 4. Given two whole numbers n and k, as inputs, Find a permutation P of length n such that it's Euclidean mean is equal to k, or report that no such permutation exists. A permutation of length n is an array of n distinct integers that contains integers from 1 to n in random order. For example [2,4,1,3] is a permutation of length 4, but [3,3,1] is not a permutation because 3 appears twice in the array, and [1,3,7] is also not a permutation because n = 3 but there is 7 in the array. Also note that |x - y| represents the absolute value of x - y. Input The first line consists of an integer t (1 ≤ t ≤ 104) ---- The number of test cases. The only line of each test case consists of two integers n and k (1 ≤ n ≤ 2⋅105, 0 ≤ k ≤ 1012), the length of the permutation and the required Euclidean mean. Output For each test case if no such permutation exits, output "No". Otherwise, in the first line, output "Yes", and in the second line, output n distinct integers P1,P2,…,Pn (1 ≤ pi ≤ n) ----- A suitable permutation.. If there are multiple solutions, you can output any of them. Example Input 8 3 4 4 5 7 0 5 16 8 14 112 777 5 12 5 2 Output Yes 3 1 2 No Yes 1 2 3 4 5 6 7 No Yes 8 2 3 4 5 6 1 7 No Yes 5 4 3 1 2 Yes 2 1 3 4 5 |
Toluwanise247:Let God of heaven go to hell, let him die there. Please pray for Nigeria to get better, because if that your dead God was alive, with all the useless servants he has on earth an in heaven, africa will not be like this because nobody loves that your idiotic God like africans. |
Toluwanise247:Jesus is a useless idiot, the son of an even more useless idiot. They are all part of the useless trinity including the bastard holy spirit. It will not be well with jesus and all the three bastards that are part of the nonsensical trinity. |
Sirchiboy:Your papa is part of the problems of this country |
Even adeboye would not choose himself over 10M. Na 30 pieces of silver them use buy him oga sef |
Oraclebet1:It's not peter Obi ohh.. |
Shomek:Solution posted 😒 |
Solution This problem is just basic math. if b ≤ a, then the answers is obviously n * a because it would be optimal for tensazangetsu20 to sell all the breads at a price of a naira each. But if b > a, then you have to consider 2 scenarios. Scenario 1 is when the difference between the promotional price b and the usual price a ( i.e (b-a)) is greater than or equal to the number of breads n, if that is the case, then since he will sell each of the i (from 1 to n) breads for b-i+1, as you go from bread 1 to bread n, you would notice that you get a arithmetic sequence that goes from b all the way to b-n-1. The first term of this sequence is b and the last term is b-n-1 and since b - a > n, it would ensure that as the sequence reduces as i increases from 1 all the way to n, the sequence will never be equal to a, the usual price of a bread. Then all you have to do is to find the sum of the arithmetic series from b all the way to b-n-1. That can be done with the formular - (n*(b+(b - (n-1))))/2, where n is the number of terms or in this case, the number of breads, b is the first term, and (b-(n-1)) is the last term. Scenario 2 is when b-a is less than the number of breads. In this case, as the sequence goes from 1 to n, at some point it's going to be equal to a , the usual price of the breads. More specifically, only the first b-a breads from 1 to n will be sold for b-i+1 naira each, the rest (n - (b-a)) breads will be sold at the usual price of a naira each. Because when you go from 1 to n, you get to a certain point where (b-i+1) starts to become less than the usual price a. Then all you do in this case is to use the formular (b-a * (b + (b - ( (b-a) - 1))))/2) to get the sum of prices of the first b-a breads, the the price of the rest (n-(b-a) becomes a*(n-(b-a)). When you add the two together, you get your answer. C++ Solution #include <iostream> Sorry for the long explanation. |
I even had to change my profile pictures on all social media from my personal photos to something else.
you ask questions like an idiot. Because if you actually worded that question like a sensible human being, the AI might have gotten it. Still on still, the AI is not wrong, you just don't having sense to see that. Even if you shoot one of the birds and the others run away, it doesn't matter if they remain there or fly away, no matter where they fly to, there will always still be 3 birds left. Are they dummy birds or live birds? How many branches does the tree have? Because they can still move to a different branch on that same tree. what is the size of the tree? e.t.c... lots of data and variables need to be considered before an answer is give out. Just like how the number of significant digits determine the precision of a number, the amount of data you give to the AI will determine the precision of the AI's answer. You just gave the AI a pixel of the whole picture and it gave you an answer according to your sense.