BinaryByter
tbh .NET is shit
Anonymous
yeah
olli
It should be in the bit manipulation extension which is not finished yet
They are in the XBitmanip Extension spec draft from a few days ago
Ludovic 'Archivist'
They are in the XBitmanip Extension spec draft from a few days ago
I guessed it was required, else most classical cryptographic algorithms woulr end up very very slow
Anonymous
I have problemz with c plus plus
Anonymous
Overflow easy
Dima
get rekt
Ariana
Overflow easy
oo controlling rip?
Anonymous
Mitesh
Thanks ...
Anonymous
Hi mirth
Mitesh
Is there any c# ,MVC,JS, JQUERY Group
Mitesh
Please share
Anonymous
No
klimi
NO
Anonymous
Better learn c++
Mohammed
if I have a set<int> s; and it contains 3 elements {1,2,3} how can I take the value of 2?
Anonymous
NO
Why?
klimi
just no
Anonymous
Not possible direct
BinaryByter
Not possible direct
it IS possible
Anonymous
to access an element at nth index u need to create an iterator pointing to starting position and keep on  increment the iterator till nth element is reached
BinaryByter
what is the type of s?
BinaryByter
._. that seems too overkill
operator + is overloaded on standard iterators
Mohammed
Anonymous
NOO
Maybe can use next and advance
Ariana
thoidostilllovetooverloadit guilty conseience XD
Anonymous
code it plz
Yez plzz my bros
BinaryByter
set<int>
what is the compiler error?
Mohammed
what is the compiler error?
D:\CodeBlocks\h\main.cpp|33|error: no match for 'operator+' (operand types are 'std::set<int>::iterator {aka std::_Rb_tree_const_iterator<int>}' and 'int')|
BinaryByter
have you included the correct library?
Mohammed
have you included the correct library?
I did #include <bits/stdc++.h>
Mohammed
wha?
BinaryByter
this includes WAYYY to many things
Mohammed
so?
BinaryByter
anyway
BinaryByter
mhh
BinaryByter
looks like set iterators ACTUALLY don't have an operator+
BinaryByter
@ollirz donate me an education!
Ariana
well... its c++ soooo
BinaryByter
don't say ANYTHING against C++
BinaryByter
or else
BinaryByter
well...
BinaryByter
i'll be forced to tell you that I like C++ anyway
Ariana
what?
Time to overload +
Ariana
:>
BinaryByter
BinaryByter
I was scared
Ariana
XD
Ariana
Overloading is disgustingly convenient
BinaryByter
Overloading is disgustingly convenient
convenience is disgusting?
Ariana
Probabl would get killed by crazy peps like linus but mehh
BinaryByter
Hiding a corpse is hard in general
Ariana
just burn it
BinaryByter
maxi
klimi ❤️
klimi
hes learning
klimi
he doesnt need to care about this now
olli
looks like set iterators ACTUALLY don't have an operator+
Yes, how should it? Set has a Bidirectional Iterator, which allows to move back and forth. You would need a randomAcessIterator to have rhe + operator defined.
olli
A randomAcessIterator needs it's + operator to be of O(1). This cannot work using a set
BinaryByter
I see
BinaryByter
thanks god for the fucked up eyes
BinaryByter
please gimme octopus eyes
olli
can't bidirectional iterators have a + operator aswell?
en.cppreference.com/w/cpp/named_req/BidirectionalIterator
olli
if I have a set<int> s; and it contains 3 elements {1,2,3} how can I take the value of 2?
Why do you want to do that? Additionally a set has no "sequence" so what should "take the value" of 2 do?
olli
isn't set ordered?
Sorted, but still no "sequence" (in terms of this is the first, this is the second element)
BinaryByter
Sorted, but still no "sequence" (in terms of this is the first, this is the second element)
what does it mean for a set to be sorted but without having a sequence?
olli
what does it mean for a set to be sorted but without having a sequence?
You cannot tell the order the elements were inserted