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

#include<bits/stdc++.h>
using namespace std;
int main(){
char c;
cin >> c
if(c==’a’ || c==’i’ || c==’u’ || c==’e’ || c==’o’)
cout << ”vowel” << endl;
else
cout << ” consonant” <<endl;
}


Compiler output:
a.cc:6:7: error: extended character ’ is not valid in an identifier
    6 | if(c==’a’ || c==’i’ || c==’u’ || c==’e’ || c==’o’)
      |       ^
a.cc:6:7: error: extended character ’ is not valid in an identifier
a.cc:6:17: error: extended character ’ is not valid in an identifier
    6 | if(c==’a’ || c==’i’ || c==’u’ || c==’e’ || c==’o’)
      |                 ^
a.cc:6:17: error: extended character ’ is not valid in an identifier
a.cc:6:27: error: extended character ’ is not valid in an identifier
    6 | if(c==’a’ || c==’i’ || c==’u’ || c==’e’ || c==’o’)
      |                           ^
a.cc:6:27: error: extended character ’ is not valid in an identifier
a.cc:6:37: error: extended character ’ is not valid in an identifier
    6 | if(c==’a’ || c==’i’ || c==’u’ || c==’e’ || c==’o’)
      |                                     ^
a.cc:6:37: error: extended character ’ is not valid in an identifier
a.cc:6:47: error: extended character ’ is not valid in an identifier
    6 | if(c==’a’ || c==’i’ || c==’u’ || c==’e’ || c==’o’)
      |                                               ^
a.cc:6:47: error: extended character ’ is not valid in an identifier
a.cc:7:9: error: extended character ” is not valid in an identifier
    7 | cout << ”vowel” << endl;
      |         ^
a.cc:7:9: error: extended character ” is not valid in an identifier
a.cc:9:9: error: extended character ” is not valid in an identifier
    9 | cout << ” consonant” <<endl;
      |         ^
a.cc:9:11: error: extended character ” is not valid in an identifier
    9 | cout << ” consonant” <<endl;
      |           ^
a.cc: In function 'int main()':
a.cc:5:9: error: expected ';' before 'if'
    5 | cin >> c
      |         ^
      |         ;
    6 | if(c==’a’ || c==’i’ || c==’u’ || c==’e’ || c==’o’)
      | ~~       
a.cc:8:1: error: 'else' without a previous 'if'
    8 | else
      | ^~~~
a.cc:9:9: error: '\U0000201d' was not declared in this scope
    9 | cout << ” consonant” <<endl;
      |         ^
Language: C++

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

int main() {
    char c;
    cin >> c;
    
    if (c == 'a' || c == 'i' || c == 'u' || c == 'e' || c == 'o') {
        cout << vowel << endl;
    } else {
        cout << consonant << endl;
    }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:17: error: 'vowel' was not declared in this scope
    9 |         cout << vowel << endl;
      |                 ^~~~~
a.cc:11:17: error: 'consonant' was not declared in this scope
   11 |         cout << consonant << endl;
      |                 ^~~~~~~~~
Language: C++

#include <bits/stdc++.h>
#define rep(i, n) for(int i= 0; i < (n); i++)
using ll= long long int;
using namespace std;
template<class T> inline bool chmax(T& a, T b) { if (a < b) { a = b; return 1; } return 0; }
template<class T> inline bool chmin(T& a, T b) { if (a > b) { a = b; return 1; } return 0; }
ll mod= 1e9 + 7;



int main() {
  char c;
  cin >> c;
  if(c=='a' || c=='i' || c=='u' || c=='e' || c=='o'){cout << "vowel" << endl;}else{cout << consonaut << endl;}
}




Compiler output:
a.cc: In function 'int main()':
a.cc:14:92: error: 'consonaut' was not declared in this scope
   14 |   if(c=='a' || c=='i' || c=='u' || c=='e' || c=='o'){cout << "vowel" << endl;}else{cout << consonaut << endl;}
      |                                                                                            ^~~~~~~~~
Language: C++

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

int main(){
  char c;
  cin >> c;
  bool s=false;
  vector<char> vec{'a','i','u','e','o'};
  for (int i=0;i<5;i++){
    if(c==vec.at(i)){
      s=true;
      break;
    }
  }
  while(s){
    cout << "vowel" <<endl;
  }
  else{
    cout  << "consonant" << endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:18:3: error: 'else' without a previous 'if'
   18 |   else{
      |   ^~~~
Language: C++

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

int main() {
  char c;
  cin >> c;
  if (c == 'a' || c == 'i' || c == 'e' || c == 'o' || c == 'u')
    cout << vowel << endl;
  else
    cout << consonant << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:13: error: 'vowel' was not declared in this scope
    8 |     cout << vowel << endl;
      |             ^~~~~
a.cc:10:13: error: 'consonant' was not declared in this scope
   10 |     cout << consonant << endl;
      |             ^~~~~~~~~
Language: C++

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

int main() {
  string str = "aeiou";
  cin >> char c;
 for(int i = 0; i < 5; i++){
  if (char c == str.at(i)){
    cout << "vowel"<< endl;
  }
  else{
    cout << "consonant"<< endl;
  }
 }
}    
  
 


Compiler output:
a.cc: In function 'int main()':
a.cc:6:10: error: expected primary-expression before 'char'
    6 |   cin >> char c;
      |          ^~~~
a.cc:8:14: error: expected initializer before '==' token
    8 |   if (char c == str.at(i)){
      |              ^~
a.cc:8:13: error: expected ')' before '==' token
    8 |   if (char c == str.at(i)){
      |      ~      ^~~
      |             )
Language: C++

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

int main() {
  string str = "aeiou";
  cin >> char c;
 for(int i = 0; i < 6; i++){
  if (char c == str.at(i)){
    cout << "vowel"<< endl;
  }
  else{
    cout << "consonant"<< endl;
  }
 }
}    
  
 


Compiler output:
a.cc: In function 'int main()':
a.cc:6:10: error: expected primary-expression before 'char'
    6 |   cin >> char c;
      |          ^~~~
a.cc:8:14: error: expected initializer before '==' token
    8 |   if (char c == str.at(i)){
      |              ^~
a.cc:8:13: error: expected ')' before '==' token
    8 |   if (char c == str.at(i)){
      |      ~      ^~~
      |             )
Language: C++

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

int main() {
  string str = "aeiou";
  cin >> char 'c';
 for(int i = 0; i < 6; i++){
  if (c == str.at(i)){
    cout << "vowel"<< endl;
  }
  else{
    cout << "consonant"<< endl;
  }
 }
}    
  
 


Compiler output:
a.cc: In function 'int main()':
a.cc:6:10: error: expected primary-expression before 'char'
    6 |   cin >> char 'c';
      |          ^~~~
a.cc:8:7: error: 'c' was not declared in this scope
    8 |   if (c == str.at(i)){
      |       ^
Language: C++

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

int main() {
  string str = 'aeiou';
  cin >> char c;
 for(int i = 0; i < 6; i++){
  if (c == str.at(i)){
    cout << 'vowel'<< endl;
  }
  else{
    cout << 'consonant'<< endl;
  }
 }
}    
  
 

Compiler output:
a.cc:5:16: warning: multi-character literal with 5 characters exceeds 'int' size of 4 bytes
    5 |   string str = 'aeiou';
      |                ^~~~~~~
a.cc:9:13: warning: multi-character literal with 5 characters exceeds 'int' size of 4 bytes
    9 |     cout << 'vowel'<< endl;
      |             ^~~~~~~
a.cc:12:13: warning: multi-character literal with 9 characters exceeds 'int' size of 4 bytes
   12 |     cout << 'consonant'<< endl;
      |             ^~~~~~~~~~~
a.cc: In function 'int main()':
a.cc:5:16: error: conversion from 'int' to non-scalar type 'std::string' {aka 'std::__cxx11::basic_string<char>'} requested
    5 |   string str = 'aeiou';
      |                ^~~~~~~
a.cc:6:10: error: expected primary-expression before 'char'
    6 |   cin >> char c;
      |          ^~~~
a.cc:8:7: error: 'c' was not declared in this scope
    8 |   if (c == str.at(i)){
      |       ^
Language: C++

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

int main(){
  char c;
  cin >> c;
  
  if(c == 'a' || c == 'i' || c == 'u' || c == 'e' || c == 'o'){
    cout << "vowel" << endl;
  }
  else{
    cout << "consonant" << endl;
  }
}

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

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

int main(){
  char c;
  cin >> c;
  
  if(c == 'a' || c == 'i' || c=='u'|| c=='e'||c==='o'){
    cout << "vowel" << endl;
  }
  else{
    cout << "consonant" << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:50: error: expected primary-expression before '=' token
    8 |   if(c == 'a' || c == 'i' || c=='u'|| c=='e'||c==='o'){
      |                                                  ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main(){
 char c;
 cin >> c;
 if (c== "a"){
 cout << "vowel" << endl;
 }
 else if (c== "i"){
 cout << "vowel" << endl;
 }
 else if (c== "u"){
 cout << "vowel" << endl;
 }
 else if (c== "e"){
 cout << "vowel" << endl;
 }
 else if (c== "o"){
 cout << "vowel" << endl;
 }
 else{
 cout << "consonant" << endl;
 }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:7: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    7 |  if (c== "a"){
      |      ~^~~~~~
a.cc:10:12: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   10 |  else if (c== "i"){
      |           ~^~~~~~
a.cc:13:12: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   13 |  else if (c== "u"){
      |           ~^~~~~~
a.cc:16:12: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   16 |  else if (c== "e"){
      |           ~^~~~~~
a.cc:19:12: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   19 |  else if (c== "o"){
      |           ~^~~~~~
Language: C++

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

int main(){
 char c;
 cin >> c;
 if (c=="a"){
 cout << "vowel" << endl;
 }
 else if (c=="i"){
 cout << "vowel" << endl;
 }
 else if (c=="u"){
 cout << "vowel" << endl;
 }
 else if (c=="e"){
 cout << "vowel" << endl;
 }
 else if (c=="o"){
 cout << "vowel" << endl;
 }
 else{
 cout << "consonant" << endl;
 }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:7: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    7 |  if (c=="a"){
      |      ~^~~~~
a.cc:10:12: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   10 |  else if (c=="i"){
      |           ~^~~~~
a.cc:13:12: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   13 |  else if (c=="u"){
      |           ~^~~~~
a.cc:16:12: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   16 |  else if (c=="e"){
      |           ~^~~~~
a.cc:19:12: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   19 |  else if (c=="o"){
      |           ~^~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main() {
  char c;
  cin>>c;
  if(c==a || c==i || c==u || c==e || c==o){
    cout<<"vowel"<<'\n';
  }else{
    cout<<"consonant"<<'\n';
  }
    return(0);
  }

Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: error: 'a' was not declared in this scope
    6 |   if(c==a || c==i || c==u || c==e || c==o){
      |         ^
a.cc:6:17: error: 'i' was not declared in this scope
    6 |   if(c==a || c==i || c==u || c==e || c==o){
      |                 ^
a.cc:6:25: error: 'u' was not declared in this scope
    6 |   if(c==a || c==i || c==u || c==e || c==o){
      |                         ^
a.cc:6:33: error: 'e' was not declared in this scope
    6 |   if(c==a || c==i || c==u || c==e || c==o){
      |                                 ^
a.cc:6:41: error: 'o' was not declared in this scope
    6 |   if(c==a || c==i || c==u || c==e || c==o){
      |                                         ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main() {
  char c;
  cin>>c;
  if(c==a || c==i || c==u || c==e || c==o){
    cout<<vowel<<'\n';
  }else{
    cout<<consonant<<'\n';
  }
    return(0);
  }

Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: error: 'a' was not declared in this scope
    6 |   if(c==a || c==i || c==u || c==e || c==o){
      |         ^
a.cc:6:17: error: 'i' was not declared in this scope
    6 |   if(c==a || c==i || c==u || c==e || c==o){
      |                 ^
a.cc:6:25: error: 'u' was not declared in this scope
    6 |   if(c==a || c==i || c==u || c==e || c==o){
      |                         ^
a.cc:6:33: error: 'e' was not declared in this scope
    6 |   if(c==a || c==i || c==u || c==e || c==o){
      |                                 ^
a.cc:6:41: error: 'o' was not declared in this scope
    6 |   if(c==a || c==i || c==u || c==e || c==o){
      |                                         ^
a.cc:7:11: error: 'vowel' was not declared in this scope
    7 |     cout<<vowel<<'\n';
      |           ^~~~~
a.cc:9:11: error: 'consonant' was not declared in this scope
    9 |     cout<<consonant<<'\n';
      |           ^~~~~~~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
    int main(){
    string c;
    cin>>c;
    if( c==a || c==i || c==u || c==e || c==o){
        cout<<vowel<<'\n';
    }else{
        cout<<consonant<<'\n';
    }
    return(0);
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:12: error: 'a' was not declared in this scope
    6 |     if( c==a || c==i || c==u || c==e || c==o){
      |            ^
a.cc:6:20: error: 'i' was not declared in this scope
    6 |     if( c==a || c==i || c==u || c==e || c==o){
      |                    ^
a.cc:6:28: error: 'u' was not declared in this scope
    6 |     if( c==a || c==i || c==u || c==e || c==o){
      |                            ^
a.cc:6:36: error: 'e' was not declared in this scope
    6 |     if( c==a || c==i || c==u || c==e || c==o){
      |                                    ^
a.cc:6:44: error: 'o' was not declared in this scope
    6 |     if( c==a || c==i || c==u || c==e || c==o){
      |                                            ^
a.cc:7:15: error: 'vowel' was not declared in this scope
    7 |         cout<<vowel<<'\n';
      |               ^~~~~
a.cc:9:15: error: 'consonant' was not declared in this scope
    9 |         cout<<consonant<<'\n';
      |               ^~~~~~~~~
Language: C++

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

int main() {
  string C;
  cin >> C;
  
  string answer;
  
  for (int i = 0; i < C.size(); i++) {
    
    if (C.at(i) == 'a') {
      answer = "vowel";
      break;
    }
    else if (C.at(i) == 'e') {
      answer = "vowel";
      break;
    }
    else if (C.at(i) == 'i') {
      answer = "vowel";
      break;
    }
    else if (C.at(i) == 'o') {
      answer = "vowel";
      break;
    }
    else if (C.at(i) == 'u') {
      answer = "vowel";
      break;
    }
    else {
      answer = "consonant";
    }
    i++;
  }
  
  cout << answer << endl;
      
  }
}

Compiler output:
a.cc:41:1: error: expected declaration before '}' token
   41 | }
      | ^
Language: C++

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

int main() {
  string S;
  cin >> S;


if (s=="a"||s=="i"||s=="u"||s=="e"||s=="o"){cout << "vowel"  << endl;}
else {cout << "consonant" << endl;}

}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:5: error: 's' was not declared in this scope
    9 | if (s=="a"||s=="i"||s=="u"||s=="e"||s=="o"){cout << "vowel"  << endl;}
      |     ^
Language: C++

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

#define ll long long

signed main() {
  char c;
  cin >> c;
  if(c=="a"||c=="i"||c=="u"||c=="e"||c=="o")
  {cout << "vowel" << endl;}
  else{cout << "consonant" << endl;}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:7: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    9 |   if(c=="a"||c=="i"||c=="u"||c=="e"||c=="o")
      |      ~^~~~~
a.cc:9:15: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    9 |   if(c=="a"||c=="i"||c=="u"||c=="e"||c=="o")
      |              ~^~~~~
a.cc:9:23: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    9 |   if(c=="a"||c=="i"||c=="u"||c=="e"||c=="o")
      |                      ~^~~~~
a.cc:9:31: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    9 |   if(c=="a"||c=="i"||c=="u"||c=="e"||c=="o")
      |                              ~^~~~~
a.cc:9:39: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    9 |   if(c=="a"||c=="i"||c=="u"||c=="e"||c=="o")
      |                                      ~^~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  char S[] = ['a','i','u','e','o'];
  char c;
  int x=0;
  cin >> c;
  for(int i = 0; i < 5; i++){
    if(c == S[i]){
      x++
    }
  }
  if(x == 0){
    cout << "consonant" << endl;
  }
  else{
    cout << "vowel" << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:15: error: expected identifier before 'a'
    5 |   char S[] = ['a','i','u','e','o'];
      |               ^~~
a.cc:5:18: error: expected ']' before ',' token
    5 |   char S[] = ['a','i','u','e','o'];
      |                  ^
      |                  ]
a.cc: In lambda function:
a.cc:5:18: error: expected '{' before ',' token
a.cc: In function 'int main()':
a.cc:5:14: error: initializer fails to determine size of 'S'
    5 |   char S[] = ['a','i','u','e','o'];
      |              ^~~~
a.cc:5:14: error: array must be initialized with a brace-enclosed initializer
a.cc:5:19: error: expected unqualified-id before 'i'
    5 |   char S[] = ['a','i','u','e','o'];
      |                   ^~~
a.cc:11:10: error: expected ';' before '}' token
   11 |       x++
      |          ^
      |          ;
   12 |     }
      |     ~
Language: C++

#include <iostream>
using namespace std;
int main(void){
    // Your code here!
    char a;
    cin>>a;
    if (c == 'a' || c == 'i' || c == 'u' || c == 'e' || c == 'o'){
        cout<<"vowel"<<endl;
    }
    else{
        cout<<"consonant"<<endl;
    }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:9: error: 'c' was not declared in this scope
    7 |     if (c == 'a' || c == 'i' || c == 'u' || c == 'e' || c == 'o'){
      |         ^
Language: C

#include<stdio.h>
int main()
{
  char ch;
  scanf ("%c", &ch);
    if(ch=='a' || ch=='e' || ch=='i' || ch=='o' || ch=='u' ||
       ch=='A' || ch=='E' || ch=='I' || ch=='O' || ch=='U')
    {
        printf("vowel", ch);
    }
    else {
        printf("consonant", ch);
    }
return;
}

Compiler output:
main.c: In function 'main':
main.c:14:1: error: 'return' with no value, in function returning non-void [-Wreturn-mismatch]
   14 | return;
      | ^~~~~~
main.c:2:5: note: declared here
    2 | int main()
      |     ^~~~
Language: C

#include<stdio.h>

int main()

{

  char c;

  scanf ("%c", &ch);

    if(c=='a' || c=='e' || c=='i' || c=='o' || c=='u' ||
       c=='A' || c=='E' || c=='I' || c=='O' || c=='U')
    {
        printf("vowel", c);
    }
    else {
        printf("consonant", c);
    }


  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:9:17: error: 'ch' undeclared (first use in this function); did you mean 'c'?
    9 |   scanf ("%c", &ch);
      |                 ^~
      |                 c
main.c:9:17: note: each undeclared identifier is reported only once for each function it appears in
Language: C++

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

int main() {
 char c;
  cin >> c;
  
  if(c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u'){
    cout << "vowel" << endl;
  }
  
  else if(){
    cout << "consonant" << endl;
  }
}  

Compiler output:
a.cc: In function 'int main()':
a.cc:12:11: error: expected primary-expression before ')' token
   12 |   else if(){
      |           ^
Language: C++

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

int main() {
 char c;
  int >> c;
  
  if(c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u'){
    cout << 'vowel' << endl;
  }
  
  else if{
    cout << 'consonant' << endl;
  }
}  

Compiler output:
a.cc:9:13: warning: multi-character literal with 5 characters exceeds 'int' size of 4 bytes
    9 |     cout << 'vowel' << endl;
      |             ^~~~~~~
a.cc:13:13: warning: multi-character literal with 9 characters exceeds 'int' size of 4 bytes
   13 |     cout << 'consonant' << endl;
      |             ^~~~~~~~~~~
a.cc: In function 'int main()':
a.cc:6:7: error: expected unqualified-id before '>>' token
    6 |   int >> c;
      |       ^~
a.cc:12:10: error: expected '(' before '{' token
   12 |   else if{
      |          ^
      |          (
Language: C++

#include<bits/stdc++.h>
using namespace std;
 
int main(){
  char s;
  cin >> s;
  bool Is = false;
  string str1="aiueo";
  for (int a=0; a<5; a++){
    if (str1.at(a) == s){
      cout << "vowel" << endl;
      Is = true;
      break;
    }
  }
  if (Is == false){
    cout << "constant" << endl;
}

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

#include<bits/stdc++.h>
using namespace std;
 
int main(){
  char s;
  cin >> s;
  bool Is = false;
  for (int a=0; a<5; a++){
    if ("aiueo".at(a) == s){
      cout << "vowel" << endl;
      Is = ture;
      break;
    }
  }
  if (Is == false){
    cout << "constant" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:17: error: request for member 'at' in '"aiueo"', which is of non-class type 'const char [6]'
    9 |     if ("aiueo".at(a) == s){
      |                 ^~
a.cc:11:12: error: 'ture' was not declared in this scope
   11 |       Is = ture;
      |            ^~~~
a.cc:17:2: error: expected '}' at end of input
   17 | }
      |  ^
a.cc:4:11: note: to match this '{'
    4 | int main(){
      |           ^
Language: C++

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

int main{
  char s;
  cin >> s;
  bool Is = false;
  for (int a=0; a<5; a++){
    if ("aiueo".at(a) == s){
      cout << "vowel" << endl;
      Is = ture;
      break;
    }
  }
  if (Is == false){
    cout << "constant" << endl;
}

Compiler output:
a.cc:4:5: error: cannot declare '::main' to be a global variable
    4 | int main{
      |     ^~~~
a.cc:5:3: error: expected primary-expression before 'char'
    5 |   char s;
      |   ^~~~
a.cc:5:3: error: expected '}' before 'char'
a.cc:4:9: note: to match this '{'
    4 | int main{
      |         ^
a.cc:6:3: error: 'cin' does not name a type
    6 |   cin >> s;
      |   ^~~
a.cc:8:3: error: expected unqualified-id before 'for'
    8 |   for (int a=0; a<5; a++){
      |   ^~~
a.cc:8:17: error: 'a' does not name a type
    8 |   for (int a=0; a<5; a++){
      |                 ^
a.cc:8:22: error: 'a' does not name a type
    8 |   for (int a=0; a<5; a++){
      |                      ^
a.cc:15:3: error: expected unqualified-id before 'if'
   15 |   if (Is == false){
      |   ^~
Language: C++

#include<bits/stdc++.h>

using namespace std;

typedef long long ll;

int main(){
  bool isVowel=false;
  char c;
  cin>>c;
  if(c=='a'||c=='e'||c=='i'||c=='o'||c=='u'){
    isVowel=true;
  }
  
  if(isVowel){
    cout<"vowel"<<endl;
  }else{
    cout<<"consonant"<<endl;
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:16:17: error: invalid operands of types 'const char [6]' and '<unresolved overloaded function type>' to binary 'operator<<'
   16 |     cout<"vowel"<<endl;
      |          ~~~~~~~^~~~~~
Language: C

#include<stdio.h>
int main(){
  char c;
  scanf("%c\n",&c)
  if(c=='a' ||c=='e' ||c=='i' ||c=='o' ||c=='u'){
    printf("vowel\n");}
  else printf("consonant\n");
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:19: error: expected ';' before 'if'
    4 |   scanf("%c\n",&c)
      |                   ^
      |                   ;
    5 |   if(c=='a' ||c=='e' ||c=='i' ||c=='o' ||c=='u'){
      |   ~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
char c;
void imput() {
  cin >> c;
}
void judge(char c) {
  if(c=='a'||c=='e'||c=='i'||c=='o'||c=='u') cout<<"vowel\n";
  else cout<<"consonant\n";
  return;
}
int main{
  imput();
  judge(c);
  return 0;
}

Compiler output:
a.cc:12:5: error: cannot declare '::main' to be a global variable
   12 | int main{
      |     ^~~~
a.cc:13:10: error: expected '}' before ';' token
   13 |   imput();
      |          ^
a.cc:12:9: note: to match this '{'
   12 | int main{
      |         ^
a.cc:13:8: error: void value not ignored as it ought to be
   13 |   imput();
      |   ~~~~~^~
a.cc:14:8: error: expected constructor, destructor, or type conversion before '(' token
   14 |   judge(c);
      |        ^
a.cc:15:3: error: expected unqualified-id before 'return'
   15 |   return 0;
      |   ^~~~~~
a.cc:16:1: error: expected declaration before '}' token
   16 | }
      | ^
Language: C++

include<bits/stdc++.h>
using namespace std;
char c;
void imput() {
  cin >> c;
}
void judge(char c) {
  if(c=='a'||c=='e'||c=='i'||c=='o'||c=='u') cout<<"vowel\n";
  else cout<<"consonant\n";
  return;
}
int main{
  imput();
  judge(c);
  return 0;
}

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<bits/stdc++.h>
      | ^~~~~~~
a.cc: In function 'void imput()':
a.cc:5:3: error: 'cin' was not declared in this scope
    5 |   cin >> c;
      |   ^~~
a.cc: In function 'void judge(char)':
a.cc:8:46: error: 'cout' was not declared in this scope
    8 |   if(c=='a'||c=='e'||c=='i'||c=='o'||c=='u') cout<<"vowel\n";
      |                                              ^~~~
a.cc:9:8: error: 'cout' was not declared in this scope
    9 |   else cout<<"consonant\n";
      |        ^~~~
a.cc: At global scope:
a.cc:12:5: error: cannot declare '::main' to be a global variable
   12 | int main{
      |     ^~~~
a.cc:13:10: error: expected '}' before ';' token
   13 |   imput();
      |          ^
a.cc:12:9: note: to match this '{'
   12 | int main{
      |         ^
a.cc:13:8: error: void value not ignored as it ought to be
   13 |   imput();
      |   ~~~~~^~
a.cc:14:8: error: expected constructor, destructor, or type conversion before '(' token
   14 |   judge(c);
      |        ^
a.cc:15:3: error: expected unqualified-id before 'return'
   15 |   return 0;
      |   ^~~~~~
a.cc:16:1: error: expected declaration before '}' token
   16 | }
      | ^
Language: C++

#include<iostream>
        #include<vector>
        #include<string> 
using namespace std;
        int main(){
          int a,b,i,j;
          cin>>a>>b;
          vector <char>c;
          for(i=0;i<a;i++){
            string s;
            cin>>s;
            for(j=0;j<b;j++)
              c[i][j]=s[j];
          }
          for(i=0;i<a;i++)
            for(j=0;j<b;j++){
              cout<<c[i][j];
            }
          cout<<endl;

Compiler output:
a.cc: In function 'int main()':
a.cc:13:19: error: invalid types '__gnu_cxx::__alloc_traits<std::allocator<char>, char>::value_type {aka char}[int]' for array subscript
   13 |               c[i][j]=s[j];
      |                   ^
a.cc:17:25: error: invalid types '__gnu_cxx::__alloc_traits<std::allocator<char>, char>::value_type {aka char}[int]' for array subscript
   17 |               cout<<c[i][j];
      |                         ^
a.cc:19:22: error: expected '}' at end of input
   19 |           cout<<endl;
      |                      ^
a.cc:5:19: note: to match this '{'
    5 |         int main(){
      |                   ^
Language: C++


        #include <iostream>
        #include <string>
        using namespace std;
         
        int main()
        {
          int a,b,i;
          cin>>a>>b;
          vector <string> c;
          
          for(i=0;i<a;i++)
            cin>>c;
          for(i=0;i<a;i++)
            cout<<c<<endl<<c<<endl;
          
          return 0;
        }

Compiler output:
a.cc: In function 'int main()':
a.cc:10:11: error: 'vector' was not declared in this scope
   10 |           vector <string> c;
      |           ^~~~~~
a.cc:3:1: note: 'std::vector' is defined in header '<vector>'; this is probably fixable by adding '#include <vector>'
    2 |         #include <iostream>
  +++ |+#include <vector>
    3 |         #include <string>
a.cc:10:25: error: expected primary-expression before '>' token
   10 |           vector <string> c;
      |                         ^
a.cc:10:27: error: 'c' was not declared in this scope
   10 |           vector <string> c;
      |                           ^
Language: C++

    #include<iostream>
    #include<string>
    using namespace std;
     
    int main()
    {
      int a,b,i;
      cin>>a>>b;
      for(i=0;i<a;i++)
      	string c[i];
      for(i=0;i<a;i++){
      		cin<<c[i]<<\n<<c[i]<<endl;
      }
      return 0;
    }

Compiler output:
a.cc:12:28: error: stray '\' in program
   12 |                 cin<<c[i]<<\n<<c[i]<<endl;
      |                            ^
a.cc: In function 'int main()':
a.cc:12:22: error: 'c' was not declared in this scope
   12 |                 cin<<c[i]<<\n<<c[i]<<endl;
      |                      ^
a.cc:12:29: error: 'n' was not declared in this scope
   12 |                 cin<<c[i]<<\n<<c[i]<<endl;
      |                             ^
Language: C++

 #include <iostream>
 using namespace std;
     
    int main(){
      
      char c;
      cin>>c;
      if(c=='a'||c=='i'||c=='u'||c=='e'||c=='o')
        cout<<"vowel"<<endl;
      else
        cout<<"consonant"<<endl;
      return 0;
    }

include <iostream>
using namespace std;

int main(){
  
  char c;
  cin>>c;
  if(c=='a'||c=='i'||c=='u'||c=='e'||c=='o')
    cout<<"vowel"<<endl;
  else
    cout<<"consonant"<<endl;
  return 0;
}


Compiler output:
a.cc:15:1: error: 'include' does not name a type
   15 | include <iostream>
      | ^~~~~~~
a.cc:18:5: error: redefinition of 'int main()'
   18 | int main(){
      |     ^~~~
a.cc:4:9: note: 'int main()' previously defined here
    4 |     int main(){
      |         ^~~~
Language: C++

include <iostream>
using namespace std;

int main(){
  
  char c;
  cin>>c;
  if(c=='a'||c=='i'||c=='u'||c=='e'||c=='o')
    cout<<"vowel"<<endl;
  else
    cout<<"consonant"<<endl;
  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:7:3: error: 'cin' was not declared in this scope
    7 |   cin>>c;
      |   ^~~
a.cc:9:5: error: 'cout' was not declared in this scope
    9 |     cout<<"vowel"<<endl;
      |     ^~~~
a.cc:9:20: error: 'endl' was not declared in this scope
    9 |     cout<<"vowel"<<endl;
      |                    ^~~~
a.cc:11:5: error: 'cout' was not declared in this scope
   11 |     cout<<"consonant"<<endl;
      |     ^~~~
a.cc:11:24: error: 'endl' was not declared in this scope
   11 |     cout<<"consonant"<<endl;
      |                        ^~~~
Language: C++

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

int main() {
  char c;
  cin >> c;
  if (c == "a" || c == "e" || c == "i" || c == "o" || c == "u") {
    cout << "vowel" << endl;
  }
  else {
    cout << "consonant" << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:9: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    7 |   if (c == "a" || c == "e" || c == "i" || c == "o" || c == "u") {
      |       ~~^~~~~~
a.cc:7:21: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    7 |   if (c == "a" || c == "e" || c == "i" || c == "o" || c == "u") {
      |                   ~~^~~~~~
a.cc:7:33: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    7 |   if (c == "a" || c == "e" || c == "i" || c == "o" || c == "u") {
      |                               ~~^~~~~~
a.cc:7:45: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    7 |   if (c == "a" || c == "e" || c == "i" || c == "o" || c == "u") {
      |                                           ~~^~~~~~
a.cc:7:57: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    7 |   if (c == "a" || c == "e" || c == "i" || c == "o" || c == "u") {
      |                                                       ~~^~~~~~
Language: C++

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

int main() {
  char c;
  cin >> c;
  if (c == "a" | c == "e" | c == "i" | c == "o" | c == "u") {
    cout << "vowel" << endl;
  }
  else {
    cout << "consonant" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:9: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    7 |   if (c == "a" | c == "e" | c == "i" | c == "o" | c == "u") {
      |       ~~^~~~~~
a.cc:7:20: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    7 |   if (c == "a" | c == "e" | c == "i" | c == "o" | c == "u") {
      |                  ~~^~~~~~
a.cc:7:31: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    7 |   if (c == "a" | c == "e" | c == "i" | c == "o" | c == "u") {
      |                             ~~^~~~~~
a.cc:7:42: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    7 |   if (c == "a" | c == "e" | c == "i" | c == "o" | c == "u") {
      |                                        ~~^~~~~~
a.cc:7:53: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    7 |   if (c == "a" | c == "e" | c == "i" | c == "o" | c == "u") {
      |                                                   ~~^~~~~~
a.cc:12:2: error: expected '}' at end of input
   12 | }
      |  ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

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

int main() {
  char c;
  cin >> c;
  if (c == 'a' || c == 'i' || c =='u' || c =='e' || c = 'o')
    cout << "vowel" << endl;
  else 
    cout << "consonant" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:50: error: lvalue required as left operand of assignment
    7 |   if (c == 'a' || c == 'i' || c =='u' || c =='e' || c = 'o')
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
Language: C++

#include<iostream>
using namespace std;
int main()
{
  char letter;
  cin>>letter;
  if(letter=='a'||letter=='i'||letter=='u'||letter=='e'||letter=='o'){
    cout<<"vowel"<<endl;
  }
  else{
    cout<<"consonant"<<endl
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:28: error: expected ';' before '}' token
   11 |     cout<<"consonant"<<endl
      |                            ^
      |                            ;
   12 |   }
      |   ~
Language: C++

#include<iostream>
using namespace std;
int main()
{
  char letter;
  cin>>c;
  if(letter=='a'||letter=='i'||letter=='u'||letter=='e'||letter=='o'){
    cout<<"vowel"<<endl;
  }
  else{
    cout<<"consonant"<<endl
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:8: error: 'c' was not declared in this scope
    6 |   cin>>c;
      |        ^
a.cc:11:28: error: expected ';' before '}' token
   11 |     cout<<"consonant"<<endl
      |                            ^
      |                            ;
   12 |   }
      |   ~
Language: C++

#include<iostream>
using namespace std;
int main()
{
  char letter;
  cin>>c;
  if(letter=='a'||letter=='i'||letter='u'||letter='e'||letter='o'){
    cout<<"vowel"<<endl;
  }
  else{
    cout<<"consonant"<<endl
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:8: error: 'c' was not declared in this scope
    6 |   cin>>c;
      |        ^
a.cc:7:54: error: lvalue required as left operand of assignment
    7 |   if(letter=='a'||letter=='i'||letter='u'||letter='e'||letter='o'){
      |                                                   ~~~^~~~~~~~
a.cc:11:28: error: expected ';' before '}' token
   11 |     cout<<"consonant"<<endl
      |                            ^
      |                            ;
   12 |   }
      |   ~
Language: C++

#include<iostrema>
using namespace std;
int main(){
  char c;
  cin>>c;
  if(c=='a'||c=='e'||c=='i'||c=='o'||c=='u')
  {
    cout<<"vowel";
  }
  else{
    cout<<"consonant";
  }
}

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

#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)

int main() {
  char C;
  cin >> C;
  if(c == 'a' || c == 'i' || c == 'u' || c == 'e' || c == 'o'){
   cout << "vowel" <<endl;
  }else{
   cout << "consonant" <<endl;
   }
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:6: error: 'c' was not declared in this scope
    8 |   if(c == 'a' || c == 'i' || c == 'u' || c == 'e' || c == 'o'){
      |      ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
const int N=1e3+5,M=2e4+5,inf=0x3f3f3f3f,mod=1e9+7;
#define mst(a,b) memset(a,b,sizeof a)
#define lx x<<1
#define rx x<<1|1
#define reg register
#define PII pair<int,int>
#define fi first
#define se second
#define pb push_back
#define il inline
char s[5]="aeiou";
int main(){
	char c;cin>>c;
	int f=0;
	for(int i=0;i<5;i++) if(c==s[i]) f=1;
	puts(f?"vowel":"consonant");
	return 0;
}

Compiler output:
a.cc:14:11: error: initializer-string for 'char [5]' is too long [-fpermissive]
   14 | char s[5]="aeiou";
      |           ^~~~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  char x;
  cin >> x;
  
  if (x=='a' || x=='e' || x=='i' || x=='o' || x=='u')
    cout << vowel << endl;
  else
    cout << consonant << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:13: error: 'vowel' was not declared in this scope
    9 |     cout << vowel << endl;
      |             ^~~~~
a.cc:11:13: error: 'consonant' was not declared in this scope
   11 |     cout << consonant << endl;
      |             ^~~~~~~~~
Language: C++

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

int main() {
  char c;
  cin >> c;
  
  if (c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u') {
    cout << "vowel" << endl;
  }
  else {
    cout << "consonant" << endl;
  }
}

Compiler output:
a.cc:2:1: error: 'uisng' does not name a type
    2 | uisng namespace std;
      | ^~~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |   cin >> c;
      |   ^~~
      |   std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 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:9:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |     cout << "vowel" << endl;
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:9:24: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    9 |     cout << "vowel" << endl;
      |                        ^~~~
      |                        std::endl
In file included from /usr/include/c++/14/istream:41,
                 from /usr/include/c++/14/sstream:40,
                 from /usr/include/c++/14/complex:45,
                 from /usr/include/c++/14/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:127:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:12:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   12 |     cout << "consonant" << endl;
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:12:28: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   12 |     cout << "consonant" << endl;
      |                            ^~~~
      |                            std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include<iostream>
using namespace std;

int main () {
  char x;
  cin >> x;
  string x = "aeiou";
  if ( x == 'a' || x == 'e' || x == 'i' || x == 'o' || x == 'u'){
    cout << "vowel\n"; 
  } else {
    cout << "consonant\n";
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:10: error: conflicting declaration 'std::string x'
    7 |   string x = "aeiou";
      |          ^
a.cc:5:8: note: previous declaration as 'char x'
    5 |   char x;
      |        ^
Language: C++

#include<iostream>
using namespace std;

int main () {
  char x;
  cin >> x;
  string n = "aeiou";
  for (int i = 0; i < x.length() - 1; i ++){
    if (x == n[i]){
      cout << "vowel\n";
    } else {
      cout << "consonant\n";
    }
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:25: error: request for member 'length' in 'x', which is of non-class type 'char'
    8 |   for (int i = 0; i < x.length() - 1; i ++){
      |                         ^~~~~~
Language: C++

#include<iostream>
using namespace std;

int main(){
	char c;
	cin>>c;
  	if(c=="a"||c=="e"||c=="i"||c=="o"||c=="u"){
    	cout<<"vowel";
    }
  	else{
    	cout<<"consonant";
    }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:13: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    7 |         if(c=="a"||c=="e"||c=="i"||c=="o"||c=="u"){
      |            ~^~~~~
a.cc:7:21: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    7 |         if(c=="a"||c=="e"||c=="i"||c=="o"||c=="u"){
      |                    ~^~~~~
a.cc:7:29: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    7 |         if(c=="a"||c=="e"||c=="i"||c=="o"||c=="u"){
      |                            ~^~~~~
a.cc:7:37: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    7 |         if(c=="a"||c=="e"||c=="i"||c=="o"||c=="u"){
      |                                    ~^~~~~
a.cc:7:45: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    7 |         if(c=="a"||c=="e"||c=="i"||c=="o"||c=="u"){
      |                                            ~^~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  
  char x;
  cin >> x;
  
  if (x = 'a' || x = 'e' || x = 'i' || x = 'o' || x = 'u') {
    cout << "vowel" << endl;
  }
  
  else {
    cout << "consonant" << endl;
  }
  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:48: error: lvalue required as left operand of assignment
    9 |   if (x = 'a' || x = 'e' || x = 'i' || x = 'o' || x = 'u') {
      |                                            ~~~~^~~~
Language: C++

#include <bits/stdc++.h>

using namespace std;

int main(){

	cher c;

	cin >> c ;

	if( c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u')

		cout << "vowel"<< endl;
	

	else
		cout << "consonant" << endl;
}	

Compiler output:
a.cc: In function 'int main()':
a.cc:7:9: error: 'cher' was not declared in this scope; did you mean 'char'?
    7 |         cher c;
      |         ^~~~
      |         char
a.cc:9:16: error: 'c' was not declared in this scope
    9 |         cin >> c ;
      |                ^
Language: C++


//#include <tourist>
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<ll, ll> p;
const int INF = 1e9;
const ll LINF = ll(1e18);
const int MOD = 1000000007;
const int dx[4] = {0, 1, 0, -1}, dy[4] = {-1, 0, 1, 0};
const int Dx[8] = {0, 1, 1, 1, 0, -1, -1, -1}, Dy[8] = {-1, -1, 0, 1, 1, 1, 0, -1};
#define yes cout << "Yes" << endl
#define YES cout << "YES" << endl
#define no cout << "No" << endl
#define NO cout << "NO" << endl
#define rep(i, n) for (int i = 0; i < n; i++)
#define ALL(v) v.begin(), v.end()
#define debug(v)          \
    cout << #v << ":";    \
    for (auto x : v)      \
    {                     \
        cout << x << ' '; \
    }                     \
    cout << endl;
template <class T>
bool chmax(T &a, const T &b)
{
    if (a < b)
    {
        a = b;
        return 1;
    }
    return 0;
}
template <class T>
bool chmin(T &a, const T &b)
{
    if (b < a)
    {
        a = b;
        return 1;
    }
    return 0;
}
//cout<<fixed<<setprecision(15);有効数字15桁
//-std=c++14
//-std=gnu++17
ll gcd(ll a, ll b) { return b ? gcd(b, a % b) : a; }
ll lcm(ll a, ll b) { return a / gcd(a, b) * b; }
int main()
{
    cin.tie(0);
    ios::sync_with_stdio(false);
    char s;
    string ans="aiueo";
    cin>>s;
    rep(i,5){
        if(s==ans[i]){
            cout<<"vowel"<<"\n";
            return 0;
        }
    }
    cout<<"consonant<<"\n";
}


Compiler output:
a.cc:63:24: error: stray '\' in program
   63 |     cout<<"consonant<<"\n";
      |                        ^
a.cc:63:26: warning: missing terminating " character
   63 |     cout<<"consonant<<"\n";
      |                          ^
a.cc:63:26: error: missing terminating " character
   63 |     cout<<"consonant<<"\n";
      |                          ^~
a.cc: In function 'int main()':
a.cc:63:24: error: expected ';' before 'n'
   63 |     cout<<"consonant<<"\n";
      |                        ^~
      |                        ;
Language: C++

define PI 3.14159265359
typedef long long ll;
//
int main(){
    
    char c;
    cin>>c;
    if(c=='a'||'i'||'u'||'e'||'o'){
    
    cout<<"vowel"<<endl;}else{
   cout<<"consonant"<<endl; }
    
}


Compiler output:
a.cc:1:1: error: 'define' does not name a type
    1 | define PI 3.14159265359
      | ^~~~~~
a.cc: In function 'int main()':
a.cc:7:5: error: 'cin' was not declared in this scope
    7 |     cin>>c;
      |     ^~~
a.cc:10:5: error: 'cout' was not declared in this scope
   10 |     cout<<"vowel"<<endl;}else{
      |     ^~~~
a.cc:10:20: error: 'endl' was not declared in this scope
   10 |     cout<<"vowel"<<endl;}else{
      |                    ^~~~
a.cc:11:4: error: 'cout' was not declared in this scope
   11 |    cout<<"consonant"<<endl; }
      |    ^~~~
a.cc:11:23: error: 'endl' was not declared in this scope
   11 |    cout<<"consonant"<<endl; }
      |                       ^~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
#define rep(i,n) for(int i=0; i<(n); i++)
#define FOR(i,a,b) for(int i=a; i<=b; i++)
#define all(v) v.begin(), v.end()
#define F first
#define S second
#define INF 1000000000000
#define MOD 10000007
#define PI 3.14159265359
typedef long long ll;
//
int main(){
    
    char c;
    cin>>c;
    if(c=='a'||'i'||'u'||'e'||'o'){
    
    cout<<vowel<<endl;}else{
   cout<<consonant<<endl; }
    
}


Compiler output:
a.cc: In function 'int main()':
a.cc:19:11: error: 'vowel' was not declared in this scope
   19 |     cout<<vowel<<endl;}else{
      |           ^~~~~
a.cc:20:10: error: 'consonant' was not declared in this scope
   20 |    cout<<consonant<<endl; }
      |          ^~~~~~~~~