criyle/codenet-compile-errors huggingface dataset:
Language: C++

#include <iostream>
#include <cctype>

#define MAX_LEN (1200)

using namespace std;

int main()
{
    char* str = new char[MAX_LEN + 1];
    int*  counter = new int[26] = {0};
    
    cin.getline(str, MAX_LEN, '\n');

    for (int i = 0; str[i] != '\0'; i++) {
         if (str[i] >= 'A' && str[i] <= 'Z')
             str[i] = tolower(str[i]);
         }

         if (str[i] >= 'A' && str[i] <= 'z'; i++) {
             counter[ch - 'a']++;
         }
    }

    for (int i = 0; i < 26; i++) {
         cout << 'a' + i << counter[i] << endl;
    }

    delete[] str;
    delete[] counter;

    return (0);
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:21: error: lvalue required as left operand of assignment
   11 |     int*  counter = new int[26] = {0};
      |                     ^~~~~~~~~~~
a.cc:20:18: error: 'i' was not declared in this scope
   20 |          if (str[i] >= 'A' && str[i] <= 'z'; i++) {
      |                  ^
a.cc:21:22: error: 'ch' was not declared in this scope
   21 |              counter[ch - 'a']++;
      |                      ^~
a.cc: At global scope:
a.cc:25:5: error: expected unqualified-id before 'for'
   25 |     for (int i = 0; i < 26; i++) {
      |     ^~~
a.cc:25:21: error: 'i' does not name a type
   25 |     for (int i = 0; i < 26; i++) {
      |                     ^
a.cc:25:29: error: 'i' does not name a type
   25 |     for (int i = 0; i < 26; i++) {
      |                             ^
a.cc:29:5: error: expected unqualified-id before 'delete'
   29 |     delete[] str;
      |     ^~~~~~
a.cc:30:5: error: expected unqualified-id before 'delete'
   30 |     delete[] counter;
      |     ^~~~~~
a.cc:32:5: error: expected unqualified-id before 'return'
   32 |     return (0);
      |     ^~~~~~
a.cc:33:1: error: expected declaration before '}' token
   33 | }
      | ^
Language: C++

#include <iostream>
#include <cctype>

#define MAX_LEN (1200)

using namespace std;

int main()
{
    char* str = new char[MAX_LEN + 1];
    int*  counter = new int[26] = {0};
    
    cin.getline(str, MAX_LEN, '\n');

    for (int i = 0; str[i] != '\0'; i++) {
         if (str[i] >= 'A' && str[i] <= 'Z')
             str[i] = tolower(str[i]);
         }

         if (str[i] >= 'A' && str[i] <= 'z') {
             counter[str[i] - 'a']++;
         }
    }

    for (int i = 0; i < 26; i++) {
         cout << 'a' + i << counter[i] << endl;
    }

    delete[] str;
    delete[] counter;

    return (0);
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:21: error: lvalue required as left operand of assignment
   11 |     int*  counter = new int[26] = {0};
      |                     ^~~~~~~~~~~
a.cc:20:18: error: 'i' was not declared in this scope
   20 |          if (str[i] >= 'A' && str[i] <= 'z') {
      |                  ^
a.cc: At global scope:
a.cc:25:5: error: expected unqualified-id before 'for'
   25 |     for (int i = 0; i < 26; i++) {
      |     ^~~
a.cc:25:21: error: 'i' does not name a type
   25 |     for (int i = 0; i < 26; i++) {
      |                     ^
a.cc:25:29: error: 'i' does not name a type
   25 |     for (int i = 0; i < 26; i++) {
      |                             ^
a.cc:29:5: error: expected unqualified-id before 'delete'
   29 |     delete[] str;
      |     ^~~~~~
a.cc:30:5: error: expected unqualified-id before 'delete'
   30 |     delete[] counter;
      |     ^~~~~~
a.cc:32:5: error: expected unqualified-id before 'return'
   32 |     return (0);
      |     ^~~~~~
a.cc:33:1: error: expected declaration before '}' token
   33 | }
      | ^
Language: C++

#include <iostream>
#include <cctype>

#define MAX_LEN (1200)

using namespace std;

int main()
{
    char* str = new char[MAX_LEN + 1];
    int*  counter = new int[26];

    for (int i = 0; i < 26; i++) {
         counter[i] = 0;
    }
    
    cin.getline(str, MAX_LEN, '\n');

    for (int i = 0; str[i] != '\0'; i++) {
         if (str[i] >= 'A' && str[i] <= 'Z')
             str[i] = tolower(str[i]);
         }

         if (str[i] >= 'A' && str[i] <= 'z') {
             counter[str[i] - 'a']++;
         }
    }

    for (int i = 0; i < 26; i++) {
         cout << 'a' + i << counter[i] << endl;
    }

    delete[] str;
    delete[] counter;

    return (0);
}

Compiler output:
a.cc: In function 'int main()':
a.cc:24:18: error: 'i' was not declared in this scope
   24 |          if (str[i] >= 'A' && str[i] <= 'z') {
      |                  ^
a.cc: At global scope:
a.cc:29:5: error: expected unqualified-id before 'for'
   29 |     for (int i = 0; i < 26; i++) {
      |     ^~~
a.cc:29:21: error: 'i' does not name a type
   29 |     for (int i = 0; i < 26; i++) {
      |                     ^
a.cc:29:29: error: 'i' does not name a type
   29 |     for (int i = 0; i < 26; i++) {
      |                             ^
a.cc:33:5: error: expected unqualified-id before 'delete'
   33 |     delete[] str;
      |     ^~~~~~
a.cc:34:5: error: expected unqualified-id before 'delete'
   34 |     delete[] counter;
      |     ^~~~~~
a.cc:36:5: error: expected unqualified-id before 'return'
   36 |     return (0);
      |     ^~~~~~
a.cc:37:1: error: expected declaration before '}' token
   37 | }
      | ^
Language: C++

#include <iostream>
#include <cctype>

#define MAX_LEN (1200)

using namespace std;

int main()
{
    char* str = new char[MAX_LEN + 1];
    int*  counter = new int[26];

    for (int i = 0; i < 26; i++) {
         counter[i] = 0;
    }
    
    while (cin >> str) {
           for (int i = 0; str[i] != '\0'; i++) {
                if (str[i] >= 'A' && str[i] <= 'Z') {
                    str[i] = tolower(str[i]);
                }

           if (str[i] >= 'a' && str[i] <= 'z') {
               int num = str[i] - 'a';
               counter[num]++;
           }
    }

    for (int i = 0; i < 26; i++) {
         cout << (char)('a' + i) << " : " << counter[i] << endl;
    }

    delete[] str;
    delete[] counter;

    return (0);
}

Compiler output:
a.cc: In function 'int main()':
a.cc:37:2: error: expected '}' at end of input
   37 | }
      |  ^
a.cc:9:1: note: to match this '{'
    9 | {
      | ^
Language: C++

#include <iostream>
#include <cstring>
#include <cctype>

#define MAX_LEN (1200)

using namespace std;

int main()
{
    char* str = new char[MAX_LEN + 1];
    int*  counter = new int[26];
    int*  lest = MAX_LEN;

    for (int i = 0; i < 26; i++) {
         counter[i] = 0;
    }
    
    while (cin.getline(str, lest)) {
           for (int i = 0; str[i] != '\0'; i++) {
                if (str[i] >= 'A' && str[i] <= 'Z') {
                    str[i] = tolower(str[i]);
                }
           

                if (str[i] >= 'a' && str[i] <= 'z') {
                    int num = str[i] - 'a';
                    counter[num]++;
                }
           }

           lest -= strlen(str);
    }

    for (int i = 0; i < 26; i++) {
         cout << (char)('a' + i) << " : " << counter[i] << endl;
    }

    delete[] str;
    delete[] counter;

    return (0);
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:18: error: invalid conversion from 'int' to 'int*' [-fpermissive]
    5 | #define MAX_LEN (1200)
      |                 ~^~~~~
      |                  |
      |                  int
a.cc:13:18: note: in expansion of macro 'MAX_LEN'
   13 |     int*  lest = MAX_LEN;
      |                  ^~~~~~~
a.cc:19:29: error: invalid conversion from 'int*' to 'std::streamsize' {aka 'long int'} [-fpermissive]
   19 |     while (cin.getline(str, lest)) {
      |                             ^~~~
      |                             |
      |                             int*
In file included from /usr/include/c++/14/iostream:42,
                 from a.cc:1:
/usr/include/c++/14/istream:520:42: note:   initializing argument 2 of 'std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::getline(char_type*, std::streamsize) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>; char_type = char; std::streamsize = long int]'
  520 |       getline(char_type* __s, streamsize __n)
      |                               ~~~~~~~~~~~^~~
Language: C++


using namespace std;

int main()
{
    char* str = new char[MAX_LEN + 1];
    int*  counter = new int[26];
    int   lest = MAX_LEN;

    for (int i = 0; i < 26; i++) {
         counter[i] = 0;
    }
    
    while (cin.getline(str, lest)) {
           for (int i = 0; str[i] != '\0'; i++) {
                if (str[i] >= 'A' && str[i] <= 'Z') {
                    str[i] = tolower(str[i]);
                }
           

                if (str[i] >= 'a' && str[i] <= 'z') {
                    int num = str[i] - 'a';
                    counter[num]++;
                }
           }

           lest -= strlen(str);
    }

    for (int i = 0; i < 26; i++) {
         cout << (char)('a' + i) << " : " << counter[i] << endl;
    }

    delete[] str;
    delete[] counter;

    return (0);
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:26: error: 'MAX_LEN' was not declared in this scope
    6 |     char* str = new char[MAX_LEN + 1];
      |                          ^~~~~~~
a.cc:14:12: error: 'cin' was not declared in this scope
   14 |     while (cin.getline(str, lest)) {
      |            ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | 
a.cc:17:30: error: 'tolower' was not declared in this scope
   17 |                     str[i] = tolower(str[i]);
      |                              ^~~~~~~
a.cc:27:20: error: 'strlen' was not declared in this scope
   27 |            lest -= strlen(str);
      |                    ^~~~~~
a.cc:1:1: note: 'strlen' is defined in header '<cstring>'; this is probably fixable by adding '#include <cstring>'
  +++ |+#include <cstring>
    1 | 
a.cc:31:10: error: 'cout' was not declared in this scope
   31 |          cout << (char)('a' + i) << " : " << counter[i] << endl;
      |          ^~~~
a.cc:31:10: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:31:60: error: 'endl' was not declared in this scope
   31 |          cout << (char)('a' + i) << " : " << counter[i] << endl;
      |                                                            ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 |
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main(){
char c;
int n[26]={};
while(cin>>c){
c= tolower(c);
if(isalpha(c)){
cnt[c-'a']++;
}
}
for(int i=0;i<26;i++){
printf("%c : %d\n",i+'a',n[i]);
}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:1: error: 'cnt' was not declared in this scope; did you mean 'int'?
    9 | cnt[c-'a']++;
      | ^~~
      | int
Language: C++

#include <iostream>

using namespace std;

int main() {
	
	char sentence[1200];
	int count[26];
	int index, val;
	//cout << (int)'a' << " " << (int)'b' << " " <<(int)'z' <<" "<< (int)'A' <<" "<< (int)'B' <<" "<< (int)'Z' << endl;
	//cout << (char)65 << endl;
	//a->97 z->122
	//A->65 Z->90

	cin >> sentence;

	//cout << "len = " << strlen(sentence) << endl;

	//????????????????????????
	for (int i = 0; i < 26; i++) {
		count[i] = 0;
	}
		
	for (int i = 0; i < strlen(sentence); i++) {
		//65~90 97~122?????¨???????????????
		val = (int)sentence[i];
		//??§???????????¨???
		if (val >= 65 && val <= 90) {
			index = val - (int)'A';
			count[index]++;
		}
		//?°????????????¨???
		else if (val >= 97 && val <= 122) {
			index = val - (int)'a';
			count[index]++;
		}
	}

	//??¨???
	for (int i = 0; i < 26; i++) {
	cout << (char)(i + 97) << " : " << count[i] << endl;
	}
	/*
	while (cin >> sentence) {

		//????????????????????????
		for (int i = 0; i < 26; i++) {
			count[i] = 0;
		}

			//65~90 97~122?????¨???????????????
			val = (int)sentence;
			//??§???????????¨???
			if (val >= 65 && val <= 90) {
				index = val - (int)'A';
				count[index]++;
			}
			//?°????????????¨???
			else if (val >= 97 && val <= 122) {
				index = val - (int)'a';
				count[index]++;
			}

	}

	//??¨???
	for (int i = 0; i < 26; i++) {
		cout << (char)(i + 97) << " : " << count[i] << endl;
	}
	*/

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:24:29: error: 'strlen' was not declared in this scope
   24 |         for (int i = 0; i < strlen(sentence); i++) {
      |                             ^~~~~~
a.cc:2:1: note: 'strlen' is defined in header '<cstring>'; this is probably fixable by adding '#include <cstring>'
    1 | #include <iostream>
  +++ |+#include <cstring>
    2 |
Language: C++

include <iostream>
using namespace std;
string smallchange(string a){ 
  for(int i = 0;i < a.length();i++){
    if(a[i] >= 'A' && a[i] <= 'Z'){
      a[i] = a[i] + 0x20;
    }   
  }
  return a;
}
int main(){
 std::string bun;
 getline(cin,bun);
 bun = smallchange(bun);
 int a[29] = {0};
 string c = "a";
 for(int i = 0;i < bun.length();i++){
   for(int j = 0;j < 26; j++){
     if(bun[i] == 'a'+j){
       a[j]++;
     }   
   }   
 }
 for(int i = 0;i < 26;i++){
   cout << c << " : " << a[i]<< endl;
   c[0]++;
 }
}

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include <iostream>
      | ^~~~~~~
a.cc:3:1: error: 'string' does not name a type
    3 | string smallchange(string a){
      | ^~~~~~
a.cc: In function 'int main()':
a.cc:12:7: error: 'string' is not a member of 'std'
   12 |  std::string bun;
      |       ^~~~~~
a.cc:1:1: note: 'std::string' is defined in header '<string>'; this is probably fixable by adding '#include <string>'
  +++ |+#include <string>
    1 | include <iostream>
a.cc:13:10: error: 'cin' was not declared in this scope
   13 |  getline(cin,bun);
      |          ^~~
a.cc:13:14: error: 'bun' was not declared in this scope
   13 |  getline(cin,bun);
      |              ^~~
a.cc:13:2: error: 'getline' was not declared in this scope
   13 |  getline(cin,bun);
      |  ^~~~~~~
a.cc:14:8: error: 'smallchange' was not declared in this scope
   14 |  bun = smallchange(bun);
      |        ^~~~~~~~~~~
a.cc:16:2: error: 'string' was not declared in this scope
   16 |  string c = "a";
      |  ^~~~~~
a.cc:25:4: error: 'cout' was not declared in this scope
   25 |    cout << c << " : " << a[i]<< endl;
      |    ^~~~
a.cc:25:12: error: 'c' was not declared in this scope
   25 |    cout << c << " : " << a[i]<< endl;
      |            ^
a.cc:25:33: error: 'endl' was not declared in this scope
   25 |    cout << c << " : " << a[i]<< endl;
      |                                 ^~~~
Language: C++

#include <iostream>
#include <string>
using namespace std;
int main()
{
	string arg;
	getline(cin, arg);
	
	for (int i2(0), n2(arg.length); i2 < n2; ++i2)
	{
		if(arg[i2] < 'Z') { arg[i2] = arg[i2] - 'A' + 'a'; } 
	}
		
	for (char i('a'); i < ('z'); ++i)
	{
		int tmp;
		
		for (int i2(0), n2(arg.length); i2 < n2; ++i2)
		{
			if (arg[i2] == i) { tmp++; }
		}
		
		cout << i <<' : ' << tmp << endl; 
	}
	
	return 0;
}

Compiler output:
a.cc:23:29: warning: multi-character character constant [-Wmultichar]
   23 |                 cout << i <<' : ' << tmp << endl;
      |                             ^~~~~
a.cc: In function 'int main()':
a.cc:9:38: error: cannot convert 'std::__cxx11::basic_string<char>::length' from type 'std::__cxx11::basic_string<char>::size_type (std::__cxx11::basic_string<char>::)() const noexcept' {aka 'long unsigned int (std::__cxx11::basic_string<char>::)() const noexcept'} to type 'int'
    9 |         for (int i2(0), n2(arg.length); i2 < n2; ++i2)
      |                                      ^
a.cc:18:46: error: cannot convert 'std::__cxx11::basic_string<char>::length' from type 'std::__cxx11::basic_string<char>::size_type (std::__cxx11::basic_string<char>::)() const noexcept' {aka 'long unsigned int (std::__cxx11::basic_string<char>::)() const noexcept'} to type 'int'
   18 |                 for (int i2(0), n2(arg.length); i2 < n2; ++i2)
      |                                              ^
Language: C++

#include <iostream>
#include <string>
using namespace std;
int main()
{
	string arg;
	getline(cin, arg);
	
	for (int i2(0), n2(arg.length); i2 < n2; ++i2)
	{
		if(arg[i2] < 'Z') { arg[i2] = arg[i2] - 'A' + 'a'; } 
	}
		
	for (char i('a'); i < ('z'); ++i)
	{
		int tmp;
		
		for (int i2(0), n2(arg.length()); i2 < n2; ++i2)
		{
			if (arg[i2] == i) { tmp++; }
		}
		
		cout << i <<' : ' << tmp << endl; 
	}
	
	return 0;
}

Compiler output:
a.cc:23:29: warning: multi-character character constant [-Wmultichar]
   23 |                 cout << i <<' : ' << tmp << endl;
      |                             ^~~~~
a.cc: In function 'int main()':
a.cc:9:38: error: cannot convert 'std::__cxx11::basic_string<char>::length' from type 'std::__cxx11::basic_string<char>::size_type (std::__cxx11::basic_string<char>::)() const noexcept' {aka 'long unsigned int (std::__cxx11::basic_string<char>::)() const noexcept'} to type 'int'
    9 |         for (int i2(0), n2(arg.length); i2 < n2; ++i2)
      |                                      ^
Language: C++

import java.io.*;

class Main {
    public static void main (String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String str;
        StringBuilder sb = new StringBuilder();
        char[] charArr;
        char c;
        int count;
        while ((str = br.readLine()) != null) {
            try {
                sb.append(str.toCharArray());
            } catch (Exception e) {
                break;
            }
            
        }
        charArr = sb.toString().toCharArray();
        for (c = 'a'; c <= 'z'; c++) {
             count = 0;
             for (char x : charArr) {
                if (x == c || x == Character.toUpperCase(c)) {
                    count++;
                }
            }
            System.out.println(c + " : " + count);
        }
    }
}

Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import java.io.*;
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:4:11: error: expected ':' before 'static'
    4 |     public static void main (String[] args) throws Exception {
      |           ^~~~~~~
      |           :
a.cc:4:30: error: 'String' has not been declared
    4 |     public static void main (String[] args) throws Exception {
      |                              ^~~~~~
a.cc:4:39: error: expected ',' or '...' before 'args'
    4 |     public static void main (String[] args) throws Exception {
      |                                       ^~~~
a.cc:4:43: error: expected ';' at end of member declaration
    4 |     public static void main (String[] args) throws Exception {
      |                                           ^
      |                                            ;
a.cc:4:45: error: 'throws' does not name a type
    4 |     public static void main (String[] args) throws Exception {
      |                                             ^~~~~~
a.cc:30:2: error: expected ';' after class definition
   30 | }
      |  ^
      |  ;
Language: C++

#include <iostream>
#include <string>
#include <map>

using namespace std;

int main()
{
    map<char, int> count;

    string str;
    getline(cin, str);


    for(size_t i = 0; i < str.length(); i++)
    {
        if(isuuper(str[i])){ str[i] = tolower(str[i]); }
        count[str[i]]++;
    }

    for(char c = 'a'; c <= 'z'; c++)
    {
        cout << c << " : " << count[c] << endl;
    }

    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:17:12: error: 'isuuper' was not declared in this scope; did you mean 'isupper'?
   17 |         if(isuuper(str[i])){ str[i] = tolower(str[i]); }
      |            ^~~~~~~
      |            isupper
Language: C++

import sys

for line in sys.stdin:
    cnt = [0]*26
    for a in line:
        if(ord(a) >= 65 and ord(a) <= 90):
            cnt[ord(a) - 65] += 1
        if(ord(a) >= 97 and ord(a) <= 122):
            cnt[ord(a) - 97] += 1

for i in xrange(26):
    print unichr(97 + i) + " : " + str(cnt[i])

Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import sys
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
Language: C++

import sys

cnt = [0]*26
for line in sys.stdin:
    for a in line:
        if(ord(a) >= 65 and ord(a) <= 90):
            cnt[ord(a) - 65] += 1
        if(ord(a) >= 97 and ord(a) <= 122):
            cnt[ord(a) - 97] += 1

for i in xrange(26):
    print unichr(97 + i) + " : " + str(cnt[i])

Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import sys
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
Language: C++

/*
    ????????°??§???????????¨????????????
*/

#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <stdlib.h>
#include <math.h>
#include <time.h>
#include <limits.h>
#include <iostream>
#include <algorithm>
#include <string>
#include <iterator>
#include <vector>
#include <map>
#include <utility>
#define LLU unsigned long long int
#define LL long long int
#define LD long double
using namespace std;
#define LLUmax ULLONG_MAX
#define LLmax LLONG_MAX
#define dmax INT_MAX
#define vd vector<int>
#define vLL vector<long long int>
#define vLLU vector<unsigned long long int> 
#define pb push_back
#define mp make_pair
#define fi first
#define sec second
#define debug printf("asd\n")
#define debugd(a) printf("--%d\n",a)
#define debugdd(a,b) printf("--%d %d\n",a,b)
#define debugarr(a,b) for(int i=0 ; i<b ; i++)printf("%d ",a[i]);printf("\n")
#define newline printf("\n")
#define forin(a,b,c) for(int a=b ; a<c ; a++)
#define forde(a,b,c) for(int a=b ; a<c ; a--)


inline void scd(int &a){scanf("%d",&a);}
inline void scdd(int &a,int &b){scanf("%d %d",&a,&b);}
inline void sctd(int &a,int &b,int &c){scanf("%d %d %d",&a,&b,&c);}
inline void scdlld(long int &a,long int &b){scanf("%I64d %I64d",&a,&b);}
inline void sclld(long long int &a){scanf("%I64d",&a);}

#define scarrd(a,b) for(int i=0 ; i<b ; i++)scanf("%d",&a[i])
#define prdlld(a,b) printf("%I64d %I64d",a,b)
#define prdd(a,b) printf("%d %d",a,b)
#define prd(a) printf("%d",a)
#define prarr(a,b) for(int i=0 ; i<b ; i++)printf("%d ",a[i])
#define iniarr(a,b) for(int i=0 ; i<b ;i++)a[i]=0
#define arr(a,b) int *a=(int *)malloc(b*sizeof(int))
#define llarr(a,b) long long int *a=(long long int *)malloc(b*sizeof(long long int))
#define st(a,b) char *a=(char *)malloc(b*sizeof(char))
#define grav 9.8
#define pi 3.14159265

int main()
{
	char a[2000];
	int b[26];
	iniarr(b,26);
	while(gets(a))
	{
		int len=strlen(a);
		forin(i,0,len)
		{
			forin(j,0,26)
			{
				if(a[i]==97+j || a[i]==65+j)
				{
					b[j]++;
					break;
				}
			}
		}
	}
	forin(i,0,26)
	{
		printf("%c : %d\n",'a'+i,b[i]);
	}
	
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:65:15: error: 'gets' was not declared in this scope; did you mean 'getw'?
   65 |         while(gets(a))
      |               ^~~~
      |               getw
Language: C++

import java.util.*;
import java.io.*;

/**
 * @author kawakami
 *
 */
class Main {

	/**
	 * @param args
	 * @throws IOException 
	 */
	public static void main(String[] args) throws IOException {
		// TODO Auto-generated method stub
		Scanner as = new Scanner(System.in);
		
		String dam;
		String str = "";
		
		int alf[];
		char line;
		char hika;
		alf = new int[26];
		
				
		while(as.hasNext()){
			
			str = str + as.nextLine();
			
		}
		
		dam = str;
		dam = dam.toUpperCase();
		
		for(int i=0;i<str.length();i++){      //
            
            line = str.charAt(i);
            hika = dam.charAt(i);
            if(line > '@' && line < '[' && line > '\u0060' && line < '{'){
            	if(line == hika ){
            		
            		alf[line-'A'] += 1;
            		
            	}
            	else{
            	
            		alf[line-'a'] += 1;
            		
            	}
            	
            }
             
        }
		
		line = 'a';
		
		for(int i=0;i<26;i++){
		
			str = (line++) + " : " + alf[i];
			System.out.println(str);
			
		}
		
		
		

	}

}

Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import java.util.*;
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:2:1: error: 'import' does not name a type
    2 | import java.io.*;
      | ^~~~~~
a.cc:2:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:14:15: error: expected ':' before 'static'
   14 |         public static void main(String[] args) throws IOException {
      |               ^~~~~~~
      |               :
a.cc:14:33: error: 'String' has not been declared
   14 |         public static void main(String[] args) throws IOException {
      |                                 ^~~~~~
a.cc:14:42: error: expected ',' or '...' before 'args'
   14 |         public static void main(String[] args) throws IOException {
      |                                          ^~~~
a.cc:14:46: error: expected ';' at end of member declaration
   14 |         public static void main(String[] args) throws IOException {
      |                                              ^
      |                                               ;
a.cc:14:48: error: 'throws' does not name a type
   14 |         public static void main(String[] args) throws IOException {
      |                                                ^~~~~~
a.cc:70:2: error: expected ';' after class definition
   70 | }
      |  ^
      |  ;
Language: C++

#include <iostream>
#include <stdio.h>

int main(){
    char ch;
    int num,list[30]={0};
    for (int ga=0;ga<15;ga++){
    //    while(scanf("%c",&ch) != EOF ){
        while(std;;cin>>ch){
        //scanf("%c",&ch);
        num=ch-'a';
        list[num]=list[num]+1;
    }
    for (int gb=0;gb<=('Z'-'A');gb++){
        char tesa='a'+gb;
        std::cout << tesa<< " : " << list[gb] << std::endl;
    }
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:18: error: expected primary-expression before ';' token
    9 |         while(std;;cin>>ch){
      |                  ^
a.cc:9:18: error: expected ')' before ';' token
    9 |         while(std;;cin>>ch){
      |              ~   ^
      |                  )
a.cc:9:20: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    9 |         while(std;;cin>>ch){
      |                    ^~~
      |                    std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:19:2: error: expected '}' at end of input
   19 | }
      |  ^
a.cc:4:11: note: to match this '{'
    4 | int main(){
      |           ^
Language: C++

#include <iostream>
#include <stdio.h>

int main(){
    char ch;
    int num,list[30]={0};
    for (int ga=0;ga<15;ga++){
    //    while(scanf("%c",&ch) != EOF ){
        while(std::cin>>ch){
        //scanf("%c",&ch);
        num=ch-'a';
        list[num]=list[num]+1;
    }
    for (int gb=0;gb<=('Z'-'A');gb++){
        char tesa='a'+gb;
        std::cout << tesa<< " : " << list[gb] << std::endl;
    }
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:19:2: error: expected '}' at end of input
   19 | }
      |  ^
a.cc:4:11: note: to match this '{'
    4 | int main(){
      |           ^
Language: C++

#include <iostream>
#include<conio.h>
using namespace std;
 
int main(){
 
    int a[26]={0};
    char s;
 
    while(cin >> s){
        if('a'<=s && s<='z'){
            a[s-'a']++;
        }
        else if('A'<=s && s<='Z'){
            a[s-'A']++;
        }
    }
 
    for(int i=0; i<26; i++){
        cout << (char)(i+'a') << " : " << a[i] << endl; 
    }
	return 0;
}

Compiler output:
a.cc:2:9: fatal error: conio.h: No such file or directory
    2 | #include<conio.h>
      |         ^~~~~~~~~
compilation terminated.
Language: C++

#include <iostream>
using namespace std;
 
int main(){
 
    int a[26]={0},i=0;
    char s;
 
    while(i<1200)
    {
       cin >> s;
        if('a'<=s && s<='z'){
            a[s-'a']++;
        }
        else if('A'<=s && s<='Z'){
            a[s-'A']++;
        }
    }
 
    for(int i=0; i<26; i++){
        cout << (char)(i+'a') << " : " << a[i] << endl; 
    }
        i++;	 
   }
   return 0;
}

Compiler output:
a.cc:25:4: error: expected unqualified-id before 'return'
   25 |    return 0;
      |    ^~~~~~
a.cc:26:1: error: expected declaration before '}' token
   26 | }
      | ^
Language: C++

#include <cstdio>
#include <cctype>

#define A_NUM 26
using namespace std;

int main(void) {

	char ch;
	int alpha[A_NUM] = {};

	while (1) {
		scanf_s("%c", &ch);
		if (ch == '\n') break;
		if (isalpha(ch)) {
			if (isupper(ch)) ch = tolower(ch);
			alpha[(int)(ch - 'a')]++;
		}
	}

	for (int i = 0; i < A_NUM; i++) {
		printf("%c : %d\n", (char)(i + 'a'), alpha[i]);
	}

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:17: error: 'scanf_s' was not declared in this scope; did you mean 'scanf'?
   13 |                 scanf_s("%c", &ch);
      |                 ^~~~~~~
      |                 scanf
Language: C++

#include <iostream>
#include <string>
using namespace std;

int main()
{
	string a;
	int dem[26];
	while (true)
	{
		getline(cin, a);
		for(int i =0; i < a.length; i++)
		{
			 if('A' <= a[i] && a[i] <= 'Z')
			 {
				 dem[a[i] - 'A']++;
			 }
			else if('a' <= a[i] && a[i] <= 'z')
			{
				dem[a[i] - 'a']++;
			}
		}
	}
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:37: error: invalid use of member function 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::length() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; size_type = long unsigned int]' (did you forget the '()' ?)
   12 |                 for(int i =0; i < a.length; i++)
      |                                   ~~^~~~~~
      |                                           ()
Language: C++

import sys
count = {}
from string import ascii_lowercase
for c in ascii_lowercase:
    count[c] = 0 
strs = sys.stdin.readlines()
sum = 0
for c in str:
    if c.isalpha():
        count[c.lower()] += 1
for c in ascii_lowercase:
    print(c, ':', count[c])

Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import sys
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:3:1: error: 'from' does not name a type
    3 | from string import ascii_lowercase
      | ^~~~
Language: C++

#include "stdafx.h"
#include "iostream"
#include "string"
#include "cctype"

int main()
{
	char a;
	std::string str;
	int i = 0, sum = 0;
	int s;
	int ABC[26] = { 0 };

	std::getline(std::cin, str);
	s = str.length();

	for (int i = 0; i < s; i++)
		if (isupper(str[i]))
			str[i] = tolower(str[i]);

	for (int i = 0; i < s; i++)
		for (int j = 0; j < 26; j++)
			if (str[i] == 'a' + j)
				ABC[j]++;

	for (int j = 0; j < 26; j++) {
		a = 'a' + j;
		std::cout << a << " : " << ABC[j] << std::endl;
	}
	return 0;
}

Compiler output:
a.cc:1:10: fatal error: stdafx.h: No such file or directory
    1 | #include "stdafx.h"
      |          ^~~~~~~~~~
compilation terminated.
Language: C++

#include "stdafx.h"
#include "iostream"
#include "string"
#include "cctype"

int main()
{
	char a;
	std::string str;
	int i = 0, sum = 0;
	int s;
	int ABC[26] = { 0 };

	while (std::cin >> str) {
		std::getline(std::cin, str);
	}

	s = str.length();

	for (int i = 0; i < s; i++)
		if (isupper(str[i]))
			str[i] = tolower(str[i]);

	for (int i = 0; i < s; i++)
		for (int j = 0; j < 26; j++)
			if (str[i] == 'a' + j)
				ABC[j]++;

	for (int j = 0; j < 26; j++) {
		a = 'a' + j;
		std::cout << a << " : " << ABC[j] << std::endl;
	}
	return 0;
}

Compiler output:
a.cc:1:10: fatal error: stdafx.h: No such file or directory
    1 | #include "stdafx.h"
      |          ^~~~~~~~~~
compilation terminated.
Language: C++

#include "stdafx.h"
#include "iostream"
#include "string"
#include "cctype"

int main()
{
	char a;
	std::string str = "";
	int i = 0, sum = 0;
	int s;
	int ABC[26] = { 0 };

	while (!std::cin.eof()) {
		std::cin >> str;
	}

	s = str.length();

	for (int i = 0; i < s; i++)
		if (isupper(str[i]))
			str[i] = tolower(str[i]);

	for (int i = 0; i < s; i++)
		for (int j = 0; j < 26; j++)
			if (str[i] == 'a' + j)
				ABC[j]++;

	for (int j = 0; j < 26; j++) {
		a = 'a' + j;
		std::cout << a << " : " << ABC[j] << std::endl;
	}
	return 0;
}

Compiler output:
a.cc:1:10: fatal error: stdafx.h: No such file or directory
    1 | #include "stdafx.h"
      |          ^~~~~~~~~~
compilation terminated.
Language: C++

#include<stdio.h>
#include<string.h>
#include<ctype.h>
int main()
{
	char ch,c, sh[26] = { 'a', 'b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'};
	int counter[26] = { 0 };
	while (scanf_s("%c", &c) != EOF){
		ch=tolower(c);
		if (islower(ch)){
			int num = ch - 'a';
			counter[num]++;
		}
	}
	for (int i=0; i < 26; i++){
		printf("%c : %d\n",sh[i],counter[i]);
	}
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:16: error: 'scanf_s' was not declared in this scope; did you mean 'scanf'?
    8 |         while (scanf_s("%c", &c) != EOF){
      |                ^~~~~~~
      |                scanf
Language: C++

#include<iostream>
#include<string>
#include<cstdio>
#include<cctype>
using namespace std;
string str2;
int main(){
	int num=0,count[1000]={0};
	char ch[1000];
	double x;
	string str,ring;
	while(cin>>str){
	getline(cin,str);
	for(int i=0;i<str.size();i++){
		if(isupper(str[i])){
		str[i]+='a'-'A';
		}
	 num=str[i]-'a';
		count[num]++;
	}
	for(int j=0;j<26;j++){
		str2=j+'a';	
	}
	}
	cout<<str2<<" : "<<count[j]<<endl;
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:25:34: error: 'j' was not declared in this scope
   25 |         cout<<str2<<" : "<<count[j]<<endl;
      |                                  ^
Language: C++

#include <iostream>

using namespace std;
 int main(){


char ch;
std::wcin >> a;

while(cin >> ch){
	if (std::iswalpha(a)){
		int p = 0;
		p++;
	}

}



 	return 0;
}   

Compiler output:
a.cc: In function 'int main()':
a.cc:8:14: error: 'a' was not declared in this scope
    8 | std::wcin >> a;
      |              ^
Language: C++

#include <iostream>

using namespace std;
 int main(){


char ch;
std::wcin >> a;
int num = ch - 'a';  
counter[num]++; 
while(cin >> ch){

	if (std::iswalpha(a)){
		int p = 0;
		p++;
	}

}



 	return 0;
}   

Compiler output:
a.cc: In function 'int main()':
a.cc:8:14: error: 'a' was not declared in this scope
    8 | std::wcin >> a;
      |              ^
a.cc:10:1: error: 'counter' was not declared in this scope
   10 | counter[num]++;
      | ^~~~~~~
Language: C++

#include <iostream>

using namespace std;
 int main(){


char ch;
std::wcin >> b;
int num = ch - 'a';  
count[num]++; 
while(cin >> ch){

	if (std::iswalpha(b)){
		int p = 0;
		p++;
	}

}



 	return 0;
}   

Compiler output:
a.cc: In function 'int main()':
a.cc:8:14: error: 'b' was not declared in this scope
    8 | std::wcin >> b;
      |              ^
a.cc:10:1: error: 'count' was not declared in this scope
   10 | count[num]++;
      | ^~~~~
Language: C++

#include <iostream>

using namespace std;
 int main(){

char ch;
while (cin >> ch){
	int num = ch - 'a';
	int NUM = cj - 'A';
	if (num >= 0 && num <= 25){
		counter[num]++; 
	}
	else if (NUM >= 0 && NUM <= 25){
		counter[num]++; 
	}
	cout << ch << ':' << num << endl;
}


 	return 0;

}   

Compiler output:
a.cc: In function 'int main()':
a.cc:9:19: error: 'cj' was not declared in this scope; did you mean 'ch'?
    9 |         int NUM = cj - 'A';
      |                   ^~
      |                   ch
a.cc:11:17: error: 'counter' was not declared in this scope
   11 |                 counter[num]++;
      |                 ^~~~~~~
a.cc:14:17: error: 'counter' was not declared in this scope
   14 |                 counter[num]++;
      |                 ^~~~~~~
Language: C++

#include <iostream>

using namespace std;
 int main(){

char ch;
while (cin >> ch){
	int counter;
	int num = ch - 'a';
	int NUM = ch - 'A';
	if (num >= 0 && num <= 25){
		counter[num]++; 
	}
	else if (NUM >= 0 && NUM <= 25){
		counter[num]++; 
	}
	cout << ch << ':' << num << endl;
}


 	return 0;

}   

Compiler output:
a.cc: In function 'int main()':
a.cc:12:24: error: invalid types 'int[int]' for array subscript
   12 |                 counter[num]++;
      |                        ^
a.cc:15:24: error: invalid types 'int[int]' for array subscript
   15 |                 counter[num]++;
      |                        ^
Language: C++

#include <iostream>

using namespace std;
 int main(){

char ch;
while (cin >> ch){
	int counter[num];
	int num = ch - 'a';
	int NUM = ch - 'A';
	if (num >= 0 && num <= 25){
		counter[num]++; 
	}
	else if (NUM >= 0 && NUM <= 25){
		counter[num]++; 
	}
	cout << ch << ':' << num << endl;
}


 	return 0;

}   3

Compiler output:
a.cc: In function 'int main()':
a.cc:8:21: error: 'num' was not declared in this scope; did you mean 'enum'?
    8 |         int counter[num];
      |                     ^~~
      |                     enum
a.cc:12:17: error: 'counter' was not declared in this scope
   12 |                 counter[num]++;
      |                 ^~~~~~~
a.cc:15:17: error: 'counter' was not declared in this scope
   15 |                 counter[num]++;
      |                 ^~~~~~~
a.cc: At global scope:
a.cc:23:5: error: expected unqualified-id before numeric constant
   23 | }   3
      |     ^
Language: C++

#include "stdafx.h"
#include <iostream>
#include <string>
using namespace std;

int main()
{
	string str;
	string::size_type index;
	int count = 0;
	int i = 0;

	while (cin >> str) {
		while ('a' + i != 'z' + 1){
			count = 0;
			for (string::iterator it = str.begin(); it != str.end(); it++) {
				if ('a' + i == *it) {
					count++;
				}
			}
			char c = 'a' + i;
		cout << c << " : " << count << endl;
		i++;
		}
	}
	
    return 0;
}

Compiler output:
a.cc:1:10: fatal error: stdafx.h: No such file or directory
    1 | #include "stdafx.h"
      |          ^~~~~~~~~~
compilation terminated.
Language: C++

#include <cstdio.h>
#include <iostream>
#include <sstream>
#include <vector>
#include <algorithm>
#include <string>
#include <functional>
#include <numeric>
#include <ctype.h>


using namespace std;


int main() 
{
	string input;
	int num;
	int counter[28] = {};
	

	getline(cin, input);

	transform(input.begin(), input.end(), input.begin(), tolower);

	for (auto a : input)
	{
		num = 0;

		num = a - 97;

		counter[num]++;
	}

	for (char a = 'a';  a <= 'z'; a++)
	{
		cout << a << ";" << counter[a - 'a'] << endl;
	}
	return 0;
}

Compiler output:
a.cc:1:10: fatal error: cstdio.h: No such file or directory
    1 | #include <cstdio.h>
      |          ^~~~~~~~~~
compilation terminated.
Language: C++

#include <iostream>
using namespace std;
 int main(){
int counter[26];

char ch;

for (int x = 0 ; x <= 25 ; x++){
	counter[x] = 0;
}

while (cin >> ch){
	if (isupper(ch)){
		ch = tolower(ch);
	} 
	int num = ch - 'a';

	if (num >= 0 && num <= 25){
		counter[num]++;
	}
}

for (int x = 0 ; x <= 25 ; x++){
	char y = x + 'a';
	cout << y << ':' << counter[x];
        if (x < 25) {
            count << endl;
        }
}


 	return 0;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:27:13: error: 'count' was not declared in this scope; did you mean 'counter'?
   27 |             count << endl;
      |             ^~~~~
      |             counter
Language: C++

#include <stdio.h>
#include <iostream>
using namespace std;

countCharacters(const char text[], int count[]);

int main(void)
{	
	char text[1201] = "\0";
	cin >> text;
	
	int count[36] = {0};
	countCharacters(text, count);
	
	for (int i = 0; i < 36; i++) {
		cout << 'a' + i << " : " << count[i] << endl;
	}
	
	return 0;
}

countCharacters(const char text[], int count[])
{	
	for (int i = 0; text[i] != '\0'; i++) {
		if (text[i] >= 'a' && text[i] <= 'z') {
			count[text[i]-'a'] += 1;
		}
			
		if (text[i] >= 'A' && text[i] <= 'Z') {
			count[text[i]-'A'] += 1;
		}
	}
}

Compiler output:
a.cc:5:48: error: expected constructor, destructor, or type conversion before ';' token
    5 | countCharacters(const char text[], int count[]);
      |                                                ^
a.cc: In function 'int main()':
a.cc:13:9: error: 'countCharacters' was not declared in this scope
   13 |         countCharacters(text, count);
      |         ^~~~~~~~~~~~~~~
a.cc: At global scope:
a.cc:22:1: error: ISO C++ forbids declaration of 'countCharacters' with no type [-fpermissive]
   22 | countCharacters(const char text[], int count[])
      | ^~~~~~~~~~~~~~~
a.cc: In function 'int countCharacters(const char*, int*)':
a.cc:33:1: warning: no return statement in function returning non-void [-Wreturn-type]
   33 | }
      | ^
Language: C++

#include <stdio.h>
#include <iostream>
#include <ctype.h>
using namespace std;

int main(void)
{	
	char c;
	int count[26] = {0};
	while (cin >> c){
		c = tolower(c);
		if (c >= 'a' && c <= 'z') {
			count[c-'a']++;
	}
	
	for (int i = 0; i < 26; i++) {
		cout << (char)('a' + i) << " : " << count[i] << endl;
	}
	
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:21:2: error: expected '}' at end of input
   21 | }
      |  ^
a.cc:7:1: note: to match this '{'
    7 | {
      | ^
Language: C++

#include<iostream>
#include<cstdio>
#include<cctype>
using namespace std;

int main(){
char ch;
int cnt[26] ={};

while(cin >>ch){
ch=tolower(ch);
if(isalpha(ch)){
cnt[ch-'a']++
}
}

for(int i=0;i<26;i++){
printf("%c:%d\n",i+'a',cnt[i]);
}
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:14: error: expected ';' before '}' token
   13 | cnt[ch-'a']++
      |              ^
      |              ;
   14 | }
      | ~
Language: C++

include<iostream>
#include<cstdio>
#include<cctype>
using namespace std;

int main(){
char ch;
int cnt[26] ={};

while(cin >>ch){
ch=tolower(ch);
if(isalpha(ch)){
cnt[ch-'a']++;
}
}

for(int i=0;i<26;i++){
printf("%c:%d\n",i+'a',cnt[i]);
}
return 0;
}

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<iostream>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:10:7: error: 'cin' was not declared in this scope
   10 | while(cin >>ch){
      |       ^~~
a.cc:4:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
    3 | #include<cctype>
  +++ |+#include <iostream>
    4 | using namespace std;
Language: C++

#include<iostream>
#include<conio.h>
using namespace std;

int main(void) {
	char roop[27];
	char moji[1500];
	int count[27] = {};
	cin.getline(moji, sizeof(moji));
	for (int i = 0; i <= 1500; i++) {
		for (int t = 0; t <= 25; t++) {
			if ((moji[i] == 65+t) || (moji[i] == 97+t)) {
				count[t]++;
				break;
			}
		}
	}
	for (int i = 0; i <= 25; i++) {
		roop[i] = 97 + i;
		cout << roop[i] << " " << ":" << " " << count[i] << "\n";
	}
	return 0;
}

Compiler output:
a.cc:2:9: fatal error: conio.h: No such file or directory
    2 | #include<conio.h>
      |         ^~~~~~~~~
compilation terminated.
Language: C++

/*
 * http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_8_C
 */
#include <iostream>
#include <string>
#include <vector>

using namespace std;

template <typename T_char>
T_char
ToLower(T_char c)
{
  return tolower(c);
}

int
main()
{
  ios::sync_with_stdio(false);

  vector<int> count(26);
  string line;
  while (getline(cin, line)) {
    transform(line.begin(), line.end(), line.begin(), ToLower<char>);
    for (string::iterator it = line.begin(); it != line.end(); it++) {
      count[*it - 'a']++;
    }
  }

  for (int i = 0; i < 26; i++) {
    cout << (char)('a' + i) << " : " << count[i] << endl;
  }

  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:25:5: error: 'transform' was not declared in this scope
   25 |     transform(line.begin(), line.end(), line.begin(), ToLower<char>);
      |     ^~~~~~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main(){
	char GG[127];
	int a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;
	int num;
while(cin >> GG;){
	a = srelen(GG);
	for(int kero??¨ = 0;kero??¨ < a; kero??¨++){
		if(GG[kero??¨] == 'a' ||GG[kero??¨] == 'A')a++ ;
		else if(GG[kero??¨] == 'b' ||GG[kero??¨] == 'B')b++ ;
		else if(GG[kero??¨] == 'c' ||GG[kero??¨] == 'C')c++ ;
		else if(GG[kero??¨] == 'd' ||GG[kero??¨] == 'D')d++ ;
		else if(GG[kero??¨] == 'e' ||GG[kero??¨] == 'E')e++ ;
		else if(GG[kero??¨] == 'f' ||GG[kero??¨] == 'F')f++ ;
		else if(GG[kero??¨] == 'g' ||GG[kero??¨] == 'G')g++ ;
		else if(GG[kero??¨] == 'h' ||GG[kero??¨] == 'H')h++ ;
		else if(GG[kero??¨] == 'i' ||GG[kero??¨] == 'I')i++ ;
		else if(GG[kero??¨] == 'j' ||GG[kero??¨] == 'J')j++ ;
		else if(GG[kero??¨] == 'k' ||GG[kero??¨] == 'K')k++ ;
		else if(GG[kero??¨] == 'l' ||GG[kero??¨] == 'L')l++ ;
		else if(GG[kero??¨] == 'm' ||GG[kero??¨] == 'M')m++ ;
		else if(GG[kero??¨] == 'n' ||GG[kero??¨] == 'N')n++ ;
		else if(GG[kero??¨] == 'o' ||GG[kero??¨] == 'O')o++ ;
		else if(GG[kero??¨] == 'p' ||GG[kero??¨] == 'P')p++ ;
		else if(GG[kero??¨] == 'q' ||GG[kero??¨] == 'Q')q++ ;
		else if(GG[kero??¨] == 'r' ||GG[kero??¨] == 'R')r++ ;
		else if(GG[kero??¨] == 's' ||GG[kero??¨] == 'S')s++ ;
		else if(GG[kero??¨] == 't' ||GG[kero??¨] == 'T')t++ ;
		else if(GG[kero??¨] == 'u' ||GG[kero??¨] == 'U')u++ ;
		else if(GG[kero??¨] == 'v' ||GG[kero??¨] == 'V')v++ ;
		else if(GG[kero??¨] == 'w' ||GG[kero??¨] == 'W')w++ ;
		else if(GG[kero??¨] == 'x' ||GG[kero??¨] == 'X')x++ ;
		else if(GG[kero??¨] == 'y' ||GG[kero??¨] == 'Y')y++ ;
		else if(GG[kero??¨] == 'z' ||GG[kero??¨] == 'Z')z++ ;
		}
	}
	cout << "a : " << a << endl;
	cout << "b : " << b << endl;
	cout << "c : " << c << endl;
	cout << "d : " << d << endl;
	cout << "e : " << e << endl;
	cout << "f : " << f << endl;
	cout << "g : " << g << endl;
	cout << "h : " << h << endl;
	cout << "i : " << i << endl;
	cout << "j : " << j << endl;
	cout << "k : " << k << endl;
	cout << "l : " << l << endl;
	cout << "m : " << m << endl;
	cout << "n : " << n << endl;
	cout << "o : " << o << endl;
	cout << "p : " << p << endl;
	cout << "q : " << q << endl;
	cout << "r : " << r << endl;
	cout << "s : " << s << endl;
	cout << "t : " << t << endl;
	cout << "u : " << u << endl;
	cout << "v : " << v << endl;
	cout << "w : " << w << endl;
	cout << "x : " << x << endl;
	cout << "y : " << y << endl;
	cout << "z : " << z << endl;

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:16: error: expected ')' before ';' token
    8 | while(cin >> GG;){
      |      ~         ^
      |                )
a.cc:8:17: error: expected primary-expression before ')' token
    8 | while(cin >> GG;){
      |                 ^