Chat Boss
ㅤСергей sent a code, it has been re-uploaded as a file
Danya🔥
How do you compile your code?
Chat Boss
ㅤСергей sent a code, it has been re-uploaded as a file
Сергей
How do you compile your code?
g++ -std=c++20 -I ./BigNumber/src main.cpp ./BigNumber/src/bignumber.cpp -o main
Danya🔥
g++ -std=c++20 -I ./BigNumber/src main.cpp ./BigNumber/src/bignumber.cpp -o main
Well your code is not optimized. That's why it's executed with a significant delay. Add -O3 flag to your compilation
Сергей
Okay, I'll try now
Сергей
Indeed, the execution time has been reduced to 1.5 seconds. However, python does it instantly. Perhaps this is due to the peculiarities of the library implementation.
Pavel
Indeed, the execution time has been reduced to 1.5 seconds. However, python does it instantly. Perhaps this is due to the peculiarities of the library implementation.
Looking at the code of the library, they did zero things to make it fast (or rather the opposite). E.g. it stores the value internally in a std::string and in pow reallocates it in a cycle god knows how many times per iteration
hlebyshek
Indeed, the execution time has been reduced to 1.5 seconds. However, python does it instantly. Perhaps this is due to the peculiarities of the library implementation.
try also to bechmark only calculations, excluding io I remember a typical example where python is faster then c++ due to buffering in io or something like this
\Device\NUL
g++ -std=c++20 -I ./BigNumber/src main.cpp ./BigNumber/src/bignumber.cpp -o main
You should do std::ios_base::sync_with_stdio(false) to make it faster
\Device\NUL
Why the hell C++ standard still made it become default until this day
Rose
Another one bites the dust...! Banned .​.​.​. Reason: promo
Krishna
How can we use c programming while coding C++ in same program
Ighor
How can we use c programming while coding C++ in same program
google.com/search?q=How+can+we+use+c+programming+while+coding+C%2B%2B+in+same+program
Danya🔥
Wtf are you talking about lol
Rose
Purge complete.
...
Wtf are you talking about lol
Unfortunately, because my English is bad, sometimes I can't explain what I mean, which causes me to make ridiculous sentences.
Danya🔥
D language isn't related to python in any way
Amrita
Hi
Amrita
Can anyone explain me about python
Rose
Can anyone explain me about python
User Amrita has 1/2 warnings; be careful! Reason: offtop
...
D language isn't related to python in any way
I use translation, but some words in my native language do not translate correctly because they consist of a single letter
...
Can anyone explain me about python
Bro Read Rules and This is C++ Group , Dont ask about python
Amrita
I am sorry
Amrita
Can anyone post question regarding c++ program
Evy
Hi
Evy
What is c++
Rose
Purge complete.
Simple Sorcerer
What is c++
Programming language
Simple Sorcerer
What is c++
You can see more information on Wikipedia
Коля
What is c++
You're from another universe?
𝘔𝘳. 𝘉𝘢𝘯𝘢𝘳𝘢𝘴𝘪𝘺𝘢 🥀
Multiverse peoples coming here😂
Amrita
What is c++
Brother what the question u have asked
Keshav
What is c++
its a high school grade
Amrita
What is c++
Btw if u were not knowing then how come u have entered this group??
.....
Can anyone help me set up my visual studio code? I'm facing some problems setting it up. Like i saw a video and I followed all the steps but when I tried to run the code in the terminal it showed something else and I don't get it since I'm a noob in c language. The person in the video wrote some commands but it showed an error in mine. I have checked the run and it is right. And working in output but not in terminal.
Pavel
And the commands that you type to get that output
Krishna
What will be the expected salary of c++ programmer fresher in India please tell me in Ruppes
Rose
What will be the expected salary of c++ programmer fresher in India please tell me in Ruppes
Offtopic discussions should be done in the C/C++ Offtopic group. Please take your discussion/questions there.
Shady
its a high school grade
Ofc Drake tells this definition
Rose
Offtopic discussions should be done in the C/C++ Offtopic group. Please take your discussion/questions there.
klimi
you joined like 10 times, what do you mean it is not working?
Коля
Doesn't matter.
Rose
User .​.​.​ has 1/2 warnings; be careful! Reason: offtop
Rose
Contact me in PM for help!
Rose
Purge complete.
Charlie
I am now starting programming with c++ i have installed cs code and everything including mingw
Charlie
but i can use only one file to write code if i create another file and write another code it says directory not found can i pls get some help
Charlie
VS Code?
yh VS code sorry
Shady
yh VS code sorry
Which code runner extension are you using and can you share a screenshot of vscode when you're trying to run the second file and getting the error
Charlie
My name is Charles and i am 23 years old
Never Spam Bot
. is now approved by the group admin and can send messages without any restrictions Google it See spam? Quote it and send /spam
Rose
My name is Charles and i am 23 years old
Offtopic discussions should be done in the C/C++ Offtopic group. Please take your discussion/questions there.
Coder l Programmer l Android App Developer
Hello
Fist
hello
klimi
nohello.com
Fist
no website
klimi
Fist
nohello.com
i can't visit is
Fist
it
klimi
i can't visit is
try this one: http://nohello.org/
Fist
o i know this idea is good
Fist
i.send hello to my friend usually.i don't think this at last time
Fist
this website is good
klimi
this website is good
indeed, so try to follow it since we have it in the rules. Thank you
Fist
ok i know thanks
klimi
what?
Yashas
C programming
Yashas
/sban