BinaryByter
I once played that in class
BinaryByter
the teacher started being SUPER pissed
Ab....Hannan
How can we write a programm that print all english alphabet from A till z (like this:Aa,Bb,Cc and so on.......Zz). Help me.
BinaryByter
theres just one way
BinaryByter
HARDCODE THE ALPHABET
🐰🐾 سمیه
any SSD should be fine unless you are a pro gamer
I hate games, my laptop is running slow.
BinaryByter
(or use the ascii table)
BinaryByter
I hate games, my laptop is running slow.
its probably not JUST because of the harddrive
Ab....Hannan
I know that
🐰🐾 سمیه
BinaryByter
you probably use windows, right?
Ab....Hannan
But I don't know how to write the code that print (Aa,Bb....)
BinaryByter
lol
🐰🐾 سمیه
Nope, Ubuntu 18.10
H
Photo from Dinero
Prometheus
Nope, Ubuntu 18.10
Ubuntu is like the windows version of Linux
H
Please help me out
Francisco
Please help me out
What's the problem?
Anonymous
Please help me out
Put away your homework
Anonymous
🐰🐾 سمیه
Ubuntu is like the windows version of Linux
You're right. But my bootup time used to be just 12 seconds on windows . But Ubuntu's is 2 minutes. I did everythinh but couldn't improve it.
Anonymous
But this is offtopic
🐰🐾 سمیه
Use Arch
That's so difficult to get the hang of it.
BinaryByter
kek no
Anonymous
Not really
Anonymous
But again OT
BinaryByter
yep
Anonymous
Wait where is the OT group
Nikolas
Suggesting to switch distro just to speed up things is the linux version of suggesting to format windows when it gets slow, just sayin'
🐰🐾 سمیه
Suggesting to switch distro just to speed up things is the linux version of suggesting to format windows when it gets slow, just sayin'
Which distro is suitable for me ( I want it for programming purposes) ? I don't have much knowledge of Linux (installed it 4 months ago).
Nikolas
lol why should she use Arch?
Prometheus
I would’ve said BSD
Nikolas
I really don't get Arch fanboys
Prometheus
What do you use?
Nikolas
just get a distro that you are comfortable with and go with that one. If you decide to change after it's not hard
Nikolas
I mainly use Debian testing and Debian unstable, but it really depends
Prometheus
I’m not big on Linux but are Debian and arch compatible?
🐰🐾 سمیه
lol why should she use Arch?
I've heard it's so difficult, because I would have to install it bit by bit. 😱
🐰🐾 سمیه
I would’ve said BSD
What's that?
Anonymous
Because Arch is minimal once installed and it teaches you how Linux works.
Nikolas
I've heard it's so difficult, because I would have to install it bit by bit. 😱
it's a bit harder to install than other more mainstream distros, that's for sure, but it's not extremely hard
Prometheus
What's that?
It’s a different OS that is all developed together, is mature and very stable.
Prometheus
Compatible?
Comparable I meant. Sorry. Like aren’t they pretty close in terms of installation and how they handle things.
Anonymous
Ok but that's not necessarily her need
Everyone who uses Linux should know a good amount of command line.
Nikolas
you can and will use a good amount of command line with other distros as well
Anonymous
Comparable I meant. Sorry. Like aren’t they pretty close in terms of installation and how they handle things.
Not really, I'd describe the main release of Debian and Arch to be polar opposites. Arch's packages are the latest and Debian's are quite old for stability reasons
Anonymous
you can and will use a good amount of command line with other distros as well
Some people use Ubuntu and never touch the command line. Arch teaches you lots of command line right off the bat
Anonymous
Debian Sid and Arch are quite similar
Raul
We off topic bois
Nikolas
Some people use Ubuntu and never touch the command line. Arch teaches you lots of command line right off the bat
yeah but it's the equivalent of throwing your kid into the water to teach him to swim 😅
Nikolas
🐰🐾 سمیه
For now, what kind of SSD should I get? 😶😂
Nikolas
I'll join the OT chat xD
Nikolas
#ot
Raul
But I am a Ubuntu pleb who lives on command lines
Anonymous
Oh I was looking for that
🐰🐾 سمیه
My connector is SATA 2-3 Gib/s Can I get a NVMe model?
Raul
^ ask your question in that chat.
🐰🐾 سمیه
Ok, thanks
🐰🐾 سمیه
^ ask your question in that chat.
No one answers there 🥺
Raul
I did
Anonymous
Anonymous
someone help me out with this plzzz
Anonymous
its not working
Raul
What does "not working" mean?
Raul
Ask a question
Anonymous
how to implement stringstream class inside a loop?
Raul
how to implement stringstream class inside a loop?
What are you trying to do with this code? It doesn't make sense
Anonymous
#include <bits/stdc++.h> using namespace std; int Count1(void) { string str; getline(cin,str); vector<string>token1; stringstream check1(str); string intermediate1; while(getline(check1,intermediate1,' ')) { token1.push_back(intermediate1); } string str2=token1[0]; string str3=token1[1]; char k=str3[0]; vector<string>token2; stringstream check2(str2); string intermediate2; while(getline(check2,intermediate2,k)){ token2.push_back(intermediate2); } int count=0; for(int i=0;i<token2.size();i++) { count=count+ (token2[i].length()+1)*token2[i].length()/2; } int tempcount=(str2.length()+1)*str2.length()/2; tempcount=tempcount-count; return tempcount; } int main() { int t; cin>>t; while(t--) { cout<<Count1()<<endl; } return 0; }
Anonymous
Anonymous
https://www.codechef.com/APRIL19B/problems/STRCH