Anonymous
what is it's complexity?
Anonymous
I know merge sort has a complexity nlogn
MilkBeforeCereal
MilkBeforeCereal
isn't that one of the slowest
MilkBeforeCereal
its worst case literally tends to infinity iirc
MilkBeforeCereal
🙅‍♀
it's literally called slow sort
Anonymous
its worst case literally tends to infinity iirc
yah we've to consider all cases
Anonymous
Talula
Most powerful is spaghetti sort.
What is spaghetti sort?
Anonymous
What is spaghetti sort?
he is lying there not
Ilya
he is lying there not
https://en.wikipedia.org/wiki/Spaghetti_sort
Anonymous
https://en.wikipedia.org/wiki/Spaghetti_sort
"requires parallel processor"
Talula
"requires parallel processor"
I think most computers these days have multiple cores.
Anonymous
I think most computers these days have multiple cores.
its only linear becuse of parallelism, the amount of work done still same
Ilya
which sorting technique is most powerful and faster ever made?
Actually there is no best sorting technique, each has pros and cons
Anonymous
Challenge; Deveop a program using c that allows user to enter n number of students Input Student number, name, course code and marks for three respective units (Maths, Computer, Physics). NB: Unit marks must not exceed 100. Output Format: ………………………………………………. Student No: ………. Student Name: ………... Units Maths: 75 Computer: 68 Physics: 70 Total Score: 213 Average Mark: ? Ranking: 1
klimi
C.
https://pastebin.com/ckSCMQrF Hey, guys! I was doing an assignement where I had to resize a given BMP image via argv. I could copy it, and resize the final width, but I wasn't able to do the same with its height, can someone help me out?
C.
It's the bitmap header file. It comes with the infos on how a .bmp archive is compressed.
Ilya
It's the bitmap header file. It comes with the infos on how a .bmp archive is compressed.
What is this library you use? C / C++ have no built-in bitmap processing so it must be one of libraries
C.
It only declares the data types and the structs in there. There is no functions for it.
Ilya
It only declares the data types and the structs in there. There is no functions for it.
I mean hardly anyone will be able to help you with this, nobody knows it
C.
:/ Yeah
C.
Okay, thank you for your time anyway.
Ilya
It only declares the data types and the structs in there. There is no functions for it.
Bitmaps have many formats, there are nuances. I would recommend using special libraries or OS API for such tasks
Anonymous
how to earn Bitcoin using canguage
András
Can I do smt like that auto temp = className(45);
C.
Bitmaps have many formats, there are nuances. I would recommend using special libraries or OS API for such tasks
Thanks for the tip. But I actually can't do that. The assignment said to do it with this library.
C.
Can I do smt like that auto temp = className(45);
How do auto actually work? It changes type all the time or it will "choose" a type at the declaration?
C.
Oh. Ok, thanks
aa
~) + ~) * * ~) + +) *) Can any one solve this using for loop
Anonymous
~) + ~) * * ~) + +) *) Can any one solve this using for loop
You've posted this same question with no proper explanation in two different groups now
aa
Yes. Bcoz I can't solve it. It's task.
aa
This is question which I get from my sir.
MilkBeforeCereal
MilkBeforeCereal
what's the point of the assignment then
MilkBeforeCereal
Yes I try
show what you did
MilkBeforeCereal
this question is really easy
MilkBeforeCereal
MilkBeforeCereal
MilkBeforeCereal
MilkBeforeCereal
cuz it seems so
MilkBeforeCereal
either way it's easy
MilkBeforeCereal
symbols
Anonymous
nice idea
MilkBeforeCereal
I thought they were cute faces
MilkBeforeCereal
literally why
Anonymous
This is question which I get from my sir.
really tricky one. I'm thinking how to solve this one
Anonymous
literally why
otherwise i cant see anything logical in pattern
MilkBeforeCereal
MilkBeforeCereal
you could do it with one probably, but it becomes a lot easier with 2 and I doubt there's any significant difference in cost
Anonymous
otherwise i cant see anything logical in pattern
print statement, there put conditions, for odd, even iteration variables 🤔
C.
you could do it with one probably, but it becomes a lot easier with 2 and I doubt there's any significant difference in cost
Only if you want a series with a limit of 1k+ symbols, then some cost difference might appear
Ludovic 'Archivist'
I don't understand you :)
In short, it is a pointer you will never delete after obtaining it. It is a pointer that is to be managed by either the program lifetime or the library that made it
Ludovic 'Archivist'
bubble sort is very expensive
Bubble sort is the best for 3 elements, is very good below 15 elements and very bad above that