Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,162,715 members, 7,851,453 topics. Date: Wednesday, 05 June 2024 at 07:33 PM

SqlPAIN's Posts

Nairaland Forum / SqlPAIN's Profile / SqlPAIN's Posts

(1) (2) (3) (4) (5) (of 5 pages)

Programming / Re: Can You Solve This Google Coding Interview Problem? (pics) by sqlPAIN: 11:10am On Dec 21, 2022
.
Programming / Re: Can You Solve This Google Coding Interview Problem? (pics) by sqlPAIN: 11:02am On Dec 21, 2022
I can't just wait for when chatGpt would get creative enough to start weeding you all out.
Nonsense
Programming / Re: Can You Solve This Google Coding Interview Problem? (pics) by sqlPAIN: 10:54am On Dec 21, 2022
Rubbish....... Simple tree problem they can't solve...If it's to be talking about react, vue,svelte, front-end and back-end,flex box,grid, django and all those fancy rubbishes, that's where you'll see all of them, claiming "tech guru's in the house"..Rubbish. But when it's time for real sh*t, they'll all vanish.. Ordinary websites all of you are developing, small thing you're shouting I'm In tech, I'm in tech. What tech. You think web dev is technology? Rubbish.....

2 Likes 1 Share

Programming / Re: Can You Solve This Google Coding Interview Problem? (pics) by sqlPAIN: 10:38am On Dec 21, 2022
Kaycee54321:


I really hope you're making a lot of money, TBH.
I don't care about money, money is not my problem. My father is wealthy, I am wealthy too. Unlike most of you mere web developers, my interest in coding was not because of money...
Programming / Re: Can You Solve This Google Coding Interview Problem? (pics) by sqlPAIN: 10:05am On Dec 21, 2022
while (!S[0].empty() && !S[1].empty())
{
auto w0 = *S[0].begin(); S[0].erase(S[0].begin());
auto w1 = *S[1].begin(); S[1].erase(S[1].begin());

int edgeCost = min(w0.first, w1.first);
edges.push_back((edge){w0.second, w1.second, edgeCost});

unite(w0.second, w1.second);

w0.first -= edgeCost;
w1.first -= edgeCost;

if (w0.first > 0) S[0].insert(w0);
if (w1.first > 0) S[1].insert(w1);
}

REP(i, N) if (i > 0)
if (color[i] != color[0] && find(i) != find(0))
{
unite(i, 0);
edges.push_back((edge){0, i, 0});
}
REP(i, N) if (color[i] != color[0] && find(i) == find(0))
{
REP(j, N) if (color[j] != color[i] && find(i) != find(j))
{
unite(i, j);
edges.push_back((edge){i, j, 0});
}
break;
}
for (auto e : edges)
cout << e.u + 1 << " " << e.v + 1 << " " << e.w << endl;
return 0;
}
Programming / Re: Can You Solve This Google Coding Interview Problem? (pics) by sqlPAIN: 9:55am On Dec 21, 2022
//Author- sqlPAIN
//C++
#include <bits/stdc++.h>
using namespace std;

typedef long long int64;
#define endl &#39;\n&#39;
#define SZ(c) ((int)(c).size())
#define ALL(c) (c).begin(), (c).end()
#define REP(I, n) for (int I = 0; I<(int)n; ++i)
const int
MAXN = 1 << 17;
int N;

multiset< pair<int, int >> S[2];
int data[MAXN];

int find (int x)
{
return (data[x] < 0) ? X : data[X] = find(data[X]);
}
int getSize(int x)
{
return -data[ find(X) ];
}
void unlite(int u, int v)
{
u=find(u);
v=find(v);
if (u==v) return;
if (getSize(u) < getSize(v))
swap(u,v);
data[u] +=data[v];
data[v] = u;
}
strict edge
{
int u,v,w;
};
vector<edge> edges;
int color [MAXN];
int main()
{
ios::sync_with_stdio(0);
member(data, -1, sizeof(data));
cin>> N;
REP(i, N)
{

int c, w;
cin>>c>>w;

color[i] =c;

if (w>0)
S[c].insert(make_pair(w,i));

}
Programming / Re: Can You Solve This Google Coding Interview Problem? (pics) by sqlPAIN: 9:04am On Dec 21, 2022
tensazangetsu20:


Mr google developer please solve it let others learn. No need bringing others down. You guys in this section are so proud for people still learning hello world. Don't worry time will teach you all great lessons. Even the greatest competitive programmers aren't as condescending as a lot of you act on this section.
mehn shut ur trap and go and sit down... You can't solve it be say you can solve it, rubbish. this is light years out of your league, you're not a real programmer, your just an ordinary web dev,period!!!so Bleep of and go continue with react,vue, CSS and the likes.... Learning hello world? Lolzzz

3 Likes

Programming / Re: Can You Solve This Google Coding Interview Problem? (pics) by sqlPAIN: 8:30am On Dec 21, 2022
.
Politics / Re: Video Of The Soon To Be Completed J Randle Centre In Lagos by sqlPAIN: 8:24am On Dec 21, 2022
I'm not happy.
Romance / Re: Cute Pictures Of IG Slayqueens by sqlPAIN: 11:33am On Dec 19, 2022
Ok
Sports / Why Is No One Talking About Argentina's Goal Keeper by sqlPAIN: 10:31am On Dec 19, 2022
It's seems everyone has forgotten about the guy and are just shouting messi messi!!!!! But anyone who watched that match would know that if not for the keepers brilliance In the last minutes of extra time, France would have won that match..... To me he's the saviour of Argentina for this world cup because Argentinian defence of was just a disaster...Dude helped their lives in all their penalty shootout's.. And I think he deserves some if not most of the credit too.
Sports / Re: EA Sports Have Predicted Argentina To Win The World Cup by sqlPAIN: 9:23pm On Dec 18, 2022
emmabest2000:
It will be more easier for a camel to pass through the eye of a niddle than for toothless Argentina team to win this coming WORLD CUP
How far naa ?

4 Likes

Computers / Re: Can My Laptop Handle Gta V With These Specs? by sqlPAIN: 9:18pm On Dec 18, 2022
You just want to fry that laptop... You want to turn it to an electric cooker because the kind heat wey go dey commot from that lappy go fit cook beans grin......I7 2nd gen with 8gb ddr3 ram? I laugh in Spanish... Even me wey get 7th gen i3 with 16gb ddr4 ram dey avoid the game(although it can run it) grin
Politics / Re: Doyin Okupe Debunks Rumours That He Has Defected To The PDP. by sqlPAIN: 8:22pm On Dec 18, 2022
I've fûcked lots of ladies, I've eaten lots of food, I've traveled to lots of countries but non, and I mean non has ever gotten me as excited as I am tonight, seeing messi finally lift the World cup......

Congratulations, GOAT

24 Likes

Sports / Re: Argentina vs France : Qatar 2022 FIFA World Cup Finals (4 - 2)pens On 18/12/22 by sqlPAIN: 6:34pm On Dec 18, 2022
As e dey pain dem, E dey sweet us, as E dey sweet us Omo e dey pain dem grin
Who is your Goat again?
Sports / Re: Argentina vs France : Qatar 2022 FIFA World Cup Finals (4 - 2)pens On 18/12/22 by sqlPAIN: 6:32pm On Dec 18, 2022
prinsam30:
wetin VAR dey check sef
I swear i no understand
Sports / Re: Argentina vs France : Qatar 2022 FIFA World Cup Finals (4 - 2)pens On 18/12/22 by sqlPAIN: 5:59pm On Dec 18, 2022
I swear thhis coach is a very big idiot for removing di Maria and putting that bag of rice called acuna.. The whole atmosphere of this match has changed...france don start to press Argentina... I don't like the way this match is going..That coach is a idiot... If them lose this match him mama must die before the end if this week.. Rubbish

4 Likes 3 Shares

Romance / My Dad's Immediate Younger Sister Is Trying To Seduce Me. Please I Need Advice by sqlPAIN: 12:50pm On Dec 18, 2022
She's married with two Male kids but has been divorced for almost four years now and is now staying with her little children in my father's (her brother) house in the village.

Normally every December, me and my family do travel home but this time, my parents and siblings refused to travel as a result of what's happening in the East but I travelled never the less and ever since I got here, It has been from one sexual temptation to another.

This lady is almost 40 but if you see her, with the way she looks and how endowed she is, youll think she's 25-27...I'm seriously trying to avoid this lady but we're the only one's in this big house and it's really difficult to avoid her, she's the one who cooks for both of us....

She's be trying to seduce me into having sex with her for countless times now and even a kid can tell she knows what she's doing...

Last night I was watching some world cup highlights in the sitting room when she just came all of a sudden with only a towel that was just covering half of her laps, and came to sit besides me asking me if I have a girlfriend, asking me if I use a condom while gave sex with her (can you imagine question), telling me all sorts of nonsense about safe sex all while stylishly making some seductive body contact, and I was shirtless.

At some point I had to leave the sitting room for her because my pen*s was visibly erected and I know she saw it. One time she came to my room while I was watching movies with my laptop on my bed in the guise of bringing me my food, Oyo drop food and go, aunty drop food come lye down for bed with me asking me why I like to to watch oyinbo film too much (in Igbo), with ordinary wrapper and no underwear ohh...I just don't know what to do because I feel it's just a Matter of time before I am forced to sex this lady and I'm not the churchy type......

I've even masturbated with the thought of having sex with her just to try and call my hormones but omo, it seems I might end up leaving this place earlier than expected or fûcking the living day light out of her...God abeg ohh..
Programming / Re: Chatgpt, The AI That Can Answer Any Question by sqlPAIN: 8:36pm On Dec 05, 2022
Lolzzz, like someone here said, this is just an upgraded form of web browsing. doesn't freak me or feel new to me at all..There's no result you get from that "chatbot" that you can't get from Google, nothing. I even feel like it just copies answers from google and paste, just tweaks a few words here and ther...And those of you saying it can generate code Lolzzz grin azin, Lollzzzz grin Tell it to generate the code that solves this grin Given an array X, make non-overlapping partitions of X, such that for every x in X, X is an element of one partition of X.... If it can generate that, then I can begin to freak out. If not, 4uck off, I've got work to do. Telling chat bot to generate something you can easily find on Google...mthewww rubbish
Religion / My Hypothesis About The Universe. I Might Write A Book About This In The Future by sqlPAIN: 4:06pm On Dec 03, 2022
I was not sure where to post this, but I thought this section would be befitting because my hypothesis would attract more religious oppositions than any other.

The hypothesis

Everything in this universe makes sense because "Forever" does not exist.

We live? -> We can't live forever because "Forever" does not exist and that is why we die
We die? -> We can't die or stay dead forever because "Forever" does not exist and that is why we live( this makes the thought of living with God in paradise "Forever" and the whole idea of religion seem like fallacy to me)

Even a computer programme that is set to count from one to infinity can not count forever because "forever" is not in the dictionary of our universe, even the universe itself, can't live forever because forever does not exist.

Everything in the universe and I mean everything, that has a beginning, is bound to have an end. And everything that has an end surely is bound to have a new beginning because it can't stay ended forever...
Politics / Mathematicians, Please Help Me Answer The Question About Sets by sqlPAIN: 6:10pm On Dec 02, 2022
given two sets A= {x|x E [b]R[/b]and 0< x <= 2}
B= {1,2}

Determine whether each pair of sets is equal...

For some unbelievable reasons, I failed this question and I just want to know how and why i failed it

Please help me show small explanation of your answer

Thanks
Programming / Some Of You Disgust Me by sqlPAIN: 12:12pm On Oct 23, 2022
Weakness of any kind completely revolts me, and a weak web developer disgusts me even more.

Owing to my last post, most of you "mere web developers" decided to crawl out of your caves to exhibit or display your gross insecurities. Most of you on this forum are just too full of shît for my liking.

I never insulted anyone in that post, but you all took turns Insulting yourselves.

I never said I was better than anyone because I use C++, but some of you said I am one of those thinks I'm better than others because I use C++

I never said C++ was a difficult language to learn or a language meant for only smart people, but some of you started telling me about their years of experience with C++ before porting to web development and what not? Those Kind of comments that wreaks of insecurity.

Look, the truth is, majority of you on this section aren't even programmers to start with, not to talk of mere web developers just a bunch insecure dunces with lots of time to play with so I wouldn't even waste my time with any of you. Because if this section were filled with programmers, every post on this section would come would come in like 2-3 days subsequent to the last. Because how can you call yourselves "devs" or "gurus" and y'all are always tf online typing one stupid shît or the other on nairaland? Anyways, I don't have time to waste on frivolities if not I'd have taken my time to answer to the numerous mentions I got from the last post. so I'll be taking my leave now. And ohh, I am better than you all because when it comes to anything that has to do with competitive programming, I'll totally molest and violate most of you.

PEACE

#include <iostream>

Int main() {
std::cout<<"sqlPAIN"<<std::endl;
}
Programming / Re: Aren't There Any C++ Devs On This Section Or Programmers That Do Complex Stuff? by sqlPAIN: 11:51am On Oct 17, 2022
.

1 Like

Programming / Aren't There Any C++ Devs On This Section Or Programmers That Do Complex Stuff? by sqlPAIN: 10:14am On Oct 17, 2022
I barely see any real programmers on this section. majority of the people who call themselves programmers on this section are mostly mere web developers or data analysts. I barely see peeps talk about low level programming languages, or even talk about any other field in tech apart from web development.


sqlPAIN

3 Likes 1 Share

(1) (2) (3) (4) (5) (of 5 pages)

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 48
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.