C++ Caesar Cipher (ASCII Codes) | Algo for Beginners

2024 ж. 21 Мам.
45 816 Рет қаралды

Caesar Cipher shifts every character by a constant. It's easy to code if we use ASCII values.
Train&Win high school contest: challenges.reply.com/tamtamy/...
School registration: replychallenges.com/TrainAndW...
Homework: Day 1 P03 P04 P07 P09, hit "join" on the right to register and submit solutions codeforces.com/group/yg7WhsFs...
0:00 ASCII codes
2:22 check if lowercase
4:31 digit squared
6:45 Train&Win by Reply Code Challenges
7:46 Caesar Cipher
12:31 homework
I stream on Twitch: / errichto

Пікірлер
  • Live stream tomorrow! I will solve easy coding problems on Tuesday at 5pm CET / 8am PST www.twitch.tv/errichto

    @Errichto@Errichto2 жыл бұрын
    • Thanks for giving us these hard questions with easy videos to ubderstand. Hello kamiel my name is nayeem bin reza and I have just admitted to highschool and my classes hasn't started yet. From the pandemic I grew with the interest of coding , problem solving. your videos inspires me and motivates me. thanks for making these videos . THE answer tthe homework 1 is: #include using namespace std; string ceaser_cipher (string s, int k){ string s2; for ( char& c : s ){ int x = c; if ( 65

      @nayeembinreza5266@nayeembinreza52662 жыл бұрын
  • That moment he talked about using mod 26 that clicked something in my brain

    @mrlectus@mrlectus2 жыл бұрын
  • Errichto, your videos are very good. CP is not only a "sport" for many of us, is also a hobby. Incredible work as always.

    @rubyboy9812@rubyboy98122 жыл бұрын
  • Making videos like this raises our level and makes us think in a different way. Please continue with such videos

    @alinasser2799@alinasser27992 жыл бұрын
  • This is an amazing video! Kindly make more of these since you explain it very well and I think this would be extremely helpful for everyone as well. May you be in the best of your health. Thank you.

    @MaazKhan-lw6kz@MaazKhan-lw6kz2 жыл бұрын
  • Your videos give me peace, they are so easy to follow and i feel really comfortable. Keep up the good content!

    @matiaspardini3758@matiaspardini37582 жыл бұрын
  • Errichto we all miss your videos, Please help us all by uploading more frequent videos, We miss you!!🙃 Also please upload : - Beginner level algo video - Pls do consider Leetcode video - Codeforces round(Optional) Thanks

    @ChandraShekhar-by3cd@ChandraShekhar-by3cd2 жыл бұрын
    • He hasn't done Codeforces in a while I thing so yeah maybe he should do a screencast of the next div 1 contest

      @RatioBozo69@RatioBozo692 жыл бұрын
  • Errichto thanks for this video and this explanation. I was running a totally different (and complex) solution to Ceasar Cipher due to a lack of knowledge about operations with characters. This was very helpful.

    @jeffersonkohler4162@jeffersonkohler4162 Жыл бұрын
  • I love these videos. I am trying to learn C++ and trying to get in to competitive programming and this is useful. Thank you

    @tahir2443@tahir24432 жыл бұрын
  • Thank you dear Kamil! Cheers from ARG 🇦🇷

    @guidoenr@guidoenr2 жыл бұрын
  • please continue this beginner series, it's very helpful

    @felipe2637@felipe26372 жыл бұрын
  • Errichto, thanks. Good clear explanation of the matter.

    @JavidCode@JavidCode2 жыл бұрын
  • I think this series of videos where you teach beginners is very good

    @josealejandrovaroncarreno1692@josealejandrovaroncarreno16922 жыл бұрын
  • this moment is called happiness

    @josealejandrovaroncarreno1692@josealejandrovaroncarreno16922 жыл бұрын
  • Thank you for the great lessons

    @niikurasu2855@niikurasu28552 жыл бұрын
  • Errichto it was really interesting video. Thank a lot.

    @fbj736@fbj7362 жыл бұрын
  • This serie Algo for Beginners, is really nice, even if you are not a begginer

    @matheuscosta5330@matheuscosta53302 жыл бұрын
  • Please keep doing this work. 🙏

    @AmitSharma-yb9vc@AmitSharma-yb9vc2 жыл бұрын
  • wonderful content

    @SohailAhmed-hu3dw@SohailAhmed-hu3dw Жыл бұрын
  • Thank for existing

    @tom_cruz424@tom_cruz4242 жыл бұрын
  • thx bruh from all my heart 😍

    @abdullahsaid4765@abdullahsaid47652 жыл бұрын
  • wow, you are back!!! yeah.

    @avahome5285@avahome52852 жыл бұрын
  • Thanks for sharing

    @diegonayalazo@diegonayalazo Жыл бұрын
  • Errichto looks more handsome without his specs 😂😂❣️

    @atharvasalokhe5168@atharvasalokhe51682 жыл бұрын
  • Thanks Errichto...for helping NOobs

    @hckermanrober03@hckermanrober032 жыл бұрын
  • Can you suggest any books or tutorial for advanced c++ for competitive programming?you can also do a tutorial

    @onnoy4304@onnoy43042 жыл бұрын
  • Hi, can you make a small video on matroids which are used to prove the correctness of greedy algorithms?

    @itssidhere@itssidhere2 жыл бұрын
  • What happened to the weekly interview streams?

    @vaibhaves@vaibhaves2 жыл бұрын
  • Kamil you looks really different without glasses.Good Luck brother.

    @mohammedashiqurrahmanbaig6416@mohammedashiqurrahmanbaig64162 жыл бұрын
  • Hi What data types will be used in for loop to read and encrypt a whole sentence. Thanks in advance

    @jatinsingh-kj9rh@jatinsingh-kj9rh5 ай бұрын
  • Hi Errichto Hi Guys I have a doubt In bit masking how do we bit mask a negative number? Like for an example if we want to find the bit mask of the vector [2, 4,-7, -9] Then how should we do it?

    @skt7088@skt70882 жыл бұрын
  • hey i am a beginner i was able to decode and cipher uppercase and also spaces but how do i do special characters? do special characters get stored in string datatype? then how will typecast or store them pls help i want to do it with similar logic using function calls

    @rashidsayyed1443@rashidsayyed1443 Жыл бұрын
  • hi Errichto, i tried to contact you on various platforms. just asking, where are you most active ?

    @prateeksingh6018@prateeksingh60182 жыл бұрын
  • Erricho which tool is this for drawing? Could you please name this?

    @ChandraShekhar-by3cd@ChandraShekhar-by3cd2 жыл бұрын
    • I normally use Onenote, but this time it's just Kolourpaint (which is Ubuntu version of Paint).

      @Errichto@Errichto2 жыл бұрын
    • @@Errichto Thanks Errichto. How have you been, we see fewer streams from your end, we really miss you!

      @ChandraShekhar-by3cd@ChandraShekhar-by3cd2 жыл бұрын
  • Thankyou++;

    @extensionx1285@extensionx12852 жыл бұрын
  • What is the name of the program that he draws in it

    @user-ly8fh8th5q@user-ly8fh8th5q2 жыл бұрын
  • Can someone explain to me in the digit squared why does it have to be x*x

    @tuenhanvo9310@tuenhanvo9310 Жыл бұрын
  • Errichto is the caesar ...

    @angeldarco@angeldarco2 жыл бұрын
  • Hit like who wants DSA playlist by him...💜

    @itz_me_imraan02@itz_me_imraan022 жыл бұрын
  • what a good mam

    @yosuasasauw4006@yosuasasauw40062 жыл бұрын
  • Will there be a time where people can't create new problems and CP will die? I hope that doesn't happen.

    @abdullasulfikkar5282@abdullasulfikkar52822 жыл бұрын
  • First Like , First comment!

    @ChandraShekhar-by3cd@ChandraShekhar-by3cd2 жыл бұрын
  • Fuck Valentine's me and the boiis only watch Kamil teaching us ASCII.

    @vedkorla300@vedkorla3002 жыл бұрын
  • pozdrawiam, szkoda ze nie odpisales na email :)

    @Odpalony@Odpalony2 жыл бұрын
  • Before RU - Ukraine War you teach people how to cipher "Attack" ? lmao !

    @NeroZ3R0@NeroZ3R02 жыл бұрын
  • Wait what? You are teaching people to use bits/stdc++.h and include namespace std? That's REALLY frowned upon by the major C++ community. Please teach newbies the proper way of including and scoping.

    @jhbonarius@jhbonarius2 жыл бұрын
    • Yes, I use those. I teach algorithms, not proper C++ style. While "bits" doesn't always compile, everybody uses "using namespace std" in competitive programming. It's just so convenient. Learning computational thinking is important. When you have a job, it's easy to stop using something. Similarly, it's ok to teach basic English with sentences like "this is pen" instead of "this is a pen". (But I get your point and I don't claim that my method of teaching is superior.)

      @Errichto@Errichto2 жыл бұрын
KZhead