ChanServ changed the topic of #lowempire to: Low Level Empire | This channel was created for Algorithms, Compilers, OS, Hardware, CS theory stuff (low-level) | be patient, polite | don't do off top | Ask your question | Paste your codes/long texts https://paste.debian.net/ or "echo just testing! | nc termbin.com 9999" | Logs: https://freenode.irclog.whitequark.org/lowempire
ascii has joined #lowempire
manjaro-user_ has joined #lowempire
<manjaro-user_> test
<manjaro-user_> lucid
suskun has joined #lowempire
<suskun> salamlar
<manjaro-user_> salam :)
<suskun> necesiz
<suskun> dostlar
<suskun> xakerlerin qorxulu yuxusu gelib burdadir
<manjaro-user_> o bir ara tema var idi dosiler necesiz lap ona oxsadiye lucid :D :D
<suskun> ruslar partladirda
<suskun> hemise etaga
<suskun> kash bizde de bele temalar olardi
<manjaro-user_> onlar ejdadair
<manjaro-user_> nedirki baxim
<suskun> manjaro-user: ahahahah salam dostlar necesiz :-D
<manjaro-user_> ruslar coxdur deye heryerde bir sey edirelr :)
<manjaro-user_> ruslara heyranamda men ))
<manjaro-user_> cox dobri insanlar olmur bezen ama gordukleri isler teqdire layiqdir
suskun13 has joined #lowempire
<suskun13> he
<suskun13> bizden
<suskun13> zehleleri
<suskun13> gedir
<suskun13> ancaq
<suskun13> qeseng isler gorurler
<suskun13> cox
<suskun13> habrahabr ozu ele
suskun has quit [Ping timeout: 245 seconds]
<manjaro-user_> hetta bize bir soz deyirler yadimdan ciixb deyerem
<manjaro-user_> qara deyirler bize ))deiyesen
<manjaro-user_> xoslamirlar, ama aralainrda var da indi bir ikis :D
<suskun13> qizlari cox sevir bizi :-D kisileri yox
<suskun13> kisileri sevmesede olar :-D
<manjaro-user_> mellim sen codility MaxCounters elememisen ? burda sualli men oxuyuram diyesen sehv basa dusurem, sen ingilis dilini yaxsi bilirsen gor tercumesi ne verir onun :D
<manjaro-user_> qizlari sen ol he eledir ordan dostlarim var idi qizlar
<suskun13> qoy baxim ona
<manjaro-user_> meni cox istiyirdi eh gunler aglim olmadi zad :D
<manjaro-user_> indi bir sefirlikde isleyir bir olkede ))
<manjaro-user_> tutuzduram ama itirem ortada sen yazmamisan bax gor
<manjaro-user_> max counter − all counters are set to the maximum value of any counter. = >bir budu mellim
<manjaro-user_> birde esas budur :
<manjaro-user_> increase(X) − counter X is increased by 1,
<manjaro-user_> burda bilirsen necedir mesele, sen teze array duzeltmelisen 5 olcude ilkde onlarin valiusu 0 olur
<manjaro-user_> [0,0,0,0,0] bax bele
<manjaro-user_> sonra hemin sene verilen A = [3,4,4,6,1,4,4] arrayin icinde gezerek o birinici duzeltyin arrayin ededlerini increment etmelisen
<suskun13> aha
<suskun13> For example, given integer N = 5 and array A such that: A[0] = 3 A[1] = 4 A[2] = 4
<suskun13> bax bu ilkdir
<suskun13> sen bele baslayanda
<suskun13> senin arrayin bele olurda
<suskun13> meselen birincide
<suskun13> A[0] = 3dur
<suskun13> sen 3cu elementi
<manjaro-user_> aha birinci 3dur
<suskun13> 1 defe artirirsan
<suskun13> counteri
<suskun13> (0, 0, 1, 0, 0)
<suskun13> olur bele
<suskun13> duzdu?
<manjaro-user_> bes onu nece bilirsen ki bir defe artmalidir
<manjaro-user_> aha
<suskun13> sonra
<suskun13> (0, 0, 1, 1, 0)
<suskun13> A[1] = 4
<suskun13> olduguna gore
<manjaro-user_> yes bax o nece yuxaridaki options-a gore ele olur
<suskun13> 1 artdi
<suskun13> 4cu element
<suskun13> aha
<suskun13> A[3] = 6
<suskun13> burda ise
<suskun13> if A[K] = N + 1 then operation K is max counter.
<suskun13> uje bu casedir
<manjaro-user_> en max dir 6 ona gore hamis artiq
<manjaro-user_> a diyane
<suskun13> tutdum
<suskun13> bunu nece yazmaq
<suskun13> olar
<suskun13> :-D
<suskun13> deyim?
<manjaro-user_> heqqi mezleenmde bunu tutmadim biz bura 1 nece qoyduq (0, 0, 1, 0, 0)
<manjaro-user_> bax bura
<suskun13> hara?
<suskun13> birincide
<manjaro-user_> n=5 dir bax
<manjaro-user_> 6 yuksek oldugu iicn arrayda
<manjaro-user_> ona gore hamsi artir bir eded
<manjaro-user_> dunenden elelsirem bunun ustunde :D
<suskun13> sen hansini deirsen
<suskun13> men tutmadime
<suskun13> (0, 0, 1, 0, 0)
<manjaro-user_> if A[K] = N + 1 bu case bir defe odenecek
<suskun13> bunu deirsen nece artdi?
<manjaro-user_> hee bax
<manjaro-user_> o
<suskun13> if A[K] = X, such that 1 ≤ X ≤ N, then operation K is increase(X),
<suskun13> bax buna
<suskun13> increase(X) − counter X is increased by 1,
<suskun13> A[0] = 3
<manjaro-user_> aha
<suskun13> (0, 0, 1, 0, 0)
<manjaro-user_> yox 2 inci indexe oldugunu tuta bilmedim
<suskun13> burda K keydi
<manjaro-user_> 2 inci indexe nece qoyduq onu
<manjaro-user_> 3-1 cixdiq?
<suskun13> deyirde
<suskun13> increased by 1
<suskun13> 3-1 niye?
<manjaro-user_> bildim orasini bax (0, 0, 1, 0, 0) burda bir 2 inci index-dedir duzdur
<suskun13> 0, 0, 1 <--- bu uje 3cu counterdide
<suskun13> 2 deyil
<suskun13> 3du
<suskun13> 1den baslayir axi
<manjaro-user_> he 1-den baslayir indexi
<suskun13> 1 ≤ X ≤ N
<manjaro-user_> a eledirse
<suskun13> serte bax
<manjaro-user_> aaa
<suskun13> 1-den boyuk ve ya beraber
<manjaro-user_> ay icine behmezzz
<manjaro-user_> onun
<suskun13> N-den kicik
<manjaro-user_> pox olsun
<manjaro-user_> :D
<suskun13> :-D
<manjaro-user_> hee indi tutudum
<manjaro-user_> etaga mende deyirem o nece olur :D
<suskun13> heeee
<manjaro-user_> he mence hamsida ona uygun gedcek he onda
<suskun13> birdene birinci fill edeceksen arrayi sonra ustunde emeliyyat aparacagsan
<suskun13> birdefe fill et sonra emeliyyat apar
<manjaro-user_> fill edim 0-larla
<suskun13> elede ede bilersen
<manjaro-user_> gozde yazim bu variantla gorum
<suskun13> mende birdene bele sayt acacem. etaga :-D
<suskun13> competetion
<manjaro-user_> :D tuttar ama deyim sene
<manjaro-user_> )) cox laizmli birseydir
<suskun13> birdene task var
<suskun13> ora qoyaram
<suskun13> gozle atim sene bax
<manjaro-user_> e olymp
<suskun13> yox ozum
<manjaro-user_> vare bax oda qeseydir
<suskun13> yazmisam
<suskun13> o taski
<manjaro-user_> bu taski?
<suskun13> 2016-da
<manjaro-user_> aaa
<manjaro-user_> he
<suskun13> yox
<manjaro-user_> okey
<suskun13> taskin ozunu
<suskun13> gozle
<suskun13> atim
<manjaro-user_> bildim
<suskun13> bax
<suskun13> :-D
<manjaro-user_> task neden ibaretdir mellim?
<suskun13> demeli
<suskun13> task budur ki
<suskun13> userinput = 322^pow
<suskun13> gorursen bunu
<suskun13> pow-dan birdene deyer gelir
<manjaro-user_> bunu belke veresen bulara ))
<manjaro-user_> aha
<suskun13> Turala denen
<suskun13> qosulsun bura :-D
<suskun13> amma bruteforce zad yoxa
<manjaro-user_> gozde cagirim
<suskun13> mene math helli lazimdir
<suskun13> userinput = 322^pow
<suskun13> burda 322 vare
<suskun13> onun yerine ele bir deyer yazmalisan ki
<suskun13> sonda 0xdeadbeefe
<suskun13> beraber olsun
<manjaro-user_> onda pow hansi eded gelmeldirki onaberabare olsun he
<suskun13> pow statik ededdir
<manjaro-user_> mellim bu taski biraz da izah ele ver bize yazadqda bunu
<suskun13> birdene
<manjaro-user_> :D
<suskun13> riyazi hesablama ile
<suskun13> yazmisam
<suskun13> powun deyeri budur = 4325376
<suskun13> bax
<suskun13> userinput = 322 ^ pow
<suskun13> burda da 322 ile pow XOR olur
<suskun13> sonda bir netice cixir
<suskun13> amma o netice
<suskun13> 0xdeadbeefe
<suskun13> beraber deil
<suskun13> 0xdeadbeef = 3735928559
<suskun13> burda userinput = 322 ^ pow yazmisama
<suskun13> orda XOR emeliyyati olmayada
<suskun13> biler
<suskun13> orda meselen
<suskun13> quvvet ola biler
<suskun13> mene konkret riyazi usulu lazimdir ki
<suskun13> nece generasiya ede bilersen bunu
<ascii> salamlar.. Mellim bele basha dushdumki sen neticeni XOR-nan yox riyazi yolla almag isdirsen?
<suskun13> orda
<suskun13> bax meselen bele ola biler
<suskun13> userinput = X * pow
<suskun13> X i tapmalisan ki pow-a vuranda 0xdeadbeef alasan
<suskun13> amma gedib bolme etmede :-D
<suskun13> 0xdeadbeef/pow etme
<manjaro-user_> :D
<ascii> :DDDDDD
<suskun13> orda dedihyim kimi
<suskun13> cox riyazi emeliyyat ola biler
<suskun13> vurma olmayada biler
<ascii> bildim yeni sene riyazi dustur kimi lazimdida)
<manjaro-user_> bunun riyazi heli varda
<suskun13> aha
<suskun13> kind of
<suskun13> olada biler olmayada biler
<suskun13> :-D
<suskun13> mene konkret onun qaydasini deyin ki
<suskun13> bu seynen etsen
<suskun13> hell edib cavabi ala bilersen
<manjaro-user_> prosta tapmaq laizmdir :
<manjaro-user_> bunu hardasa veribler ya nece sen hazirlamisan bu suali
<suskun13> yox
<suskun13> men ozum yazmisam
<suskun13> bunu
<manjaro-user_> hardan bura XOR -la gelmisen :)
<suskun13> riyaziyyatci vaxtimda:-D
<suskun13> XORu elebele qoymusam ora
<suskun13> & da ola biler
<suskun13> meselen bax bele birseyde ola biler
<suskun13> gozle birinide yazim verim
<suskun13> o biraz asan ola biler
<ascii> sen men bele basha dusdum bitwise-i riyaziyatdan yaxshi bilirsen :DDD
<manjaro-user_> )))
<suskun13> (z % 4) + 3 * (f / 2) > z - f
<manjaro-user_> bitwise-la riyazdi sindiriran vaxlarim
<suskun13> burda mene f ile z nin deyerini tapin :-D
<suskun13> z ve f-e ele bir deyer qoyum ki
<suskun13> sirf bu model prove olsun
<suskun13> ve bele caseler cox ola bilerde
<suskun13> usaglar
<suskun13> ola biler nese riyazi usul olsun
<suskun13> amma herdefe size bele case verende
<suskun13> mene riyazi usul generasiya etmeyinde
<suskun13> suretli usul lazimdir
<suskun13> :-D
<suskun13> cunki her dusturun istifade etdiyi operatorlar ferqlidir
<suskun13> meselen quvvetin eksini
<suskun13> loqarithma ile taparsan
<suskun13> ancaq ola bilerki quvvet olmasinda
<suskun13> yeni modelde
<suskun13> amma men size inequality verirem siz onun mene konkret predicted deyerlerini verirsiz
<suskun13> esas mesele budur
<ascii> mellim sebirli ol, buda bizdeki qiz riyaziyyat mellimidi, indi onnan sorushacam :DD
<suskun13> qaqas
<suskun13> riyaziyyat mellimi yoxe :-D
<suskun13> isteyir professor gelsin
<suskun13> bunu hell ede bilmez :-D
<suskun13> Azerbaycanda
<suskun13> :-D
<manjaro-user_> :D o qeder mi mellim
<suskun13> dusturun neticesi lazim deile mene
<suskun13> onu bele vurub bolub ala bilersen
<suskun13> men size herdefe
<suskun13> dinamik dustur verecem
<ascii> :DDDDDD
<suskun13> elebil
<suskun13> size model verecem
<suskun13> herdefe
<suskun13> siz o modeli yazdiginniz koda salacagsiz
<suskun13> ordaki inequalityni hesablayacafgsiz
<suskun13> yeni dustur birdene deyil
<suskun13> ferqli ferqlide ola biler
<manjaro-user_> mellim asmaq isiyirsen bizi
<manjaro-user_> yoxsa ouzmuzu ataq binadan asagi :D
<ascii> oy blyaaaa bildim he,sen bunu database ucun isdirsen he modellerdeki riyazi emeliyyatlari optimizatsiya ucun
<suskun13> meselen
<suskun13> bele bir model verecem
<suskun13> deyecem
<suskun13> burda x ve yin deyerini tapin
<suskun13> mene
<suskun13> :-D
<suskun13> ki
<suskun13> men
<suskun13> sin(x)^3 yazanda
<suskun13> (sin(x)^3) hesablamasi
<ascii> alaaa melliim men omrumde ele dustur gormemishem e :DDDDD
<suskun13> bu verdiyim modelin outputuna beraber
<suskun13> olsun
<manjaro-user_> :D :D
<suskun13> ahahahaha
<suskun13> x ve y-da natural ededlerdi
<suskun13> oturun tapin :-D
<suskun13> sorry real ededlerdi x ve y
<suskun13> rasionalda ola biler irrasionalda ola biler ferqi yoxdur
<suskun13> naturalda ola biler
<suskun13> ferqi yoxdur
<suskun13> bunu hell edene
<suskun13> ovaxt
<suskun13> prize qoymusdum
<suskun13> :-D
<suskun13> indide qoya bilerem
ascii has quit [Remote host closed the connection]
<suskun13> ascii cixdi getdi :-D
ascii has joined #lowempire
<suskun13> hell olundu?
<ascii> mellim menc dusturu basha dushmedim e qaldiki hell :DDD
<suskun13> :-D :-D
<suskun13> dusturu example atdime
<suskun13> orda hersey ola biler
<suskun13> brat
<ascii> sen ne yeyib icirsen??
<ascii> :DDDD
<suskun13> exp = int(round(log2(0xdeadbeef),0))
<suskun13> bax burda
<suskun13> 0xdeadbeef yazmisame
<suskun13> burda y-daola biler
<suskun13> exp = int(round(log2(y),0))
<suskun13> meselen bele
<suskun13> sonra sene gelib deyecem ki y inda deyerini tap
<suskun13> ahahahah :-D
<ascii> mende lom kimi uzuve baxacam :DDDDDD
<suskun13> birdene
<suskun13> alqoritm competetion
<suskun13> edek
<suskun13> etaga bunu heckim
<suskun13> hell ede bilmeyecek
<suskun13> o qqaslar vare
<ascii> o dersin bilmiyeen uwaglar kimi :DD
<suskun13> competetiondaki
<suskun13> alqoritm
<suskun13> errichto zad
<manjaro-user_> :D sen denen yaglamaga adam axatirsanda
<ascii> sen ozun hell elemisen?))
<suskun13> hecbiri bunu ede bilmez
<suskun13> :-D
<ascii> xxaxaxaxa
<manjaro-user_> :
<manjaro-user_> D
<suskun13> brat bele pis cixmasin men bunun atasi idim vaxtiken :-D seher axsam bele seyler hell edirdim
<suskun13> ozde cox asan usulnan helli var :-D :-D prosto axtarib biraz oxumaq lazimdir
<ascii> blyaaa))))))) sen draznit elirsen e bizi qaqash etaga))) :DDDD imkan ver egomuz qalxsinda bizim :DDDD
<suskun13> ahahah ejdahasiz
<suskun13> ne deyireme
<suskun13> bunu ancaq
<suskun13> zarafatsiz
<suskun13> birdene sey var
<suskun13> mexanizm
<suskun13> onunla hell etmek olur
<ascii> :DDDD hecne demirsen dustur atirsan deyirsen asan helli var :DDDDD
<suskun13> yoxe
<suskun13> asan dediyim
<suskun13> nedi bilirsen
<suskun13> yeni ki
<suskun13> asan yoxe
<suskun13> helli var
<suskun13> yeni
<suskun13> arxadaki prosesi
<suskun13> cox cetindir
<suskun13> indi cox hint vermek istemiremde :-D
<suskun13> sende mennen soz almaga calisirsan
<manjaro-user_> manjaro-user_ has removed IRC due to lucid is kept saying everthiing is easy
<ascii> xaxaxax)))) :DDDDDDDDD
<manjaro-user_> :D
<ascii> :DDDDDDD
<suskun13> aahahahah
<suskun13> :-D :-D :-D
<ascii> mellim sen ejdahasan etaga:))
<suskun13> birdefe biryerde oturanda bunu hell
<suskun13> ederik
<ascii> biz seni cox isdiyirik:)))DDDDD
<suskun13> tesekkurler brat opurem
<suskun13> mende sizi cox isteyiRem ureksiz
<suskun13> math zad bos seydir esas qizlardir
<ascii> he he sennen olar))) ozde xingal zakaz verib hell eliyeriy :D
<ascii> xaxaxaxaxaxa
<suskun13> database ucun
<suskun13> ad secmek isteyirem
<suskun13> ne qoyum adini
<suskun13> sizce
<manjaro-user_> bizde mellim :D
<manjaro-user_> seni opuruk
<manjaro-user_> :D
<ascii> sen polnu bir babat model qiz tapib butun tasklari eletdirmey olar e :DDD
<ascii> database-in?
<suskun13> heee
<manjaro-user_> ))))))
<suskun13> bele cool birdene ad
<suskun13> olsun
<ascii> AlgoDB?
<manjaro-user_> machineDB zad
<suskun13> algolug hecne yoxdur
<suskun13> axi
<ascii> mathdb?
<ascii> boostDB?
<suskun13> oda ele bir goruntu verirki hersey mathemticaldi ;-D
<suskun13> burda
<suskun13> boost olar bax
<suskun13> dayan size birdene sey atim
<ascii> at
<suskun13> https://dbdb.io/
<suskun13> burda
<suskun13> butun databaselerin
<suskun13> siyahisi var :-D
<suskun13> adlara baxib idea firlatmaq olar
<ascii> heee,gozde gorum )))) firlatmag bizdiydi :))))
<suskun13> CocoDB qoyum ? :-D
<suskun13> eh varmis
<ascii> sebirli ol tapaciyig :D
<ascii> rocketdb?
<ascii> necedi?
<suskun13> oda var
<suskun13> :-D
<manjaro-user_> hamsida var ki ))
<ascii> blyaaa,o biri saytda yoxuydu axi
<manjaro-user_> EmproDB
<suskun13> hypedb
<suskun13> :-D
<suskun13> empro nediki?
<ascii> VIPdb?))))
<manjaro-user_> kasibsize siz empor nedir bilmirsiz
<manjaro-user_> :D
<suskun13> emporium?
<suskun13> :-D
<manjaro-user_> empro oligarxlara aitdir
<manjaro-user_> he)))
<ascii> RIPredis qoy adin mellim :DDDD
<suskun13> ahahahah
<suskun13> aybla
<manjaro-user_> :D:D
<suskun13> pizdec olare :-D
<ascii> etaga,hype olar e :DDD
<suskun13> ripredis
<suskun13> :-D
<ascii> mellim yeni redisin agzina vere bilessense,mencede verersen,adin ripredis qoy etaga :D
<suskun13> leetdb qoyum?
<suskun13> LeetDB
<suskun13> eleet DB
<manjaro-user_> elet :D
<manjaro-user_> ?
<suskun13> haxorDB :-D
<suskun13> etaga
<suskun13> ancaq xakerler isletir :-D
<ascii> hackerler niye?)))
<ascii> xor sobetine gore?))
<suskun13> hacker terminidide
<suskun13> haxor
<manjaro-user_> deseloperlere olmaz?
<manjaro-user_> :(
<ascii> :DDDD
<manjaro-user_> :D
<suskun13> :-D :-D
<suskun13> yox desheloperlara olmaz :-D
<suskun13> desheloperlere yuklemek qadagandir :-D
<manjaro-user_> :(eh
<manjaro-user_> )))
<suskun13> etaga
<suskun13> size deim
<suskun13> meyve adi qoymaq olar :-D
<suskun13> orangeDb zad
<manjaro-user_> )))))
<suskun13> oda var pay icini
<manjaro-user_> etaga
<ascii> bananadb
<manjaro-user_> ahahah
<manjaro-user_> :D
<suskun13> ahahaha
<suskun13> :-D :-D
<suskun13> cox iyrenc gorunmur? :-D
<suskun13> bananaDB
<manjaro-user_> ananasDb
<suskun13> oda var
<suskun13> brat
<manjaro-user_> aahhaha
<ascii> blya :DDD
<manjaro-user_> sen sup icirsen brokoli ile
<manjaro-user_> brokoliDB
<manjaro-user_> ))
<suskun13> ahahaha :-D
<manjaro-user_> :D
<suskun13> dartdb necedir?
<manjaro-user_> dart niye ?
<manjaro-user_> yaxsidir
<suskun13> ele etaga en yaxshisi leetDBdir
<manjaro-user_> hee o babtdir
<manjaro-user_> var bax gor
<suskun13> yoxdu yox :-D
<manjaro-user_> eela xeyirli olsun onda :D
<manjaro-user_> bir sagliq
<manjaro-user_> :D
<ascii> leetdb oldu ?))
ascii has quit [Remote host closed the connection]
<suskun13> beli
<suskun13> indi atiram
<suskun13> size screen
<suskun13> baxu
<suskun13> n
<suskun13> gorun necedir
<suskun13> usaglar
<suskun13> necedi
suskun13 has quit [Remote host closed the connection]
ascii has joined #lowempire
ascii has quit [Remote host closed the connection]
<manjaro-user_> super))
<manjaro-user_> xeyirlli olsun mellim))
<manjaro-user_> mellim bax buna bu hellnen 11 faiz verdi mene
<manjaro-user_> ama bu yol birinci atdigim meselni odeyir
ascii has joined #lowempire
ascii has quit [Remote host closed the connection]
ascii has joined #lowempire
ascii has quit [Remote host closed the connection]
ascii has joined #lowempire
ascii has quit [Remote host closed the connection]
ascii has joined #lowempire
ascii has quit [Remote host closed the connection]
ascii has joined #lowempire
ascii has quit [Remote host closed the connection]
ascii has joined #lowempire
ascii has quit [Remote host closed the connection]
ascii has joined #lowempire
ascii has quit [Remote host closed the connection]
ascii has joined #lowempire
manjaro-user_ has quit [Ping timeout: 240 seconds]
ascii has quit [Remote host closed the connection]
ascii has joined #lowempire
ascii has quit [Remote host closed the connection]
ascii has joined #lowempire
ascii has quit [Ping timeout: 240 seconds]
ascii has joined #lowempire
<ascii> Suskun
<ascii> Burdasan?
ascii has quit [Remote host closed the connection]
ascii has joined #lowempire
_whitelogger has joined #lowempire