MᏫᎻᎯᎷᎷᎬᎠ
klimi
BinaryByter
Thanks :D
/warn is thankfuö
MᏫᎻᎯᎷᎷᎬᎠ
Waaa😍
Wtf is that
BinaryByter
He is happy about me insulting him
klimi
What
BinaryByter
What
it was a joke
MᏫᎻᎯᎷᎷᎬᎠ
/ban Don't warn a Lunatic
klimi
Whatever
Anonymous
? I'm confuses what happens right know??
Anonymous
Hmm
BinaryByter
/ban Don't warn a Lunatic
/warn challenge accepted
klimi
I'll go to pm
MᏫᎻᎯᎷᎷᎬᎠ
MᏫᎻᎯᎷᎷᎬᎠ
BinaryByter
MᏫᎻᎯᎷᎷᎬᎠ
I can learn css & html at anytime
MᏫᎻᎯᎷᎷᎬᎠ
I'm just lazy to so
BinaryByter
"to so" - english verb
MᏫᎻᎯᎷᎷᎬᎠ
and you will!
Yes HE will
BinaryByter
Anonymous
Can promote ig?
MᏫᎻᎯᎷᎷᎬᎠ
Can promote ig?
Rose is a bot
MᏫᎻᎯᎷᎷᎬᎠ
Not a human
Parra
use msvc and cmake from GUI
MᏫᎻᎯᎷᎷᎬᎠ
Stop flirting with it
klimi
Can promote ig?
No, try and it will burn you
Anonymous
I'm robot I already tell you
Anonymous
👍
klimi
klimi
Calm down
MᏫᎻᎯᎷᎷᎬᎠ
Yeah
Anonymous
You all are funny
Anonymous
Good night
klimi
Gn
MᏫᎻᎯᎷᎷᎬᎠ
Good night
Good night
MᏫᎻᎯᎷᎷᎬᎠ
Lmao xDDD
MᏫᎻᎯᎷᎷᎬᎠ
Nothing
klimi
Ok
olli
Yeeaaah Go go olli
haha - yeah sure!
MᏫᎻᎯᎷᎷᎬᎠ
Anonymous
#include<iostream> #include<vector> #include<algorithm> using namespace std; int main() { int t; cin>>t; while(t--) { long long int N=0,i,m=0,d,dig,k=0,cntt=0,ans=0; vector<int> a; cin>>N>>d; k=ans=N; while(k>1) { dig=k%10; a.push_back(dig); k/=10; cntt++; } reverse(a.begin(),a.end()); for(i=0;i<cntt;i++) { cout<<a[i]; } m=cntt; for(i=0;i<m;i++) { if(a[i]>=m) { ans=(N-(10*cntt*a[i]))*10+d; break; } cntt--; } cout<<ans<<endl; } }
Anonymous
I m not getting right o/p
Mihail
we can't read your mind, just so you know
Mihail
an with those very descriptive variable names you'll have to do a lot of explaining
Mihail
let me guess you're using a translator?
Mihail
"K and does not like any other digit, so he decided to change m." this sentence makes 0 sense to me
Mihail
Well you separate and reverse the digits correctly, but I'm not sure what the ans=.... line is meant to do
Anonymous
Any recommend c++ projects for noobs
Anonymous
Hello
MᏫᎻᎯᎷᎷᎬᎠ
Any recommend c++ projects for noobs
Simple console real Calculator
BinaryByter
lmfao ma dudes, lets all switch to python
MᏫᎻᎯᎷᎷᎬᎠ
Let's start with "python is greate"
BinaryByter
no, it really is for tasks you gotta do quickly
BinaryByter
it has some really cool paradygms
BinaryByter
but C++ is still my love <3
Francisco
It's like marking functions/variables as static, so the name of those can be use in other compilation units
Nehemiah Aklil
guys can we print out letter in cpp
Nehemiah Aklil
like ppls name
Nehemiah Aklil
for eg printing out my name Nehemiah
BinaryByter
wat?
Nehemiah Aklil
wat?
😂😂🤦🏽‍♂️
BinaryByter
std::cout << "hello world\n";
BinaryByter
std::cout << "hello world\n";
when you change the text in the code example, it still compiles
Nehemiah Aklil
I want to print out names in nested for loops
BinaryByter
?
Nehemiah Aklil
using asterik ?
BinaryByter
?
Nehemiah Aklil
for (int i=1 ; i<=5 ; i++){ for(int j=1; j<=i ; j++){ std::cout << " * "; } std::cout << "\n"; }
tyoc213
Im teaching one person programming, and I think this type of programs could help
Nehemiah Aklil
wat
Nehemiah Aklil
this would not work well dude😂
Nehemiah Aklil
Language: c++ Source: #include <iostream> using namespace std; int main(){ for (int i = 1; i <= 5; i++){ for (int j = 1; j <= i; j++){ cout << " * "; } cout << "\n"; } } Result: * * * * * * * * * * * * * * * Note: cplusplus_gcc assumed, other valid options are cplusplus_clang, visual_cplusplus, you can be more specific next time.