klimi
its fucked up
klimi
if you hotplug the xontroller
klimi
it iss not ps3 controller
klimi
if you plug it before start of the pc
klimi
its ps3
Thespartann
Oh
klimi
and you can work with xboxdrv to get it working
klimi
but
klimi
i just dont get it
Thespartann
klimi
it isnt that well documentated
klimi
no community at all
Thespartann
:(
klimi
oh i found examples
klimi
but
klimi
non for wheel
klimi
god dammit
klimi
@solooo7 yo~
Darvesh
@solooo7 yo~
Not here lol
klimi
klimi
Anonymous
Hi Bob
Anonymous
Show
@MTRIX0
Anyone have one line of logic to find the Armstrong number
@MTRIX0
Anyone from 4.4k members
Anonymous
What's Armstrong no
@MTRIX0
It is those number in which after calculating any number we'll get same number??
@MTRIX0
This is basically a Armstrong No
Anonymous
I think it is a number which discover arm strong
Anonymous
Wat
olli
a number is an amstrong number if it equals the sum of the cubes of all its digits
@MTRIX0
I think it is a number which discover arm strong
Hey it's not like that bro 😂😂
Anonymous
?
Yes bro, discover by Muslim ancient
@MTRIX0
Bt can u able to get simple logic of it
@MTRIX0
??
olli
Isn't that just for 3 digit Armstrong no?
0 is the first one 1 is the second one ... Independant of the size/lengh of the number
olli
Bt can u able to get simple logic of it
take each digit, compute the cube of it and sum them up. Compare the result to the original number
Anonymous
0 is the first one 1 is the second one ... Independant of the size/lengh of the number
I thought for a n digit no it's the sum of all digits (raised to the power n)
@MTRIX0
Yez
Then tell me what is it
Anonymous
Then tell me what is it
One with discover in arm strong scientist
@MTRIX0
Show me your logic Bt remember it should be in one line no multiple lines of codes
@MTRIX0
olli
I'm not joking bro Plzz
iirc there are only 6 such numbers... so it should be pretty straight forward?!
olli
so do e.g. return n == 0 || n == 1 || n == 153 || n == 370 || n == 371 || n == 407; ?
@MTRIX0
Yeah I know bt I'm asking about another logics that we r normally used in programs?
Anonymous
Ok
Anonymous
Use a different logic 2 hav a script..
@MTRIX0
Actually I'm confuse how can it tell you guys
@MTRIX0
😐😐
olli
Why do you need to do it in a single line?
Anonymous
👍👍
Anonymous
👎👎👎
@MTRIX0
Bcs everyone's using this lengthy process no one Though about simple logic and easy way to find it???
Anonymous
Yez???
Samuel
Bcs everyone's using this lengthy process no one Though about simple logic and easy way to find it???
you just want people to solve it for you, is this homework? You asked the same in the Python group
@MTRIX0
Hence I asked to all of you programmers
olli
Bcs everyone's using this lengthy process no one Though about simple logic and easy way to find it???
which lengthy process? the code aboive is O(1) - you can't get it any faster
Samuel
Hence I asked to all of you programmers
in the python group I sent you an answer with google results why do you keep asking?
Samuel
if you want something specific, then my guess is this is homework
Anonymous
All stupids
@MTRIX0
you just want people to solve it for you, is this homework? You asked the same in the Python group
Yes I agreed to you bt I'm only trying to get best ways to solve it
Samuel
now do it yourself
Anonymous
Welcome
@MTRIX0
And after all I'm talking about programming only not about stupid things
Samuel
whatever you say, man
Anonymous
No, this serious
@MTRIX0
Welcome
olli
Using python it is easy to do in a single line
Anonymous
How
klimi
Anyone from 4.4k members
IDK how many are real..... Since we added rose we have 203 users restricted
Anonymous
Anyone can tell me how to factorize number wick in c++??