olli
BinaryByter
sure, but then, why can't you use operator+ ?
olli
BinaryByter
why can't THAT happen on O(1)?
olli
For those cases there is std::advance
BinaryByter
I see
Anonymous
Anonymous
It look like sorted but actually it's just balanced tree
olli
BinaryByter
BinaryByter
makes sense
olli
of course :)
BinaryByter
yea that requirement basically forces it's implementation to be a rbs
BinaryByter
but but but
BinaryByter
wait
BinaryByter
no
BinaryByter
I see
BinaryByter
sorry i'm stupid
BinaryByter
Anonymous
We all learn on the way bro
BinaryByter
I know
Anonymous
He u what the f**k are u doin
klimi
im making rpg
Anonymous
This is c++ okay
BinaryByter
Well he is making the RPG in C++
BinaryByter
so it's not OT
Shivam
Gn
Ariana
4.5K MEMBERS YAY
Roxifλsz 🇱🇹
## Rules #pinned
* You are not entitled to an answer, getting angry about not answered questions will get you warned.
* Not checking your problem in google (or any other search engine) first will get you a warn.
* Asking for something that is in the pinned message right after joining WILL GET YOU BANNED.
* C/C++ discussion preffered (assembly also allowed), asking about other languages (or groups for other languages) right after joining will get you BANNED.
* Reverse enginnering, hacking and related topics are allowed, but asking to hack facebook, instagram, etc. is NOT allowed. Also if you ask "how to become a hacker" and obviously have zero knowledge on anything related to that you may get warned or banned.
* Legitimate requests for help on code and programming questions are welcome. A request is considered legitimate if it describes your problem, what you've done so far and what went wrong. Requests such as "write my program" or "do my homework" are never considered legitimate. Asking not legitimate questions will result in a warn or ban. See https://stackoverflow.com/help/mcve on how to write good questions.
* Asking for book recommendations is ok, but "pls give pdf book" is not allowed, find books by yourself. Posting illegally copied books (or links to those books) is also not allowed.
* Only English language is allowed, if you speak shitty English or don't understand anything in English YOU WILL BE BANNED.
* A little bit of programming related memes, jokes, shitposting are allowed.
* NSFW content (porn, nudity, etc.) is not allowed.
* Spamming/advertising (job posts are also ads, so ask an admin before posting) will grant you a warning or an immediate ban if you do it right after joining.
* Religion, politics and ideological topics are forbidden.
* Long code snippets must be posted via a snippet website(links below), posting pictures of code and posting long snippets in the group is not allowed.
* If you encounter a problem, while using turbo C++, you will not be helped, use another more modern IDE.
* Don't post compiled executables, that is obviously a security risk
## Resources
About asking good questions:
* [English](http://www.catb.org/esr/faqs/smart-questions.html)
* [Translations](http://www.catb.org/esr/faqs/smart-questions.html#translations)
For posting long code snippets:
* [GitHub Gist](https://gist.github.com)
* [Ubuntu Paste](https://paste.ubuntu.com/)
* [Pastebin](https://pastebin.com)
## Reports
If you notice any forbidden content, please use the /report command while responding to the offending post to report it to the admins.
BinaryByter
*me haz ban hamm0r*
Roxifλsz 🇱🇹
/saved
Roxifλsz 🇱🇹
I thought there was a saved item of the pinned msg?
Mihail
kinda curious how do people find out about this group? i found it using search in tg, but do you have links to it anywhere else, because i doubt many people use tg search to find groups
Mark
@roxifas https://0x0.st/s6Ur.png where's whitespace
Roxifλsz 🇱🇹
Mark
also i'd get rid of the first line in that message
j
hi, im trying to compile a program, but can't get it to work
j
would anyone mind to have a look at it?
Giulio
It depends
Giulio
How much is big?
j
https://gist.github.com/rexto/7779291a85330ef229f709749f20487c
Giulio
Fix your indentation anche the sensi It ti me again
Giulio
Oh gosh
Giulio
I am with the phone
Giulio
Post the output plz
Giulio
j
first time writing c code
j
im sorry
Ludovic 'Archivist'
BinaryByter
j
is there some sort of layout to follow in order to do that?
olli
https://gist.github.com/rexto/7779291a85330ef229f709749f20487c
for(size_t e=0; *s != '\0'; e++) {
^^^^^^^^^
you check *s but never change it, either change s as well or check for inputString[e]
and return to early, should be after the for loop
fn {
for {
if {
}
return sol;
^^^^^^^^^^^
}
}
As other mentioned, try to better indent your code. This will prevent issues, such as return ing to early in many cases since it's easier to see the level you return from
klimi
ForceBWY
Ok, thank you
Venkatesh
Ok bro agreed ! But I didn't even know basics of programming
Леонтий
Hello there! May be someone know the place, where I can get V8 JS engine for g++ (Windows) as binary lib?
Mark
plain V8 or node.js?
Леонтий
plain V8 or node.js?
V8. I use it for JS scripting in my app, but now I use nuget package via Visual Studio. I'd like to try to build my app using g++ for Windows
BinaryByter
Леонтий
no thanks, I have a lot of code (C++), which was wrote especially for V8
Леонтий
and my scripts use ES6, can this parser process it ok?
BinaryByter
Dunno
Jaxx
Hi
inchidi
Hello welcome
klimi
Hi
raysean
thank u
inchidi
thank u
is raysean your real name? why not raysengan?
raysean
my real name is rayson albert
inchidi
raysean
do u like it???
Anonymous
/notes
Anonymous
Guys I'm multiplying large integers. The code runs correctly in python but the same code gives wrong output in cpp. What could be the reason?
Prometheus