Skip to content
View Viriya6's full-sized avatar
πŸ‘¨β€πŸ’»
Competitive Programming
πŸ‘¨β€πŸ’»
Competitive Programming

Block or report Viriya6

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don't include any personal information such as legal names or email addresses. Markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
Viriya6/README.md

About me πŸ§‘πŸ»β€πŸ’» Codeforces Badge

Hello, World! My name is Viriya

SAYA BABU DARI PAK DENGKLEK DAN PARA BEBEK-BEBEKNYA !

I AM A SERVANT OF MR. DENGKLEK AND HIS DUCKS !

known a child named $S$, determine the number of letters "A" in the name!

ΙͺΙ΄α΄˜α΄œα΄› κœ°α΄Κ€α΄α΄€α΄›

A line containing string $S$

α΄α΄œα΄›α΄˜α΄œα΄› κœ°α΄Κ€α΄α΄€α΄›

Total number of letters "A" in the string.

#include <bits/stdc++.h>
#define LOL ios::sync_with_stdio(false);
#define BANGET cin.tie(NULL);
using namespace std;

int main(){
  LOL BANGET
  string s; cin >> s;
  int len = s.length();
  int letterA = 0;
  for(int i = 0; i < len; i++){
    if(s[i] == 'a'){
      letterA++;
    }
  }
  cout << letterA <<endl;
}

πŸ”§ Programming Language:

Python C++

Alt text

Pinned Loading

  1. cp-laj cp-laj Public

    source code my code for competitive programming πŸ‘¨πŸ»β€πŸ’»πŸ™‰

    C++ 1