greptilian logo

IRC log for #friendlyjava, 2019-09-10

##friendlyjava on freenode

| Channels | #friendlyjava index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

All times shown according to UTC.

Time S Nick Message
04:33 Jantz joined ##friendlyjava
05:34 nanoz joined ##friendlyjava
06:16 nanoz morning folks
06:17 * nanoz waves to aditsu pdurbin mr_lou
06:17 nanoz Jantz, have a question on casting
06:54 aditsu nanoz: hi, the solution you pasted looks good
07:54 Jantz joined ##friendlyjava
08:01 nanoz joined ##friendlyjava
08:49 nanoz joined ##friendlyjava
09:19 Jantz casting nanoz i wouldnt even know what that is
10:02 nanoz aditsu, decided to use my own list implentation for know have written my own stack,queue,ArrayList,LinkedList implementation
10:02 nanoz now*
10:10 nanoz on hand on Contest do you guys use KMT/Trie for substring search? which is more preffered
12:47 Jantz joined ##friendlyjava
13:07 Jantz joined ##friendlyjava
15:09 aditsu nanoz: why do you need your own implementations? the ones in the standard library are fine
15:09 aditsu or is it just for learning?
15:09 aditsu what is KMT?
15:10 aditsu for substring search you can use indexOf
15:14 nanoz tbh java thing are to submit via any platform it often leads to TLE
15:14 nanoz hard to submit***
15:14 nanoz for learning purpose :/ aditsu
15:15 aditsu you will get TLE in any language if you have an inefficient solution
15:15 aditsu I think java is just (sometimes) slower at reading and parsing input data
15:16 aditsu some people have written a "FastReader" for that purpose
15:19 nanoz have people won contest using java?
15:20 nanoz where there is TLE limit
15:31 aditsu yes
15:32 aditsu but the top contestants tend to prefer C++
15:52 nanoz yes
15:52 nanoz just spoke one of top contestant
15:52 nanoz world of cp is C++
17:56 nanozz joined ##friendlyjava
18:42 Jantz joined ##friendlyjava
18:56 nanozz every even number greater than 2 can represented addition of 2 number
18:57 nanozz which are prime
18:57 nanozz 4 = 2+2
18:58 nanozz 2 is a prime
18:58 nanozz 5 = 3+2 prime
18:58 * nanozz 5 is prime :P
18:58 nanozz https://en.wikipedia.org/wiki/Goldbach%27s_conjecture

| Channels | #friendlyjava index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

##friendlyjava on freenode