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

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


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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:9: error: 'a' was not declared in this scope
    8 | if(c == a || e || i || o || u)
      |         ^
a.cc:8:14: error: 'e' was not declared in this scope
    8 | if(c == a || e || i || o || u)
      |              ^
a.cc:8:19: error: 'i' was not declared in this scope
    8 | if(c == a || e || i || o || u)
      |                   ^
a.cc:8:24: error: 'o' was not declared in this scope
    8 | if(c == a || e || i || o || u)
      |                        ^
a.cc:8:29: error: 'u' was not declared in this scope
    8 | if(c == a || e || i || o || u)
      |                             ^
a.cc: At global scope:
a.cc:10:2: error: expected unqualified-id before 'else'
   10 | }else{
      |  ^~~~
a.cc:13:1: error: expected declaration before '}' token
   13 | }
      | ^
Language: C++

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

int main() {
  string x;
  cin >> x;
  if(x=="a"or"i"or"u"or"e"or"o"){
  cout << "vowl" << endl;
  }
  else{
  cout << "consonant" << endl;
}
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:29: error: unable to find string literal operator 'operator""or' with 'const char [6]', 'long unsigned int' arguments
    7 |   if(x=="a"or"i"or"u"or"e"or"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"<<endl;
}
else{
cout<<"consonant"<<endl;
}

}



Compiler output:
a.cc: In function 'int main()':
a.cc:7:8: error: 'a' was not declared in this scope
    7 | if (c==a||c==i||c==u||c==e||c==o){
      |        ^
a.cc:7:14: error: 'i' was not declared in this scope
    7 | if (c==a||c==i||c==u||c==e||c==o){
      |              ^
a.cc:7:20: error: 'u' was not declared in this scope
    7 | if (c==a||c==i||c==u||c==e||c==o){
      |                    ^
a.cc:7:26: error: 'e' was not declared in this scope
    7 | if (c==a||c==i||c==u||c==e||c==o){
      |                          ^
a.cc:7:32: error: 'o' was not declared in this scope
    7 | if (c==a||c==i||c==u||c==e||c==o){
      |                                ^
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"<<endl;
}
else{
cout<<"consonant"<<endl;
}

}



Compiler output:
a.cc: In function 'int main()':
a.cc:7:8: error: 'a' was not declared in this scope
    7 | if (c==a||c==i||c==u||c==e||c==o){
      |        ^
a.cc:7:14: error: 'i' was not declared in this scope
    7 | if (c==a||c==i||c==u||c==e||c==o){
      |              ^
a.cc:7:20: error: 'u' was not declared in this scope
    7 | if (c==a||c==i||c==u||c==e||c==o){
      |                    ^
a.cc:7:26: error: 'e' was not declared in this scope
    7 | if (c==a||c==i||c==u||c==e||c==o){
      |                          ^
a.cc:7:32: error: 'o' was not declared in this scope
    7 | if (c==a||c==i||c==u||c==e||c==o){
      |                                ^
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"<<endl;
}
else{
cou<<t"consonant"<<endl;
}

}



Compiler output:
a.cc: In function 'int main()':
a.cc:7:8: error: 'a' was not declared in this scope
    7 | if (c==a||c==i||c==u||c==e||c==o||){
      |        ^
a.cc:7:14: error: 'i' was not declared in this scope
    7 | if (c==a||c==i||c==u||c==e||c==o||){
      |              ^
a.cc:7:20: error: 'u' was not declared in this scope
    7 | if (c==a||c==i||c==u||c==e||c==o||){
      |                    ^
a.cc:7:26: error: 'e' was not declared in this scope
    7 | if (c==a||c==i||c==u||c==e||c==o||){
      |                          ^
a.cc:7:32: error: 'o' was not declared in this scope
    7 | if (c==a||c==i||c==u||c==e||c==o||){
      |                                ^
a.cc:7:35: error: expected primary-expression before ')' token
    7 | if (c==a||c==i||c==u||c==e||c==o||){
      |                                   ^
a.cc:11:1: error: 'cou' was not declared in this scope; did you mean 'cos'?
   11 | cou<<t"consonant"<<endl;
      | ^~~
      | cos
a.cc:11:6: error: 't' was not declared in this scope
   11 | cou<<t"consonant"<<endl;
      |      ^
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: 'String' was not declared in this scope
    5 |         String x;
      |         ^~~~~~
a.cc:6:16: error: 'x' was not declared in this scope
    6 |         cin >> x;
      |                ^
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: 'String' was not declared in this scope
    5 |         String x;
      |         ^~~~~~
a.cc:6:16: error: 'x' was not declared in this scope
    6 |         cin >> x;
      |                ^
Language: Java

import java.util.*;
 
public class Main{
	public static void main(String[] args){
    	Scanner scan = new Scanner(System.in);
      	String s = scan.next();
      	if(s.contains("a")||s.contains("i")||
          s.contains("u")||
          s.contains("e")||s.contains("o")){
        	System.out.print("vowel");
        }
      	else{
        	SYstem.out.print("consonant");
        }
    }
 
}

Compiler output:
Main.java:13: error: package SYstem does not exist
        	SYstem.out.print("consonant");
        	      ^
1 error
Language: Java

import java.util.*;

public class Main{
	public static void main(String[] args){
    	Scanner scan = new Scanner(System.in);
      	String s = scan.next();
      	if(s.contains("a")||s.contains("i")||
          s.contains("u")||
          s.contains("e")||s.contains("o")||){
        	System.out.print("vowel");
        }
      	else{
        	SYstem.out.print("consonant");
        }
    }

}

Compiler output:
Main.java:9: error: illegal start of expression
          s.contains("e")||s.contains("o")||){
                                            ^
1 error
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:9: error: 'vowel' was not declared in this scope
    9 | cout << vowel << endl;
      |         ^~~~~
a.cc:13:9: error: 'consonant' was not declared in this scope
   13 | 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:9: error: 'vowel' was not declared in this scope
    9 | cout << vowel << endl;
      |         ^~~~~
a.cc:11:1: error: expected '}' before 'else'
   11 | else{
      | ^~~~
a.cc:8:51: note: to match this '{'
    8 | if(C=='a' || C=='i' || C=='u' || C=='e' || C=='o'){
      |                                                   ^
a.cc:12:9: error: 'consonant' was not declared in this scope
   12 | 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:9: error: 'vowel' was not declared in this scope
    9 | cout << vowel << endl;
      |         ^~~~~
a.cc:11:1: error: expected '}' before 'else'
   11 | else{
      | ^~~~
a.cc:8:51: note: to match this '{'
    8 | if(C=='a' || C=='i' || C=='u' || C=='e' || C=='o'){
      |                                                   ^
a.cc:12:9: error: 'consonant' was not declared in this scope
   12 | cout << consonant<< endl;
      |         ^~~~~~~~~
a.cc:13:2: error: expected '}' at end of input
   13 | }
      |  ^
a.cc:4:1: note: to match this '{'
    4 | {
      | ^
Language: C++

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


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

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

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

  return 0;
}


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

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

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

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:7:8: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    7 |   if (c=="a") {
      |       ~^~~~~
a.cc:10:13: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   10 |   else if (c=="e") {
      |            ~^~~~~
a.cc:13:13: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   13 |   else if (c=="i") {
      |            ~^~~~~
a.cc:16:13: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   16 |   else if (c=="o") {
      |            ~^~~~~
a.cc:19:13: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   19 |   else if (c=="u") {
      |            ~^~~~~
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:11:13: error: 'consonant' was not declared in this scope
   11 |     cout << consonant << endl;
      |             ^~~~~~~~~
a.cc:13:2: error: expected '}' at end of input
   13 | }
      |  ^
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 == 'e' || c == 'i' || c == 'o' || c == 'u'{
        cout << "vowel" << endl;
    } else {
        cout << "consonant" << endl;
    }

}



Compiler output:
a.cc: In function 'int main()':
a.cc:12:8: error: expected '(' before 'c'
   12 |     if c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u'{
      |        ^
      |        (
a.cc:14:7: error: 'else' without a previous 'if'
   14 |     } else {
      |       ^~~~
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:12:8: error: expected '(' before 'c'
   12 |     if c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u'{
      |        ^
      |        (
a.cc:14:7: error: 'else' without a previous 'if'
   14 |     } else{
      |       ^~~~
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:11:34: error: expected primary-expression before ')' token
   11 |       || c == 'o' || c == 'u' || ) ans = "vowel";
      |                                  ^
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:10:7: warning: missing terminating " character
   10 | cout<<"vowel<<endl;
      |       ^
a.cc:10:7: error: missing terminating " character
   10 | cout<<"vowel<<endl;
      |       ^~~~~~~~~~~~~
a.cc:12:7: warning: missing terminating " character
   12 | cout<<"vowel<<endl;
      |       ^
a.cc:12:7: error: missing terminating " character
   12 | cout<<"vowel<<endl;
      |       ^~~~~~~~~~~~~
a.cc:14:7: warning: missing terminating " character
   14 | cout<<"vowel<<endl;
      |       ^
a.cc:14:7: error: missing terminating " character
   14 | cout<<"vowel<<endl;
      |       ^~~~~~~~~~~~~
a.cc:16:7: warning: missing terminating " character
   16 | cout<<"vowel<<endl;
      |       ^
a.cc:16:7: error: missing terminating " character
   16 | cout<<"vowel<<endl;
      |       ^~~~~~~~~~~~~
a.cc: In function 'int main()':
a.cc:11:1: error: expected primary-expression before '}' token
   11 | }else if(c=='u'){
      | ^
a.cc:13:1: error: expected primary-expression before '}' token
   13 | }else if(c=='e'){
      | ^
a.cc:15:1: error: expected primary-expression before '}' token
   15 | }else if(c=='o'){
      | ^
a.cc:17:1: error: expected primary-expression before '}' token
   17 | }else{
      | ^
Language: Java

bo = ['a', 'i', 'u', 'e', 'o']
if (input() in bo):
    print("vowel")
else :
    print("consonant")

Compiler output:
Main.java:1: error: class, interface, enum, or record expected
bo = ['a', 'i', 'u', 'e', 'o']
^
1 error
Language: C++

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

int main(){
dhar 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:5:1: error: 'dhar' was not declared in this scope; did you mean 'char'?
    5 | dhar c;
      | ^~~~
      | char
a.cc:6:10: error: 'c' was not declared in this scope
    6 |   cin >> c;
      |          ^
Language: C++

#include<string>
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:6:3: error: 'cin' was not declared in this scope
    6 |   cin>>s;
      |   ^~~
a.cc:2:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
    1 | #include<string>
  +++ |+#include <iostream>
    2 | using namespace std;
a.cc:7:54: error: 'cout' was not declared in this scope
    7 |   if(s=="a" || s=="i" || s=="u" || s=="e" || s=="o") cout<<"vowel"<<endl;
      |                                                      ^~~~
a.cc:7:54: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:7:69: error: 'endl' was not declared in this scope
    7 |   if(s=="a" || s=="i" || s=="u" || s=="e" || s=="o") cout<<"vowel"<<endl;
      |                                                                     ^~~~
a.cc:2:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
    1 | #include<string>
  +++ |+#include <ostream>
    2 | using namespace std;
a.cc:8:8: error: 'cout' was not declared in this scope
    8 |   else cout<<"consonant"<<endl;
      |        ^~~~
a.cc:8:8: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:8:27: error: 'endl' was not declared in this scope
    8 |   else cout<<"consonant"<<endl;
      |                           ^~~~
a.cc:8:27: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: C++

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

int main() {
  str x;
  cin >> x;

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


Compiler output:
a.cc: In function 'int main()':
a.cc:5:3: error: 'str' was not declared in this scope; did you mean 'std'?
    5 |   str x;
      |   ^~~
      |   std
a.cc:6:10: error: 'x' was not declared in this scope
    6 |   cin >> x;
      |          ^
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:6:31: error: expected ';' before '}' token
    6 |   else 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:6:32: error: expected '}' at end of input
    6 |   else cout<<"consonant"<<endl;
      |                                ^
a.cc:3:11: note: to match this '{'
    3 | int main(){
      |           ^
Language: C

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <time.h>

#define _CRT_SECURE_NO_WARNINGS
#define TLong long long 

int main(int argc, char const *argv[]){
	char string[] = "aiueo";
	char ch;
	scanf("%c",&ch);
	for (int i = 0; i < 5; ++i)
	{
		if(ch == string[i]){
			puts("vowel")
			return 0;
		}
	}
	puts("consonant");
}


Compiler output:
main.c: In function 'main':
main.c:17:38: error: expected ';' before 'return'
   17 |                         puts("vowel")
      |                                      ^
      |                                      ;
   18 |                         return 0;
      |                         ~~~~~~
Language: C

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <time.h>

#define _CRT_SECURE_NO_WARNINGS
#define TLong long long 

int main(int argc, char const *argv[]){
	char string[] = "aiueo";
	char ch;
	scanf("%c",&ch);
	for (int i = 0; i < 5; ++i)
	{
		if(ch == string[i]){
			puts("Yes")
			return 0;
		}
	}
	puts("No");
}


Compiler output:
main.c: In function 'main':
main.c:17:36: error: expected ';' before 'return'
   17 |                         puts("Yes")
      |                                    ^
      |                                    ;
   18 |                         return 0;
      |                         ~~~~~~
Language: C

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <time.h>

#define _CRT_SECURE_NO_WARNINGS
#define TLong long long 

int main(int argc, char const *argv[]){
	char string[] = "aiueo";
	char ch;
	scanf("%c",ch);
	for (int i = 0; i < 5; ++i)
	{
		if(ch == string[i]){
			puts("Yes")
			return 0;
		}
	}
	puts("No");
}


Compiler output:
main.c: In function 'main':
main.c:17:36: error: expected ';' before 'return'
   17 |                         puts("Yes")
      |                                    ^
      |                                    ;
   18 |                         return 0;
      |                         ~~~~~~
Language: C++

#include<iostream>
#include<string>
#include <algorithm>
using namespace std;
int main()
{
  string c;
  cin >> c;
  target_list = "aiueo";
  if(target_list.find(c) != string::npos){
    cout << "vowel" << endl;
  }else{
    cout << "consonant" << endl;
  }

  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:3: error: 'target_list' was not declared in this scope
    9 |   target_list = "aiueo";
      |   ^~~~~~~~~~~
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:6:8: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    6 |  if (c == "a" || c == "i" || c == "u" || c == "e" ||c == "o"){
      |      ~~^~~~~~
a.cc:6:20: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    6 |  if (c == "a" || c == "i" || c == "u" || c == "e" ||c == "o"){
      |                  ~~^~~~~~
a.cc:6:32: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    6 |  if (c == "a" || c == "i" || c == "u" || c == "e" ||c == "o"){
      |                              ~~^~~~~~
a.cc:6:44: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    6 |  if (c == "a" || c == "i" || c == "u" || c == "e" ||c == "o"){
      |                                          ~~^~~~~~
a.cc:6:55: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    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" << endl;
  }
  else{
    cout < "consonant" << endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:11:24: error: invalid operands of types 'const char [10]' and '<unresolved overloaded function type>' to binary 'operator<<'
   11 |     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";
  else 
  cout << "consonant"
}

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

import java.util.*;
class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String c = sc.nex();
        if(c.equals("a") || c.equals("e") || c.equals("i") || c.equals("o") || c.equals("u")) {
            System.out.println("vowel");
        }else {
            System.out.println("consonant");
        }
    }
}

Compiler output:
Main.java:5: error: cannot find symbol
        String c = sc.nex();
                     ^
  symbol:   method nex()
  location: variable sc of type Scanner
1 error
Language: C++

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

int main(){
  char 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:1:10: fatal error: bits.stdc++.h: No such file or directory
    1 | #include <bits.stdc++.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
Language: C++

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

int main() {
  string S;
  cin >> S;
  if (S.at(0)='a' ||S.at(0)='e'||S.at(0)='i'||S.at(0)='o'||S.at(0)='u'){
    cout << "vowel" << endl;
  }
  else {
    cout << "consonant" << endl;
  }

   
}

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

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

int main() {
  string S;
  cin >> S;
  if (S.at(0)='a' || S.at(0)='e'||S.at(0)='i'||S.at(0)='o'||S.at(0)='u'||){
    cout << "voel" << endl;
  }
  else {
    cout << "consonant" << endl;
  }

   
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:74: error: expected primary-expression before ')' token
    7 |   if (S.at(0)='a' || S.at(0)='e'||S.at(0)='i'||S.at(0)='o'||S.at(0)='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:12:2: error: expected '}' at end of input
   12 | }
      |  ^
a.cc:4:11: note: to match this '{'
    4 | int main(){
      |           ^
Language: C++

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

int main() {
  char c;
  cin >> c;
const string vowel="aeiou";
cout << vowel.find(c)==sring::npos ? "vowel":"consonant"<<endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:24: error: 'sring' has not been declared
    8 | cout << vowel.find(c)==sring::npos ? "vowel":"consonant"<<endl;
      |                        ^~~~~
a.cc:8:57: error: invalid operands of types 'const char [10]' and '<unresolved overloaded function type>' to binary 'operator<<'
    8 | cout << vowel.find(c)==sring::npos ? "vowel":"consonant"<<endl;
      |                                              ~~~~~~~~~~~^~~~~~
Language: C++

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

int main() {
  char c;
  cin >> c;
const string vowel="aeiou";
cout << vowel.find(c)==sring::npos ? "vowel":"consonant"<<endl;

}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:24: error: 'sring' has not been declared
    8 | cout << vowel.find(c)==sring::npos ? "vowel":"consonant"<<endl;
      |                        ^~~~~
a.cc:8:57: error: invalid operands of types 'const char [10]' and '<unresolved overloaded function type>' to binary 'operator<<'
    8 | cout << vowel.find(c)==sring::npos ? "vowel":"consonant"<<endl;
      |                                              ~~~~~~~~~~~^~~~~~
Language: C++

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

int main() {
  char c;
  cin >> c;
const string vowel="aeiou";
cout << vowel.find(c)==sring::npos ? "vowel":"consonant"<<endl;
  cout << ans << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:24: error: 'sring' has not been declared
    8 | cout << vowel.find(c)==sring::npos ? "vowel":"consonant"<<endl;
      |                        ^~~~~
a.cc:8:57: error: invalid operands of types 'const char [10]' and '<unresolved overloaded function type>' to binary 'operator<<'
    8 | cout << vowel.find(c)==sring::npos ? "vowel":"consonant"<<endl;
      |                                              ~~~~~~~~~~~^~~~~~
a.cc:9:11: error: 'ans' was not declared in this scope; did you mean 'abs'?
    9 |   cout << ans << endl;
      |           ^~~
      |           abs
Language: C++

#include <iostream>
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:4:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    4 |   cin >> c;
      |   ^~~
      |   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:6:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 |     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:6:24: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    6 |     cout << "vowel" << endl;
      |                        ^~~~
      |                        std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:8:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |     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:8:28: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |     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 <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;
}
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:19: error: lvalue required as left operand of assignment
    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 =="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:10: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    8 |   if ( c =="a"||c =="i"||c =="u"||c =="e"||c =="o") {
      |        ~~^~~~~
a.cc:8:19: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    8 |   if ( c =="a"||c =="i"||c =="u"||c =="e"||c =="o") {
      |                 ~~^~~~~
a.cc:8:28: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    8 |   if ( c =="a"||c =="i"||c =="u"||c =="e"||c =="o") {
      |                          ~~^~~~~
a.cc:8:37: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    8 |   if ( c =="a"||c =="i"||c =="u"||c =="e"||c =="o") {
      |                                   ~~^~~~~
a.cc:8:46: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    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" || 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:10: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    8 |   if ( c == "a" || c == "i"|| c == "u" || c == "e" || c == "o") {
      |        ~~^~~~~~
a.cc:8:22: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    8 |   if ( c == "a" || c == "i"|| c == "u" || c == "e" || c == "o") {
      |                    ~~^~~~~~
a.cc:8:33: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    8 |   if ( c == "a" || c == "i"|| c == "u" || c == "e" || c == "o") {
      |                               ~~^~~~~~
a.cc:8:45: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    8 |   if ( c == "a" || c == "i"|| c == "u" || c == "e" || c == "o") {
      |                                           ~~^~~~~~
a.cc:8:57: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    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;
  
  char a, i, u, e, o;
  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:18: error: 'C' was not declared in this scope
    9 |   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" << endl;
  }
  else {
    cout << "consonant" << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:13: error: 'a' was not declared in this scope
    8 |   if ( c == a || C == i || c == u || c == e || c == o) {
      |             ^
a.cc:8:18: error: 'C' was not declared in this scope
    8 |   if ( c == a || C == i || c == u || c == e || c == o) {
      |                  ^
a.cc:8:23: error: 'i' was not declared in this scope
    8 |   if ( c == a || C == i || c == u || c == e || c == o) {
      |                       ^
a.cc:8:33: error: 'u' was not declared in this scope
    8 |   if ( c == a || C == i || c == u || c == e || c == o) {
      |                                 ^
a.cc:8:43: error: 'e' was not declared in this scope
    8 |   if ( c == a || C == i || c == u || c == e || c == o) {
      |                                           ^
a.cc:8:53: error: 'o' 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;

int main(){
  char 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:7:7: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    7 |   if(s=="a" || s=="i" || s=="u" || s=="e" || s="o"){
      |      ~^~~~~
a.cc:7:17: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    7 |   if(s=="a" || s=="i" || s=="u" || s=="e" || s="o"){
      |                ~^~~~~
a.cc:7:27: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    7 |   if(s=="a" || s=="i" || s=="u" || s=="e" || s="o"){
      |                          ~^~~~~
a.cc:7:37: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    7 |   if(s=="a" || s=="i" || s=="u" || s=="e" || s="o"){
      |                                    ~^~~~~
a.cc:7:43: error: lvalue required as left operand of assignment
    7 |   if(s=="a" || s=="i" || s=="u" || s=="e" || s="o"){
      |      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
Language: C++

#include <iostream>
#include <algorithm>
#include <string> 
#include <vector>
#include <iomanip>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:15:36: error: expected ';' before '}' token
   15 |                 cout << "consonant"
      |                                    ^
      |                                    ;
   16 |         }
      |         ~
Language: C

#include <stdio.h>
int main(void){
char s[2];
  scanf("%s",s);
  if(a[0]=='a'||a[0]=='b'||a[0]=='c'||a[0]=='d'||a[0]=='e'){
  printf("vowel");
  }
  else{
  printf("consonant");
  }
  
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:6: error: 'a' undeclared (first use in this function)
    5 |   if(a[0]=='a'||a[0]=='b'||a[0]=='c'||a[0]=='d'||a[0]=='e'){
      |      ^
main.c:5:6: note: each undeclared identifier is reported only once for each function it appears in
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:8:9: error: unknown type name 'init'; did you mean 'int'?
    8 |         init o;
      |         ^~~~
      |         int
Language: C++

#include <iostream>
#include <array>
#include <vector>
#include <iomanip>
#include <string>
#include <cmath>
#include <algorithm>
#include <queue>
#include <map>
#include <set>
using namespace std;
typedef pair<int, int> P;
typedef long long LL;

const LL INF = 1 << 31;

int main()
{
    string a[4] = {"dream", "erase", "dreamer", "eraser"};
    string s;
    cin >> s;
    reverse(s.begin(), s.end());
    for (int i = 0; i < 4; ++i)
    {
        reverse(a[i].begin(), a[i].end());
    }
    bool ans = false;
    LL j = 0;
    bool aaa = true;
    while (aaa)
    {
        bool ans2 = false;
        for (int i = 0; i < 4; ++i)
        {
            if (i < 2)
            {
                string d = s.substr(j, 5);
                if (d == a[i])
                {
                    j += 5;
                    ans2 = true;
                }
                continue;
            }
            else if (i == 3)
            {
                string d = s.substr(j, 6);
                if (d == a[i])
                {
                    j += 6;
                    ans2 = true;
                }
                continue;
            }
            else
            {
                string d = s.substr(i, 7);
                if (d == a[i])
                {
                    j += 7;
                    ans2 = true;
                }
                continue;
            }
        }
        LL uuu = s.size();
        if (!ans2)
        {
            aaa = false;
            break;
        }
        else if (j >= uuu - 1)
        {
            ans = true;
            break;
        }
        if (ans)
            cout << "YES" << endl;
        else
            cout << "NO" << endl;
    }
    

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

// ABC049_A
#include <iostream>
#include <cstdio>
#include <string>
#include <vector>
#include <iterator>  // std::back_inserter()
#include <tuple>  // std::tuple std::get
#include <set>
#include <map>
#include <unordered_map>
#include <unordered_set>
#include <algorithm>  // std::copy()
#include <functional>  // std::greater<T>()
#include <utility>  // std::swap()
#include <numeric>  // accumulate(ALL(vec), 0)  0 は初期値
#include <bitset>  // static_cast<std::bitset<8>>
#include <sstream>  // std::stringstream
#include <cmath>
#include <climits>  // INT_MIN
#include <cctype>  // std::isdigit()
#include <iomanip>  // std::setprecision()
using namespace std;

#define ALL(obj) (obj).begin(), (obj).end()
#define REP(i, n) for (ll i=0; i < n; i++)  // 0 ~ n-1
#define REPN(i, n) for (ll i=1; i <= n; i++)  // 1 ~ n
#define MIN(vec) min_element(ALL((vec)))  // イテレータのため、値を取り出すときは * を先頭につける
#define MAX(vec) max_element(ALL((vec)))
#define IDX(vec, element_iter) distance((vec).begin(), element_iter)
#define SUM(vec) accumulate(ALL((vec)), 0LL)  // 0 は初期値
#define COPY(vec1, vec2) copy(ALL(vec1), back_inserter(vec2))  // vec1をvec2にコピーする vec2は空にしておく必要あり
typedef long long ll;

const ll MOD7 = 1000000007;  // 1 000 000 007
const ll MOD9 = 1000000009;  // 1 000 000 009

int main() {
    cin.tie(0);
    ios::sync_with_stdio(false);

    // input
    char ch;
    cin >> ch;
    
    // calculation
    if (ch == 'a' || ch == 'e' ||ch == 'i' ||ch == 'o' ||ch == 'u' ||){
        cout << "vowel" << "\n";
    } else {
        cout << "consonant" << "\n";
    }
    return 0;
}


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

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

int main() {
  char a;
  cin >> a;

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


Compiler output:
a.cc: In function 'int main()':
a.cc:8:9: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    8 |   if (a == "a"||a == "i"||a == "u"||a == "e"||a == "o") {
      |       ~~^~~~~~
a.cc:8:19: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    8 |   if (a == "a"||a == "i"||a == "u"||a == "e"||a == "o") {
      |                 ~~^~~~~~
a.cc:8:29: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    8 |   if (a == "a"||a == "i"||a == "u"||a == "e"||a == "o") {
      |                           ~~^~~~~~
a.cc:8:39: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    8 |   if (a == "a"||a == "i"||a == "u"||a == "e"||a == "o") {
      |                                     ~~^~~~~~
a.cc:8:49: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    8 |   if (a == "a"||a == "i"||a == "u"||a == "e"||a == "o") {
      |                                               ~~^~~~~~
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;
  }
}

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

#include<iostream>
using namespace std;

int main( )
{
  int 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:12: error: 'a' was not declared in this scope
    9 |   if (c == a || c == i || c == u || c == e || c == o)
      |            ^
a.cc:9:22: error: 'i' was not declared in this scope
    9 |   if (c == a || c == i || c == u || c == e || c == o)
      |                      ^
a.cc:9:32: error: 'u' was not declared in this scope
    9 |   if (c == a || c == i || c == u || c == e || c == o)
      |                                ^
a.cc:9:42: error: 'e' was not declared in this scope
    9 |   if (c == a || c == i || c == u || c == e || c == o)
      |                                          ^
a.cc:9:52: error: 'o' was not declared in this scope
    9 |   if (c == a || c == i || c == u || c == e || c == o)
      |                                                    ^
Language: Java

import java.io.BufferedReader;
import java.io.InputStreamReader;
 
public class HelloWorld {
	 public static void main(String[] args) throws Exception {
     BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String input = br.readLine();
			if (input.equals("a") ||input.equals("e")|| input.equals("i") || input.equals("o") || input.equals("u")) {
           	        System.out.println("vowel");
 
            }else{
       	        System.out.println("consonant");
 
            }
       
     
     
     }
}

Compiler output:
Main.java:4: error: class HelloWorld is public, should be declared in a file named HelloWorld.java
public class HelloWorld {
       ^
1 error
Language: Java

package intro;
import java.io.BufferedReader;
import java.io.InputStreamReader;
 
public class HelloWorld {
	 public static void main(String[] args) throws Exception {
     BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String input = br.readLine();
			if (input.equals("a") ||　input.equals("e" || input.equals("i") || input.equals("o") || input.equals("u")) ){
           	        System.out.println(vowel);

            }else{
       	        System.out.println(consonant);

            }
       
     
     
     }
}

Compiler output:
Main.java:9: error: illegal character: '\u3000'
			if (input.equals("a") ||?input.equals("e" || input.equals("i") || input.equals("o") || input.equals("u")) ){
			                        ^
Main.java:9: error: ';' expected
			if (input.equals("a") ||?input.equals("e" || input.equals("i") || input.equals("o") || input.equals("u")) ){
			                                                                                                         ^
Main.java:12: error: 'else' without 'if'
            }else{
             ^
3 errors
Language: C++

#include<iostream>
using namespace std;

int main(void)
{
  char n;
  cin >> n;
  switch(n)
  {
    case a:
    case i:
    case u:
    case e:
    case o:
      cout << "vowel" << endl;
      break;
    default:
      cout << "consonant" << endl;
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:10: error: 'a' was not declared in this scope
   10 |     case a:
      |          ^
a.cc:11:10: error: 'i' was not declared in this scope
   11 |     case i:
      |          ^
a.cc:12:10: error: 'u' was not declared in this scope
   12 |     case u:
      |          ^
a.cc:13:10: error: 'e' was not declared in this scope
   13 |     case e:
      |          ^
a.cc:14:10: error: 'o' was not declared in this scope
   14 |     case o:
      |          ^