Dima
Ибраги́м
Set it to zero
Have u heard of constexpr ?
🐰🐾 سمیه
If you don't abuse my answer, no I haven't
Afees
University Of Misplaced Priorities.
If you know the answer just tell,otherwise keep quite sir🙂
Ибраги́м
If you don't abuse my answer, no I haven't
It means there's no way we'd set it to 0. http://www.enseignement.polytechnique.fr/informatique/INF478/docs/Cpp/en/cpp/language/constexpr.html
🐰🐾 سمیه
Ok👌
Ибраги́м
Ok👌
Come to the light ?
h1z9x8h*ehsjhgooqoap
What brand cellphone do you use now?
Light
/notes
Light
#cppbook
Elnee
But wait... It's illegal.
SjD
anyone active?
Anonymous
Hmmm
Makoto
#pythonbook
SjD
is there a way to download problem statements from sites like codechef,codeforces,etc in bulk via a program?
SjD
like i dont want to sign up,i want it downloaded and formatted
klimi
Sure there could be if you make one
SjD
Hmm..i never tried networking with c++
SjD
are there libraries,and dont you need api or something to automate?
klimi
C++ isnt ideal for this tho
klimi
But Sure there some are
SjD
k ill look them up. Finally,there is some math symbols that i dont want to convert to plaintext.
SjD
any clue on what i can do to avoid doing that?
klimi
I dont know what you are talking about
SjD
like math symbols like superscripts subscripts and greek letters that i cannot copy to plaintext
klimi
I still dont understand
SjD
k np
klimi
Can you show example?
SjD
ok wait
SjD
SjD
There are N+M" role="presentation" style="box-sizing: border-box; display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 13.5px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">N+MN+M jobs waiting to be run on a processor. N" role="presentation" style="box-sizing: border-box; display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 13.5px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">NN of these are classified jobs: C1,C2,…,CN" role="presentation" style="box-sizing: border-box; display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 13.5px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">C1,C2,…,CNC1,C2,…,CN, and the other M" role="presentation" style="box-sizing: border-box; display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 13.5px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">MM are public jobs: P1,P2,…,PM" role="presentation" style="box-sizing: border-box; display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 13.5px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">P1,P2,…,PMP1,P2,…,PM. There can only be one job running on the processor at any given millisecond (ms). Once the processor starts running a job, it has to finish it completely before starting any other job. Ci" role="presentation" style="box-sizing: border-box; display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 13.5px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">CiCi takes time qi" role="presentation" style="box-sizing: border-box; display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 13.5px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">qiqi milliseconds (ms) to finish. Also, for 1≤i≤N" role="presentation" style="box-sizing: border-box; display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 13.5px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position:
SjD
;">1≤i≤N1≤i≤N, Ci" role="presentation" style="box-sizing: border-box; display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 13.5px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">CiCi can be started only after C1,C2,⋯,Ci−1" role="presentation" style="box-sizing: border-box; display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 13.5px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">C1,C2,⋯,Ci−1C1,C2,⋯,Ci−1 have finished. Pj" role="presentation" style="box-sizing: border-box; display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 13.5px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">PjPj takes pj" role="presentation" style="box-sizing: border-box; display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 13.5px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">pjpj ms to finish. These jobs can be run in any order. The classified and public jobs can also be interleaved in any order. However, sources have reported that for all 1≤j≤M" role="presentation" style="box-sizing: border-box; display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 13.5px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">1≤j≤M1≤j≤M, there may be an interrupt signal sent to the processor by an alien spaceship at time tj" role="presentation" style="box-sizing: border-box; display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 13.5px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">tjtj. In order to remain on good terms with the aliens, the processor is required to be running the public job Pj" role="presentation" style="box-sizing: border-box; display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 13.5px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">PjPj at time tj" role="presentation" style="box-sizing: border-box; display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 13.5px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-
SjD
ight: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">tjtj. In other words, each of the M" role="presentation" style="box-sizing: border-box; display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 13.5px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">MM public jobs need to be scheduled such that for 1≤j≤M" role="presentation" style="box-sizing: border-box; display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 13.5px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">1≤j≤M1≤j≤M, if Pj" role="presentation" style="box-sizing: border-box; display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 13.5px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">PjPj starts at the sj" role="presentation" style="box-sizing: border-box; display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 13.5px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">sjsj-th millisecond, then sj≤tj<sj+pj" role="presentation" style="box-sizing: border-box; display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 13.5px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;">sj≤tj<sj+
SjD
this happens when i try to copy directly
klimi
Convert it from html
SjD
sorry for the long message
klimi
Well whatever
klimi
OH you asked on python too
SjD
yea
Anonymous
http://thats-a.link/oQ7RVkH.gif
Anonymous
So far ❤️openGL
Anonymous
http://thats-a.link/9HAwXyV.png
Anonymous
hahahah i think i got to optimize more
klimi
Gj
klimi
Welcome Robin
Akshit
#cbook
Pavel
Do someone use abseil? How is it in your opinion comparing to boost? I heard that abseil is less verbose in some cases than STL and boost
PM
#howtopostcode
PM
/notes
PM
#best
PM
#cbook
PM
#findprojects
PM
#googleit
🐰🐾 سمیه
@ollirz Hi ✋, which OS you think is more suitable for C coding? Ubuntu, Debian or something else and why?
PM
/notes
Any other commands like this ?
Ritu Raj
Ritu Raj
Anonymous
User friendly and idk I just like gnome
Ritu Raj
In third argument of sort()...i.e. compareIntervel, we are not passing any argument then how it is assigning I1,I2 in compareIntervel (Intervel I1,Intervel I2)
Nikolas
everytime the sort methods has to compare two elements , it calls that function with the two Interval it is checking)
🐰🐾 سمیه
Ubuntu, personal opinion
I think it's unstable
Anonymous
It isn't😳 been using Ubuntu since years
Anonymous
Just had some problems with my gtx card sometimes
Anonymous
Infact Ubuntu is one of the most stable Linux distros
🐰🐾 سمیه
It's not
What's its advantage over Debian
Anonymous
Debian haha my friend tried to install it and said, now he hates Linux
Anonymous
I've told him to install Ubuntu and now he loves Linux
klimi
Lol
klimi
Its just the kernel
Anonymous
DOS
That's one of the greatest answers
Anonymous
I'm talking about distro and gnome