Chat:World/2022-02-18

From CG community
Jump to navigation Jump to search

NewCoder09: :grinning:

NewCoder09: :smile:

Uljahn: Automaton2000: morning

antiwonto: [automated] Hey Uljahn, here is a :taco: for loggin in today while it is quiet. You now have 63 tacos

Automaton2000: yeah, that's the one i know

PatrickMcGinnisII: :taco: Automaton2000

antiwonto: [automated] PatrickMcGinnisII has awarded Automaton2000 10 tacos. Automaton2000 now has 31 taco. PatrickMcGinnisII now has 11 taco

Automaton2000: hmm when you select the best node and repeat.

Automaton2000: oh, you are still in the game is solved as a draw

PatrickMcGinnisII: omg

**PatrickMcGinnisII :tropical_drink:

Urutar: Greetings :)

Urutar: :taco: Uljahn

antiwonto: [automated] Urutar has awarded Uljahn 10 tacos. Uljahn now has 73 taco. Urutar now has 2 taco

Miki09: :taco: YS_Yousef

Miki09: :taco: YS_Yousef

Miki09: hey

Miki09: it doesn't work

Uljahn: hi antiwonto

Uljahn: looks like the bot is offline

Uljahn: wontohosting

Thorcode: anitiwonto :tac:

Thorcode: antiwonto :taco:

Default avatar.png trumpet: gl im here to WINJ

Thorcode: ok

derjack: :upside_down:

therealbeef: it ran out of tacos

Thorcode: noooooooooooooooooooooooooo

Thorcode: derjack :taco:

[CG]Thibaud: CodinGame will have a downtime of 1 to 2 minutes this morning around 11:30 AM CET this morning, due to DB maintenance (migration to Amazon Aurora)

Miki09: :-(

derjack: oh noes

derjack: friday deploy?

Stilgart: derjack :taco:

Stilgart: (just in case we need to spend all week-end without CG)

woful: derjack :taco:

Default avatar.png Plasma69: guys

Default avatar.png Plasma69: teach me hoe to code im 13 yrs old add me on discord Doc Plasma#9146

5DN1L: Automaton2000 hoe to code and how to manners

Automaton2000: but how can i prove i'm not a java dev

Miki09: plasma69 https://letmegooglethat.com/?q=Python+beginner+tutorial

Default avatar.png Plasma69: thank u guys :))))|


5DN1L: Hmmm, website down but chat still working

Uljahn: it stops if you refresh :disappointed:

5DN1L: that's why i won't :P

elderlybeginner: I cannot get promoted in Xmas, even though I'm above to boss. Any op here or should I use forum for that?

5DN1L: You may have to ask CG[Thibaud]

struct: I think this bug has been happening yeah

Default avatar.png axelmorf_98: Hello i am currently in college taking a java course and need help understanding some fundamental basics. Anyone willing to help out?

Default avatar.png Xascoria: So I was in the clash during the maintanence just now

Default avatar.png Xascoria: and

Default avatar.png Xascoria: I got last place because I got -2% score

Default avatar.png Xascoria: -2%

Default avatar.png Xascoria: negative

Miki09: lol

Default avatar.png Xascoria: what this hell

struct: axelmorf_98 if you have some questions feel free to ask

struct: lol

ETET: hello

ETET: hello?

Fasader: hi

derjack: struct i lied yesterday. i do use NN in chess

struct: o.o

derjack: but it isnt much it seems

struct: how bad is it at end games?

derjack: im not pro at chess to judge but id assume relatively bad

struct: yeah doesnt seem great

struct: For some replays

struct: you give some free material

derjack: but then again, the level is not so high to get into endgames :v

struct: yeah your problem is not end games :p

struct: still its only 50ms

derjack: more like 40ms, the parsing somehow takes much time

derjack: i need to give more margin in this game

struct: train vs stockfish and limit stockfish to 1k< nodes

struct: you should still lose

derjack: or, train on stockfish :thinking:

struct: I think it can handle 960

Idk.-_-: hey guys

struct: hi

Idk.-_-: this pointers is so confusing :D

struct: wdym?

Idk.-_-: look at this code

Idk.-_-: http://chat.codingame.com/pastebin/9ed8ada0-91b5-4f6b-a8a4-15be5d11fd1c

Idk.-_-: the result is will be same

Idk.-_-: but why do i want to complicate my code and use pointers ?

struct: yes the pointer is pointing to the memory address of year

Idk.-_-: i dont get it meaning

abt8601: There are some other cases where you need to use pointers

abt8601: Like dynamic allocation (malloc, free)

abt8601: Or something like output parameters

struct: and functions

struct: for example ceil(float *f)

struct: so it changes f

struct: if it was a copy it would be useless unless you returned it

PatrickMcGinnisII: new struct {}; // heh

struct: maybe ceil is a bad example since it does not affect the variable but swap(int* a, int* b)

struct: does affect the variables

PatrickMcGinnisII: taco *cat=new taco();

PatrickMcGinnisII: sry

Gameonn: I liked this article so sharing over here https://nagajyothi1722.medium.com/how-to-keep-yourself-motivated-dd3230098b35

5DN1L: Gameonn reminder: https://www.codingame.com/playgrounds/40701/help-center/code-of-conduct

Idk.-_-: can someone write a example code of pointer code ?

Idk.-_-: please ? :)

Gameonn: Ok sorry I'll not post again

5DN1L: thanks

Idk.-_-: ? :((

5DN1L: https://letmegooglethat.com/?q=example+code+of+%20pointer+code

Idk.-_-: :D

Idk.-_-: i'm lazy

5DN1L: :expressionless:

Uljahn: lazy == ban :smiley:

abt8601: Let's be honest with you, you'll suffer a lot if you don't know how to find things yourself.

Idk.-_-: y y my bad

Default avatar.png wizarkd: h

Default avatar.png Awesomeguy99ab: ong bro

Default avatar.png Awesomeguy99ab: dap me ip

Default avatar.png Awesomeguy99ab: dap me ip

Default avatar.png Awesomeguy99ab: t

Default avatar.png Awesomeguy99ab: t

5DN1L: spammers get kicked

DethHarmonik: Spammers gonna spam.

DethHarmonik: In mod we trust.

Default avatar.png Awesomeguy99ab: bruh

Default avatar.png Awesomeguy99ab: ok

Wontonimo: antiwonto?

antiwonto: [automated] 'antiwonto' was defined as ' A bot, possibly assembled in Central America. Programming questionable ' by Wontonimo

Wontonimo: oh good.

Urutar: :taco: 5DN1L

antiwonto: [automated] sorry Urutar but you can only award tacos once per day

5DN1L: thanks Urutar anyway :)

Uljahn: Urutar :taco:

antiwonto: [automated] Uljahn has awarded Urutar 10 tacos. Urutar now has 12 taco. Uljahn now has 74 taco

derjack: jacek :taco:

antiwonto: [automated] derjack has awarded jacek 10 tacos. jacek now has 61 taco. derjack now has 12 taco

struct: o.o

derjack: bot

derjack: bot?

derjack: antiwonto whats Automaton2000

Automaton2000: i am looking forward to it

struct: Automaton

BlaiseEbuth: Wontonimo ! derjack/jacek is abusing of the system !

derjack: who is this jacek you speak of

Urutar: Thanks Uljahn :D

DethHarmonik: Urutar :taco:

antiwonto: [automated] DethHarmonik has awarded Urutar 10 tacos. Urutar now has 22 taco. DethHarmonik now has 13 taco

Urutar: Thanks DethHarmonik :D

BlaiseEbuth: Hm... So much tacos

BlaiseEbuth: DethHarmonik :taco:

antiwonto: [automated] BlaiseEbuth has awarded DethHarmonik 10 tacos. DethHarmonik now has 23 taco. BlaiseEbuth now has 99 taco

DethHarmonik: :yum:

abt8601: Urutar :taco:

antiwonto: [automated] abt8601 has awarded Urutar 10 tacos. Urutar now has 32 taco. abt8601 now has 1 taco

abt8601: Not sure what it does though

Default avatar.png CSPigeon: anyone up to play valorant

Default avatar.png CSPigeon: or nah??

Default avatar.png CSPigeon: Urutar :taco::taco:

antiwonto: [automated] CSPigeon has awarded Urutar 10 tacos. Urutar now has 42 taco. CSPigeon now has 1 taco

Default avatar.png CSPigeon: Urutar :taco:

antiwonto: [automated] sorry CSPigeon but you can only award tacos once per day

derjack: :upside_down:

antiwonto: [automated] ':upside_down:' was defined as ' ɥǝllo ' by jacek

Urutar: Thanks CSPigeon :D

Urutar: :upside_down: XD

Urutar: Oh well; gotta go for now

Urutar: Have fun^^

Default avatar.png CSPigeon: can i have my tacos back

Default avatar.png CSPigeon: sorry

Vanillaman42: Why python replace don't work here? LOL

derjack: huh?

KalamariKing: python replace works fine...?

DethHarmonik: Just in case: Does anyone have backups of Aneo's testcases?

Vanillaman42: result.replace("0", ".") left "0000"

derjack: result = result.replace("0", ".")

Vanillaman42: thanks

BlaiseEbuth: Why users can't read a doc here? LOL

Joleaf: Strings are immutable :)

Joleaf: *in python

BlaiseEbuth: Love your pp Joleaf ^^

Joleaf: Ty ;)

derjack: oO

KalamariKing: BlaiseEbuth fr tho

KalamariKing: rtfm before asking something dumb smh

BlaiseEbuth: KalamariKing?

KalamariKing: whats up

BlaiseEbuth: Sky's up

strict-beauty: react

KalamariKing: :skull:

KalamariKing: long time no see you all

Quartzzz: sort

Girard: hi guys

ninjadip: heller

Default avatar.png ThisIsNotSpamName134342: hey guys

Default avatar.png ThisIsNotSpamName134342: im ins chool roight now

Default avatar.png ThisIsNotSpamName134342: resond

eve_va_hooves_the_king_of_losers: sup

Default avatar.png Pawloskie: siema

KalamariKing: ThisIsNotSpamName134342 same lmao

eve_va_hooves_the_king_of_losers: lol

eve_va_hooves_the_king_of_losers: my name is longer and more spamly

Wontonimo: x*x = 64

antiwonto: [automated] x = 8

Wontonimo: 8*x + 3 = 2*x + 99

antiwonto: [automated] x = -17

Wontonimo: 7 = x

antiwonto: [automated] x = 7

Wontonimo: x*x*x*x*x = 1.3

Wontonimo: ?

Wontonimo: x*x = 1.3

Alshock: Wontonimo answer this one honnestly

Wontonimo: 23 = x + 7

Alshock: you put this in your bot only to produce some spam didn't you?

antiwonto: [automated] x = 30

Wontonimo: well, that's just wrong!

Wontonimo: x != 30

Alshock: xD loooool

Alshock: how did it get this backward?

Wontonimo: x + 7 = 23

antiwonto: [automated] x = 16

Wontonimo: !?!?

Alshock: that one's right

Wontonimo: 23 = x + 7

antiwonto: [automated] x = 16

Wontonimo: i forgot some brackets. fixed now

Alshock: 23 = 7 + x

antiwonto: [automated] x = 16

Alshock: 7 + x = 23

antiwonto: [automated] x = 16

Wontonimo: it was translated it into 0 = 23 - 7 + x instead of 0 = 23 - (7 + x)

Wontonimo: fixed

TimberStalker: sqrt(x) = 9

TimberStalker: x = 9

antiwonto: [automated] x = 9

Alshock: x + y = 3 x - y = 9

Wontonimo: just x

Alshock: boo! Refund

Wontonimo: 1 / x = 9

antiwonto: [automated] x = 0.11110957736456945

Alshock: BTW, Wontonimo did you notify mag that there's a new bot Automaton2000 should ignore in its inputs?

Automaton2000: just one of my favorites

TimberStalker: (x * 2) = 18

Wontonimo: ah, no i didn't Alshock

TimberStalker: not even parentheses?

Wontonimo: 2*(x+1) = 8

antiwonto: [automated] x = 3

Wontonimo: good call. i added it

Wontonimo: 2*(x+1) = 8/x

antiwonto: [automated] x = 1.5615381079737423

Mrs.GloriaZindlebocker: x + 1 = x + 2

antiwonto: [automated] x = 0

Wontonimo: haha

Wontonimo: it's as small an error as it could find

KalamariKing: 1/x^2 = 1/9

Wontonimo: can't do ^

KalamariKing: :sob:

Wontonimo: 1/x^2 = 1/9

antiwonto: [automated] x = 1

Wontonimo: ;(

Wontonimo: 1/x = 1/9

antiwonto: [automated] x = 9

Wontonimo: 1/(x^2) = 19

antiwonto: [automated] x = 0

Wontonimo: x+1 = x+3

antiwonto: [automated] x = 0

KalamariKing: x+1=4

antiwonto: [automated] x = 3

Wontonimo: 1/x^2 = 1/9

antiwonto: [automated] x = 1

Wontonimo: x+1 = x+2

antiwonto: [automated] x = end of the universe

Wontonimo: excellent.

Wontonimo: still can't do ^ though

69razer69: hey sup

Default avatar.png cleverdumb: hi everyone

69razer69: hey

Default avatar.png cleverdumb: whut

Wontonimo: 1/x^2 = 1/9

antiwonto: [automated] x = 3

Wontonimo: yeah!

Wontonimo: x^2 = -4

antiwonto: [automated] x = end of the universe

Alshock: That bot doesn't handle complex problems, unlike Automaton2000

Automaton2000: how do you know where the problem is that i am not doing anything

Alshock: HA! Told you so!

jacek: x = 1/0

antiwonto: [automated] x = end of the universe

Wontonimo: 0*x = 8*0

antiwonto: [automated] x = 0

Wontonimo: well, that was fun to make that solver. i guess that could be a puzzle

Blokops: laughs in python eval

Wontonimo: yup, i used js eval

5DN1L: Wontonimo https://www.codingame.com/contribute/view/7883c818ecdba83e6c603b882c784684d546

5DN1L: https://www.codingame.com/contribute/view/549525f1e867febde9a7cedaf234e4a96971

5DN1L: https://www.codingame.com/contribute/view/5096c10df8e224007ea79afb508ff4ce7248

5DN1L: how many are there :scream:

**5DN1L not looking further

jacek: x = rm -rf /*

Wontonimo: hehe

Wontonimo: nice

Alshock: :smirk:

Wontonimo: oh no ... my whole HD is being erased. maybe i shouldn't have put this in the root directory with root access and not done any testing

Miki09: :taco: Wontonimo

antiwonto: [automated] Miki09 has awarded Wontonimo 10 tacos. Wontonimo now has 105 taco. Miki09 now has 22 taco

Wontonimo: thanks :grin:

Miki09: :-)

Miki09: x^2 = -1

antiwonto: [automated] x = end of the universe

Wontonimo: it also can't handle multiple results

Wontonimo: like

Wontonimo: x^2 = 9

antiwonto: [automated] x = 3

Wontonimo: should be -3 and +3

Miki09: It can't do imaginary nums :-(

Miki09: x^2 = -1

antiwonto: [automated] x = end of the universe

Wontonimo: it's not very imaginative

Miki09: lol

jacek: (1 + 1/x)^x

jacek: (1 + 1/x)^x = 1

antiwonto: [automated] x = 0

jacek: (1 + 1/x)^x = 2.718

jacek: ops

Miki09: Wait did it just divide by 0???

Wontonimo: i wonder what happened there

Miki09: Maybe just (anything)^0=1 so it decided x=0

Wontonimo: x^x = 0

antiwonto: [automated] x = end of the universe

Miki09: (5/0)^x=1

antiwonto: [automated] x = 0

Buk.: 7*x = 22

Miki09: hmmm

antiwonto: [automated] x = 3.1428582171064523

Miki09: (565989895/0)^x=1

antiwonto: [automated] x = 0

Miki09: dividing by zero

Wontonimo: (1/0)^x = 9

antiwonto: [automated] x = end of the universe

Miki09: 5*x=0

antiwonto: [automated] x = 0

Miki09: 0*x=0

antiwonto: [automated] x = 0

Buk.: cos(x)=0

Miki09: 0*x=0

antiwonto: [automated] x = 0

Miki09: -inf<=x<=inf

Buk.: :disappointed:

Buk.: :taco: Wontonimo

antiwonto: [automated] Buk. has awarded Wontonimo 10 tacos. Wontonimo now has 115 taco. Buk. now has 1 taco

Miki09: x=e^(i*pi)+1

Wontonimo: it knowns not what e, i, and pi are

Wontonimo: especially i

jacek: e^pi - pi = 20

Wontonimo: (1 + 1/x)^x = 2.718

Wontonimo: (1 + 1/x)^x = 2.718

antiwonto: [automated] x = 4821.665568010995

Wontonimo: thanks for all the testing!

Wontonimo: that's it for additions I'm going to make

Momotron23: can you make it so you only join a specific type of clash of code?

Miki09: only in private clash

Momotron23: ok

nulte: my book is almost ready

jacek: book?

Wontonimo: here is the code if anyone interested https://tech.io/snippet/xqL4EQ9

Miki09: nice

nulte: yes jacek onitama

jacek: oh my

nulte: im joking , now that my prototype is finished I can actually work on the bot

nulte: My last submit was only tree reusee and I increased exploration factor by a bit

jacek: nice

nulte: I still dont understand how I should do EPT though

nulte: sometimes player(0) - player(1)

nulte: seem better

nulte: other times

nulte: player(0) > player(1) ? 1 : -1;

nulte: seem better

jacek: scaling problem eh

nulte: story of my life

nulte: do you know any papers about ept?

jacek: probably you know them already

jacek: with bt and amazons

jacek: https://link.springer.com/chapter/10.1007/978-3-319-27992-3_2

jacek: though they use rollouts and just finish early with eval

nulte: ty

Wontonimo: do you run a/b tests on those two EPT per game ?

nulte: a/b tests?

Wontonimo: brutal test player(0) - player(1) implementation vs player(0) > player(1) ? 1 : -1; implementation

struct: ah no

jacek: like arena of 1000 games

struct: only can use 2 threads for that

struct: it will take me ages

Wontonimo: how about just 100 games?

Wontonimo: ages/10

struct: I could try

jacek: you can try 10ms instead of 50

struct: I can also try minimax to fixed depth

struct: maybe fixed depth not a good idea

struct: since i probably can reach depth 12 on end easily

struct: I will try the brutaltester

struct: If I can manage to run the referee

jacek: would minimax be good for ept results? it seems scaling/exploration problem

struct: well the problem is I dont even know if my eval is good

jacek: referee? you dont have your own 'arena' when you test your bots?

struct: I dont test my bots

Wontonimo: i've you've implemented the game you dont need the ref. your own implementation can be the ref

jacek: ^

struct: My test is submit

struct: my local test = number of sims

struct: better = better bot :D

Wontonimo: brutal tester will accept any program as the ref, in any lang that runs onn your computer

mr.nomad: like what wontonimo said will work but remember one mess up can break it all together

mr.nomad: but that's a rare case sometimes

mr.nomad: so always recheck what you have coded down

5DN1L: Any specific tips, mr.nomad?

mr.nomad: don't mess up, that's my tip and i always tell myself that

5DN1L: Are you going to solve any puzzles or join any bot programming arenas here?

mr.nomad: eh, i'm good at coding but i have stuff to do, i try to help people and do the best i can here

5DN1L: ohhhh riiiiight

mr.nomad: i only help when i can, i don't hang around much here so i'l pretty much behind the coding

struct: my secret is to never test the code then Ill have some "features"

mr.nomad: brb

5DN1L: i still remember your loooooooong messages you left in this chat yesterday, mr.nomad

5DN1L: Hope you level up a bit while you're here

nulte: o.o

struct: jacek your onitama is NN minimax?

jacek: mcts ept

struct: d = depth?

jacek: minimax is so last century

jacek: yes. but its very selective

struct: max depth reached in the tree or on the move you are going to play?

jacek: in tree

jacek: bold of you to assume i dont troll there

struct: well those depths are feasible

struct: I think

struct: I dont know how heavy your eval is

jacek: this time im not trolling :O

struct: let me see how deep mine goes

nulte: ????

nulte: 81??

nulte: ok i need to fix this

jacek: thats deep

nulte: Maybe I can increase exploration to fix this :p

Wontonimo: 4*x + 7 = 1/x^(1+x)

antiwonto: [automated] x = 0.17623648670438516

nulte: https://www.codingame.com/replay/609253814

nulte: this is the bot that is in the arena

nulte: :D

jacek: how do you measure depth

jacek: you add depths of each move? :v

nulte: no

nulte: wait yes?

nulte: 1 move = 1 depth

nulte: I measure it on select

jacek: it should be max of the moves

nulte: wdym?

jacek: move 1 has depth 3, move 2 has depth 5, so it is d:5

jacek: not 8

nulte: so from root you have move 1 and move 2 right?

jacek: yes

nulte: ok one of the moves has that depth - 1

nulte: not sure if its the one I played

jacek: i dont store depth in moves. during selection i have current level. and saved max level. and i just do max level = max(max level, current level). so this is max depth of tree

Default avatar.png badsector: hi

nulte: yeah

nulte: thats what im doing

jacek: phew

jacek: hello

nulte: max_depth = max(++depth, max_depth);

jacek: but still 70 is too much

nulte: yeah

Default avatar.png Fureot: yo

nulte: and even worse since my eval is pretty bad

nulte: I think it just go into these types of loops

nulte: From the replay I showed

nulte: Maybe if the state repeats I dont add that child or something

BadBurger: does the codingame ide work with practice like vox codei2?

5DN1L: what do you mean?

struct: you mean to edit test cases?

BadBurger: no, i mean, now i usually copy a round (state info) or 2 from console, and modify the default code to run locally, and then build the code on that, and then i try it on the browser and edit to work. but the codingame ide i saw a glimps on somewhere, you can locally run the test no?

BadBurger: or do i have the wrong idea what the codingame ide is?

struct: I dont know anything like that for cg

5DN1L: BadBurger, maybe you can try searching here to see if anything looks like what you want: https://www.codingame.com/forum/c/apps-tools/32

BadBurger: thx

mr.nomad: im bacl, i fell asleep

mr.nomad: *back

mr.nomad: eh, forget it, im gonna sleep

jacek: oO

Valdez001: anyone to play the cooperate game?

Default avatar.png MediocreDeveloper: Hello..

Default avatar.png MediocreDeveloper: Anyone there?

nulte: yes?

BadBurger: jup..

Default avatar.png NeelD31: guys

Default avatar.png NeelD31: how do I find people from my school

Uljahn: NeelD31: https://www.codingame.com/leaderboards/general/global?column=schoolcompany&value=SAME

Default avatar.png NeelD31: ty

Wontonimo: hi

Wontonimo: hi antiwonto

antiwonto: [automated] hey Wontonimo. I'm a bot :robot:

Wontonimo: hi automaton2000

Automaton2000: no need to thank me

struct: Hi Wontonimo

devnatiofra: Hi everyone ! anyone can propose me a good website for optimisation of the rapidity of your code ? I program in java (and I'm blocked in the puzzle "longest palindrome" when we must fin palindrom in 5000 char)

Default avatar.png StrideNYC: Did you try using a 2 pointer approach or just brute force?

devnatiofra: brute force

Default avatar.png StrideNYC: Two common solutions to solve for palindromes is comparing the reversed string with the original, or you can use a two pointer approach which only iterates half the length of the string.

Default avatar.png StrideNYC: i = to first index j = to last index if they are not equal return false else if you iterate completely return true.

devnatiofra: aaa it's that

Default avatar.png StrideNYC: Is that a testcase? or did you say ahhh? lol

devnatiofra: So first i've make the first solution, after reflexion i've make the second.. it's more optimized but no enough

devnatiofra: no i say "aah" xD

Default avatar.png StrideNYC: lol. It still didn't pass?

Default avatar.png StrideNYC: Is this an exercise on this site? Can you link it.

devnatiofra: yes: https://www.codingame.com/ide/puzzle/longest-palindrome

Default avatar.png StrideNYC: oh man. I misunderstood you lol..

Default avatar.png StrideNYC: this is for palindrome substrings lol

Default avatar.png StrideNYC: Sorry about that.

devnatiofra: xDD no problem

Default avatar.png StrideNYC: I'll try it out and see what's up :p

devnatiofra: Ok, ok good luck ! :joy:

Default avatar.png StrideNYC: Use dynamic programming lol. The only way that I can think of solving this problem.

devnatiofra: .. ok .. ok but I don't see how I can make my program more dynamic lol, I have like.. 5 if xD

Default avatar.png StrideNYC: Stop trolling me lol.

devnatiofra: I don't troll you i'm just fucking dumb but ok I gonna stop disturb you x)

antiwonto: [automated] devnatiofra be respectful and watch your language https://www.codingame.com/playgrounds/40701/help-center/code-of-conduct

Default avatar.png StrideNYC: ;x You've angered the gods. Tread carefully my friend lol.

devnatiofra: Yes :sweat_smile::joy:

Arctic_Ghost: hi

Arctic_Ghost: hello?

devnatiofra: Hi

Arctic_Ghost: Hi

devnatiofra: "Hi" is not a palindrome llamaoifejzozf

devnatiofra: I'm gonna cry, gb xD

Dren: just make a 2d grid to store a boolean table and make two pointers that loop through the string and fill it out

Dren: I worded that pretty dumb but that should do it in O(n^2) space and time

devnatiofra: I think understand what you say but I've already make the program that detect palindrome but if I make double loop.. in the case of the str have a length of 10 000, the loop turn 100 000 000 of time.. i've reduce to 50 000 000 but now that i've optimize how to find the palindromes, how to search the palindromes.. now I don't see how I can optimize the program

devnatiofra: and by the way, instead of call every time function like ".length()" in the loop, I put that in a variable to call this function just one time instead of call it 50 000 000 of time

devnatiofra: sorry if you don't understand me, i'm french lol

Default avatar.png Pupper_Gump: It's also best to not use functions as conditions in for loops or while loops too

Default avatar.png StrideNYC: Damn that took a bit. Nice problem :p

dalien: hello world! maybe someone knows the answer: is it possible to continue a failed clash of code (just for practice) ?

Dren: there is an euler site

Dren: where you can find the clash

Dren: don't have the link

Mrs.GloriaZindlebocker: Dren :tacos:

Mrs.GloriaZindlebocker: Dren :taco:

antiwonto: [automated] Mrs.GloriaZindlebocker has awarded Dren 10 tacos. Dren now has 10 taco. Mrs.GloriaZindlebocker now has 30 taco

dalien: oh, thx for the info Dren, glad to know it even exists ahah will have a look on that later

Dren: yeah it's not easy to find through the site otherwise you could just pull up the solution during the clash

Dren: oh nice tacos

Dren: now I'm hungry

Mrs.GloriaZindlebocker: if russia invades your country, send us your womenfolk

Default avatar.png dmuraco: ^^^^^