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:7:9: error: 'a' was not declared in this scope
    7 |   if (c=a||e||i||o||u) {
      |         ^
a.cc:7:12: error: 'e' was not declared in this scope
    7 |   if (c=a||e||i||o||u) {
      |            ^
a.cc:7:15: error: 'i' was not declared in this scope
    7 |   if (c=a||e||i||o||u) {
      |               ^
a.cc:7:18: error: 'o' was not declared in this scope
    7 |   if (c=a||e||i||o||u) {
      |                  ^
a.cc:7:21: error: 'u' was not declared in this scope
    7 |   if (c=a||e||i||o||u) {
      |                     ^
a.cc:8:13: error: 'vowel' was not declared in this scope
    8 |     cout << vowel << endl;
      |             ^~~~~
a.cc:11:13: error: 'consonant' was not declared in this scope
   11 |     cout << consonant << endl;
      |             ^~~~~~~~~
Language: Java

import java.util.Arrays;
import java.util.List;
import java.util.Scanner;

public class MainA {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String input = sc.next();
		String ans;
		String [] vowel = {"a", "e", "i", "o", "u"};
		List<String> aa = Arrays.asList(vowel);
		if (aa.contains(input)) {
			ans = "vowel";
		} else {
			ans = "consonant";
		}
		System.out.println(ans);
		sc.close();
	}
}

Compiler output:
Main.java:5: error: class MainA is public, should be declared in a file named MainA.java
public class MainA {
       ^
1 error
Language: C++

#include <iostream>
#include<string>

using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:14:14: error: expected '}' at end of input
   14 |     return 0;
      |              ^
a.cc:7:1: note: to match this '{'
    7 | {
      | ^
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==0)
cout<<'vowel'<<endl;
else
cout<<'consonant'<<endl;
}

Compiler output:
a.cc:7:7: warning: multi-character literal with 5 characters exceeds 'int' size of 4 bytes
    7 | cout<<'vowel'<<endl;
      |       ^~~~~~~
a.cc:9:7: warning: multi-character literal with 9 characters exceeds 'int' size of 4 bytes
    9 | cout<<'consonant'<<endl;
      |       ^~~~~~~~~~~
a.cc: In function 'int main()':
a.cc:6:7: error: 'a' was not declared in this scope
    6 | if(c==a || c==i || c==u || c==e || c==0)
      |       ^
a.cc:6:15: error: 'i' was not declared in this scope
    6 | if(c==a || c==i || c==u || c==e || c==0)
      |               ^
a.cc:6:23: error: 'u' was not declared in this scope
    6 | if(c==a || c==i || c==u || c==e || c==0)
      |                       ^
a.cc:6:31: error: 'e' was not declared in this scope
    6 | if(c==a || c==i || c==u || c==e || c==0)
      |                               ^
Language: Java

package welcome;
import java.util.Scanner;
public class hello {

	public static void main(String[] args) {
		Scanner input=new Scanner(System.in);
char x=input.next().charAt(0);
if(x=='a'||x=='e'||x=='i'||x=='o'||x=='u') {System.out.println("vowel");}
else {System.out.println("consonant");}
	

	
	
	
		
	}
	
	
	
}

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

package JUOIAUAI;

import java.util.Scanner;

public class JUOIAUAI {

	public static void main(String[] args) {

Scanner read =new Scanner (System.in);

char x;
x=read.next().charAt(0);

if(x=='a'||x=='o'||x=='u'||x=='e'||x=='i') {
	System.out.println("vowel");
}
else {	System.out.println("consonant");}

		
		
		
	}

}


Compiler output:
Main.java:5: error: class JUOIAUAI is public, should be declared in a file named JUOIAUAI.java
public class JUOIAUAI {
       ^
1 error
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:11: error: expected ';' before 'if'
    6 |   cin >> x
      |           ^
      |           ;
    7 |   if ( x ==  'a', 'e', 'i', 'o', 'u' ) {
      |   ~~       
a.cc:10:3: error: 'else' without a previous 'if'
   10 |   else if ( x !=  'a', 'e', 'i', 'o', 'u' ) {
      |   ^~~~
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 << endl;
    }
    else {
        cout << consonant <<endl;
    }
    
    
    return 0;
}


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

#include <bits/stdc++.h>
using namespace std;
#define pp pair<int,int>
#define rep(i,n) for(int (i)=0;(i)<(n);(i)++)
#define ll long long
#define ld long double
#define all(a) (a).begin(),(a).end()
#define mk make_pair
ll MOD=1000000007;
ll mod=998244353;
int inf=1000001000;
ll INF=1e18+5;


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:19:27: error: expected ';' before 'endl'
   19 |   else 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:8:9: error: 'vowel' was not declared in this scope
    8 | cout << vowel << endl;
      |         ^~~~~
a.cc:11:9: error: 'consonant' 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='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:30: error: lvalue required as left operand of assignment
    7 | if(c='a'||c='i'||c='u'||c='e'||c='o'){
      |                           ~~~^~~
a.cc:8:9: error: 'vowel' was not declared in this scope
    8 | cout << vowel << endl;
      |         ^~~~~
a.cc:11:9: error: 'consonant' 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=='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:9: error: 'vowel' was not declared in this scope
    8 | cout << vowel << endl;
      |         ^~~~~
a.cc:10:6: error: expected primary-expression before ')' token
   10 | else(){
      |      ^
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:4:5: error: cannot declare '::main' to be a global variable
    4 | int main{
      |     ^~~~
a.cc:5:1: error: expected primary-expression before 'char'
    5 | char c;
      | ^~~~
a.cc:5:1: error: expected '}' before 'char'
a.cc:4:9: note: to match this '{'
    4 | int main{
      |         ^
a.cc:6:1: error: 'cin' does not name a type
    6 | cin >> c;
      | ^~~
a.cc:7:1: error: expected unqualified-id before 'if'
    7 | if(c=='a'||c=='i'||c=='u'||c=='e'||c=='o'){
      | ^~
a.cc:10:1: 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{
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:4:5: error: cannot declare '::main' to be a global variable
    4 | int main{
      |     ^~~~
a.cc:5:1: error: expected primary-expression before 'char'
    5 | char c
      | ^~~~
a.cc:5:1: error: expected '}' before 'char'
a.cc:4:9: note: to match this '{'
    4 | int main{
      |         ^
a.cc:10:1: 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{
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.stdc++.h: No such file or directory
    1 | #include <bits.stdc++.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
Language: C++

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


Compiler output:
a.cc:6:11: warning: multi-character literal with 9 characters exceeds 'int' size of 4 bytes
    6 |     print('consonant')
      |           ^~~~~~~~~~~
a.cc:1:1: error: 's' does not name a type
    1 | s = input()
      | ^
Language: C++

#include "bits/stdc++.h"
using namespace std;
 
int main() {
  string C;
  string A;
     cin >> C;
    A = "consonant";
  if(C = "a"){
    A = "vowel";
  }
    if(C = "i"){
    A = "vowel";
  }  if(C = "u"){
    A = "vowel";
  }  if(C = "e"){
    A = "vowel";
  }
    if(C = "o"){
    A = "vowel";
  }
  cout << A;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:8: error: could not convert 'C.std::__cxx11::basic_string<char>::operator=(((const char*)"a"))' from 'std::__cxx11::basic_string<char>' to 'bool'
    9 |   if(C = "a"){
      |      ~~^~~~~
      |        |
      |        std::__cxx11::basic_string<char>
a.cc:12:10: error: could not convert 'C.std::__cxx11::basic_string<char>::operator=(((const char*)"i"))' from 'std::__cxx11::basic_string<char>' to 'bool'
   12 |     if(C = "i"){
      |        ~~^~~~~
      |          |
      |          std::__cxx11::basic_string<char>
a.cc:14:11: error: could not convert 'C.std::__cxx11::basic_string<char>::operator=(((const char*)"u"))' from 'std::__cxx11::basic_string<char>' to 'bool'
   14 |   }  if(C = "u"){
      |         ~~^~~~~
      |           |
      |           std::__cxx11::basic_string<char>
a.cc:16:11: error: could not convert 'C.std::__cxx11::basic_string<char>::operator=(((const char*)"e"))' from 'std::__cxx11::basic_string<char>' to 'bool'
   16 |   }  if(C = "e"){
      |         ~~^~~~~
      |           |
      |           std::__cxx11::basic_string<char>
a.cc:19:10: error: could not convert 'C.std::__cxx11::basic_string<char>::operator=(((const char*)"o"))' from 'std::__cxx11::basic_string<char>' to 'bool'
   19 |     if(C = "o"){
      |        ~~^~~~~
      |          |
      |          std::__cxx11::basic_string<char>
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:8: error: could not convert 'C.std::__cxx11::basic_string<char>::operator=(((int)((char)(((((((const char*)"a") != 0) || (((const char*)"i ") != 0)) || (((const char*)"e") != 0)) || (((const char*)"u") != 0)) || (((const char*)"o") != 0)))))' from 'std::__cxx11::basic_string<char>' to 'bool'
    8 |   if(C = "a"||"i "||"e"||"u"||"o"){
      |      ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
      |        |
      |        std::__cxx11::basic_string<char>
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:8:8: error: could not convert 'C.std::__cxx11::basic_string<char>::operator=(((int)((char)(((((((const char*)"a") != 0) || (((const char*)"i ") != 0)) || (((const char*)"e") != 0)) || (((const char*)"u") != 0)) || (((const char*)"o") != 0)))))' from 'std::__cxx11::basic_string<char>' to 'bool'
    8 |   if(C = "a"||"i "||"e"||"u"||"o"){
      |      ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
      |        |
      |        std::__cxx11::basic_string<char>
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:6:5: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    6 | if(c=="a"||c=="e"||c=="i"||c=="o"||c=="u") cout<<"vowel";
      |    ~^~~~~
a.cc:6:13: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    6 | if(c=="a"||c=="e"||c=="i"||c=="o"||c=="u") cout<<"vowel";
      |            ~^~~~~
a.cc:6:21: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    6 | if(c=="a"||c=="e"||c=="i"||c=="o"||c=="u") cout<<"vowel";
      |                    ~^~~~~
a.cc:6:29: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    6 | if(c=="a"||c=="e"||c=="i"||c=="o"||c=="u") cout<<"vowel";
      |                            ~^~~~~
a.cc:6:37: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    6 | if(c=="a"||c=="e"||c=="i"||c=="o"||c=="u") cout<<"vowel";
      |                                    ~^~~~~
Language: C++

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

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



}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:9: error: request for member 'at' in 's', which is of non-class type 'char'
    7 |   if (s.at(i) == 'a' || s.at(i) == 'i' || s.at(i) == 'u' || s.at(i) == 'e' s.at(i) == 'o') {
      |         ^~
a.cc:7:12: error: 'i' was not declared in this scope
    7 |   if (s.at(i) == 'a' || s.at(i) == 'i' || s.at(i) == 'u' || s.at(i) == 'e' s.at(i) == 'o') {
      |            ^
a.cc:7:27: error: request for member 'at' in 's', which is of non-class type 'char'
    7 |   if (s.at(i) == 'a' || s.at(i) == 'i' || s.at(i) == 'u' || s.at(i) == 'e' s.at(i) == 'o') {
      |                           ^~
a.cc:7:45: error: request for member 'at' in 's', which is of non-class type 'char'
    7 |   if (s.at(i) == 'a' || s.at(i) == 'i' || s.at(i) == 'u' || s.at(i) == 'e' s.at(i) == 'o') {
      |                                             ^~
a.cc:7:63: error: request for member 'at' in 's', which is of non-class type 'char'
    7 |   if (s.at(i) == 'a' || s.at(i) == 'i' || s.at(i) == 'u' || s.at(i) == 'e' s.at(i) == 'o') {
      |                                                               ^~
a.cc:7:75: error: expected ')' before 's'
    7 |   if (s.at(i) == 'a' || s.at(i) == 'i' || s.at(i) == 'u' || s.at(i) == 'e' s.at(i) == '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:51: error: expected ')' before 's'
    7 |   if (s == 'a' || s == 'i' || s == 'u' || s == 'e' s == '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;
    }
  }

// が母音であるとき、vowel と、そうでないとき consonant


Compiler output:
a.cc: In function 'int main()':
a.cc:8:43: 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;

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

  if (A === 'c') cout << "vowel" << endl;
  else cout << "consontant" << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:11: error: expected primary-expression before '=' token
    8 |   if (A === 'c') cout << "vowel" << endl;
      |           ^
Language: C++

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

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


Compiler output:
a.cc:8:9: warning: multi-character literal with 5 characters exceeds 'int' size of 4 bytes
    8 | cout << 'vowel' << endl;
      |         ^~~~~~~
a.cc:11:9: warning: multi-character literal with 9 characters exceeds 'int' size of 4 bytes
   11 | cout << 'consonant' << endl;
      |         ^~~~~~~~~~~
a.cc: In function 'int main()':
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' || 'i' || 'u' || 'e' || 'o'){
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: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' || 'i' || 'u' || 'e' || 'o'){
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: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' or 'i' or 'u' or 'e' or 'o'){
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:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

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

char c;

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


Compiler output:
a.cc: In function 'int main()':
a.cc:13:2: error: expected '}' at end of input
   13 | }
      |  ^
a.cc:6:12: note: to match this '{'
    6 | 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";
  else cout<<"consonant";
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:46: error: expected primary-expression before ')' token
    6 |   if(c=='a'||c=='i'||c=='u'||c=='e'||c=='o'||) cout<<"vowel";
      |                                              ^
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:7: error: 'consonant' was not declared in this scope
   11 | cout<<consonant<<endl;
      |       ^~~~~~~~~
Language: C++

#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <cmath>
#include <cstdlib>
#include <iomanip>
#include <map>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rep1(i, n) for (int i = 1; i < (int)(n) + 1; i++)
#define all(vecto) vecto.begin(), vecto.end()
#define max3(a, b, c) max(a, max(b, c))
#define min3(a, b, c) min(a, min(b, c))
typedef long long ll;

void ans(bool qus)
{
    if (qus == true)
        cout << "vowel" << endl;
    else
        cout << "consonant" << endl;
}

void Ans(bool qust)
{
    if (qust == true)
        cout << "YES" << endl;
    else
        cout << "NO" << endl;
}

//ACしてくれ頼む


int main(){
    char a;
    cin >> a;
    bool a;
    if(a=='a' || a=='i'){
        s = true;
    }
    else if(a=='u' || a=='e'){
        s = true;
    }
    else if(a=='e'){
        s = true;
    }
    else
    {
        s = false;
    }
    ans(s);
}


Compiler output:
a.cc: In function 'int main()':
a.cc:39:10: error: conflicting declaration 'bool a'
   39 |     bool a;
      |          ^
a.cc:37:10: note: previous declaration as 'char a'
   37 |     char a;
      |          ^
a.cc:41:9: error: 's' was not declared in this scope
   41 |         s = true;
      |         ^
a.cc:44:9: error: 's' was not declared in this scope
   44 |         s = true;
      |         ^
a.cc:47:9: error: 's' was not declared in this scope
   47 |         s = true;
      |         ^
a.cc:51:9: error: 's' was not declared in this scope
   51 |         s = false;
      |         ^
a.cc:53:9: error: 's' was not declared in this scope
   53 |     ans(s);
      |         ^
Language: C++

#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <cmath>
#include <cstdlib>
#include <iomanip>
#include <map>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rep1(i, n) for (int i = 1; i < (int)(n) + 1; i++)
#define all(vecto) vecto.begin(), vecto.end()
#define max3(a, b, c) max(a, max(b, c))
#define min3(a, b, c) min(a, min(b, c))
typedef long long ll;

void ans(bool qus)
{
    if (qus == true)
        cout << "vowel" << endl;
    else
        cout << "consonant" << endl;
}

void Ans(bool qust)
{
    if (qust == true)
        cout << "YES" << endl;
    else
        cout << "NO" << endl;
}

//ACしてくれ頼む


int main(){
    char s;
    cin >> a;
    bool a;
    if(a=='a' || a=='i'){
        s = true;
    }
    else if(a=='u' || a=='e'){
        s = true;
    }
    else if(a=='e'){
        s = true;
    }
    else
    {
        s = false;
    }
    ans(s);
}


Compiler output:
a.cc: In function 'int main()':
a.cc:38:12: error: 'a' was not declared in this scope
   38 |     cin >> a;
      |            ^
Language: C++

#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <cmath>
#include <cstdlib>
#include <iomanip>
#include <map>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rep1(i, n) for (int i = 1; i < (int)(n) + 1; i++)
#define all(vecto) vecto.begin(), vecto.end()
#define max3(a, b, c) max(a, max(b, c))
#define min3(a, b, c) min(a, min(b, c))
typedef long long ll;

void ans(bool qus)
{
    if (qus == true)
        cout << "vowel" << endl;
    else
        cout << "consonant" << endl;
}

void Ans(bool qust)
{
    if (qust == true)
        cout << "YES" << endl;
    else
        cout << "NO" << endl;
}

//ACしてくれ頼む


int main(){
    char s;
    cin >> s;
    bool s;
    if(s=='a' || s=='i'){
        s = true;
    }
    else if(s=='u' || s=='e'){
        s = true;
    }
    else if(s=='o'){
        s = true;
    }
    else
    {
        s = false;
    }
    ans(s);
}


Compiler output:
a.cc: In function 'int main()':
a.cc:39:10: error: conflicting declaration 'bool s'
   39 |     bool s;
      |          ^
a.cc:37:10: note: previous declaration as 'char s'
   37 |     char s;
      |          ^
Language: C++

#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <cmath>
#include <cstdlib>
#include <iomanip>
#include <map>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rep1(i, n) for (int i = 1; i < (int)(n) + 1; i++)
#define all(vecto) vecto.begin(), vecto.end()
#define max3(a, b, c) max(a, max(b, c))
#define min3(a, b, c) min(a, min(b, c))
typedef long long ll;

void ans(bool qus)
{
    if (qus == true)
        cout << "vowel" << endl;
    else
        cout << "consonant" << endl;
}

void Ans(bool qust)
{
    if (qust == true)
        cout << "YES" << endl;
    else
        cout << "NO" << endl;
}

//ACしてくれ頼む


int main(){
    char s;
    cin >> s;
    bool s;
    if(s=='a' || s=='i'){
        s = true;
    }
    else if(s=='u' || s=='e'){
        s = true;
    }
    else if(s=='e'){
        s = true;
    }
    else
    {
        s = false;
    }
    ans(s);
}


Compiler output:
a.cc: In function 'int main()':
a.cc:39:10: error: conflicting declaration 'bool s'
   39 |     bool s;
      |          ^
a.cc:37:10: note: previous declaration as 'char s'
   37 |     char s;
      |          ^
Language: C++

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

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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:9: error: unable to find character literal operator 'operator""s' with 'char' argument
    7 | if(c == 'a's || c == 'b's || c == 'c's || c == 'd's || c == 'e's)
      |         ^~~~
a.cc:7:22: error: unable to find character literal operator 'operator""s' with 'char' argument
    7 | if(c == 'a's || c == 'b's || c == 'c's || c == 'd's || c == 'e's)
      |                      ^~~~
a.cc:7:35: error: unable to find character literal operator 'operator""s' with 'char' argument
    7 | if(c == 'a's || c == 'b's || c == 'c's || c == 'd's || c == 'e's)
      |                                   ^~~~
a.cc:7:48: error: unable to find character literal operator 'operator""s' with 'char' argument
    7 | if(c == 'a's || c == 'b's || c == 'c's || c == 'd's || c == 'e's)
      |                                                ^~~~
a.cc:7:61: error: unable to find character literal operator 'operator""s' with 'char' argument
    7 | if(c == 'a's || c == 'b's || c == 'c's || c == 'd's || c == 'e's)
      |                                                             ^~~~
Language: C++

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



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

#include <bits/stdc++.h>

using namespace std;

template<class T>bool contain(const string& s, const T& v){
    reutnr s.find(v) != string::npos;
}

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

    if contain("aiueo", s){
        cout << "vowel" << endl;
    }
    else{
        cout << "vowel" << endl;
    }
}

Compiler output:
a.cc: In function 'bool contain(const std::string&, const T&)':
a.cc:6:5: error: 'reutnr' was not declared in this scope
    6 |     reutnr s.find(v) != string::npos;
      |     ^~~~~~
a.cc:7:1: warning: no return statement in function returning non-void [-Wreturn-type]
    7 | }
      | ^
a.cc: In function 'int main()':
a.cc:13:8: error: expected '(' before 'contain'
   13 |     if contain("aiueo", s){
      |        ^~~~~~~
      |        (
a.cc:16:5: error: 'else' without a previous 'if'
   16 |     else{
      |     ^~~~
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:32: 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 a;
    cin >> a;
    if(a=='a'||a=='e'||a=='i'||a=='o'||a=='u')cout << "vowel";
    else cout << "consonant";
    return 0
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:13: error: expected ';' before '}' token
    8 |     return 0
      |             ^
      |             ;
    9 | }
      | ~
Language: C++

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

	cout << pls+1-mns << endl;
	return 0;
}

Compiler output:
a.cc: In function 'int main(int, const char**)':
a.cc:13:17: error: 'pls' was not declared in this scope
   13 |         cout << pls+1-mns << endl;
      |                 ^~~
a.cc:13:23: error: 'mns' was not declared in this scope
   13 |         cout << pls+1-mns << 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:10:29: error: expected '}' at end of input
   10 |     cout<<"consonant"<<endl;
      |                             ^
a.cc:9:8: note: to match this '{'
    9 |   }else{
      |        ^
a.cc:10:29: error: expected '}' at end of input
   10 |     cout<<"consonant"<<endl;
      |                             ^
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;
    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:10:28: error: expected ';' before '}' token
   10 |         cout << "consonant"
      |                            ^
      |                            ;
   11 |     }
      |     ~
Language: C++

#include <iostream>
using namespace std;
 
int main(){
  char set =  {'a', 'i', 'u', 'e', 'o'};
  char a;
  cin >> a;
  for(int i = 0; i < 5; i++){
    if(set[i] == a){
      cout << "vowel" << endl;
      return 0;
    }
  }
  cout << "constant" << endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:8: error: scalar object 'set' requires one element in initializer
    5 |   char set =  {'a', 'i', 'u', 'e', 'o'};
      |        ^~~
Language: C++

#include <iostream>
using namespace std;
 
int main(){
  char set =  {'a', 'i', 'u', 'e', 'o'}
  char a;
  cin >> a;
  for(int i = 0; i < 5; i++){
    if(set[i] == a){
      cout << "vowel" << endl;
      return 0;
    }
  }
  cout << "constant" << endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:8: error: scalar object 'set' requires one element in initializer
    5 |   char set =  {'a', 'i', 'u', 'e', 'o'}
      |        ^~~
a.cc:6:3: error: expected ',' or ';' before 'char'
    6 |   char a;
      |   ^~~~
a.cc:7:10: error: 'a' was not declared in this scope
    7 |   cin >> a;
      |          ^
Language: C++

#include <iostream>
using namespace std;

int main(){
  char set =  {a, i, u, e, o}
  char a;
  cin >> a;
  for(int i = 0; i < 5; i++){
    if(set[i] == a){
      cout << "vowel" << endl;
      break;
    }
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:16: error: 'a' was not declared in this scope
    5 |   char set =  {a, i, u, e, o}
      |                ^
a.cc:5:19: error: 'i' was not declared in this scope
    5 |   char set =  {a, i, u, e, o}
      |                   ^
a.cc:5:22: error: 'u' was not declared in this scope
    5 |   char set =  {a, i, u, e, o}
      |                      ^
a.cc:5:25: error: 'e' was not declared in this scope
    5 |   char set =  {a, i, u, e, o}
      |                         ^
a.cc:5:28: error: 'o' was not declared in this scope
    5 |   char set =  {a, i, u, e, o}
      |                            ^
a.cc:5:8: error: scalar object 'set' requires one element in initializer
    5 |   char set =  {a, i, u, e, o}
      |        ^~~
a.cc:6:3: error: expected ',' or ';' before 'char'
    6 |   char a;
      |   ^~~~
Language: C++

#include <bits/stdc++.h>
#include <string>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <numeric>
using namespace std;

int abs(int num){
   if (num > 0)
      return num;
   else
      return -num;
}

int main(){
  char A;
  cin >> 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:23:24: error: expected ';' before '}' token
   23 |     cout << "consonant"
      |                        ^
      |                        ;
   24 |   }
      |   ~
Language: Java

import java.util.*;

class Main{
	public static void main(String[] args){
    	Scanner sc = new Scanner(System.in);
      	String c = next();
      	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:6: error: cannot find symbol
      	String c = next();
      	           ^
  symbol:   method next()
  location: class Main
1 error
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:22: error: expected ';' before 'else'
    8 |         cout<<"vowel"
      |                      ^
      |                      ;
    9 |     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:9:33: error: expected '}' at end of input
    9 |   else{cout<<"consonant"<<endl;}
      |                                 ^
a.cc:3:12: note: to match this '{'
    3 | 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:9: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    7 |   if (c == "a" || c == "i" || c == "u" || c == "e" || c == "o") {
      |       ~~^~~~~~
a.cc:7:21: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    7 |   if (c == "a" || c == "i" || c == "u" || c == "e" || c == "o") {
      |                   ~~^~~~~~
a.cc:7:33: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    7 |   if (c == "a" || c == "i" || c == "u" || c == "e" || c == "o") {
      |                               ~~^~~~~~
a.cc:7:45: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    7 |   if (c == "a" || c == "i" || c == "u" || c == "e" || c == "o") {
      |                                           ~~^~~~~~
a.cc:7:57: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    7 |   if (c == "a" || c == "i" || c == "u" || c == "e" || c == "o") {
      |                                                       ~~^~~~~~
Language: C++

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

int main(void) {
	char;
	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:5:9: error: declaration does not declare anything [-fpermissive]
    5 |         char;
      |         ^~~~
a.cc:6:16: error: 'c' was not declared in this scope
    6 |         cin >> c;
      |                ^
Language: C++

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

int main(void) {
	char ;
	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:5:9: error: declaration does not declare anything [-fpermissive]
    5 |         char ;
      |         ^~~~
a.cc:6:16: error: 'c' was not declared in this scope
    6 |         cin >> c;
      |                ^
Language: C++

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

int main(void) {
	char;
	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:9:25: warning: multi-character literal with 5 characters exceeds 'int' size of 4 bytes
    9 |                 cout << 'vowel' << endl;
      |                         ^~~~~~~
a.cc: In function 'int main()':
a.cc:5:9: error: declaration does not declare anything [-fpermissive]
    5 |         char;
      |         ^~~~
a.cc:6:16: error: 'c' was not declared in this scope
    6 |         cin >> c;
      |                ^
Language: C++

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

int main(void) {
	char ;
	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:9:25: warning: multi-character literal with 5 characters exceeds 'int' size of 4 bytes
    9 |                 cout << 'vowel' << endl;
      |                         ^~~~~~~
a.cc: In function 'int main()':
a.cc:5:9: error: declaration does not declare anything [-fpermissive]
    5 |         char ;
      |         ^~~~
a.cc:6:16: error: 'c' was not declared in this scope
    6 |         cin >> c;
      |                ^
Language: C++

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

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

Compiler output:
a.cc:9:25: warning: multi-character literal with 5 characters exceeds 'int' size of 4 bytes
    9 |                 cont << 'vowel' << endl;
      |                         ^~~~~~~
a.cc: In function 'int main()':
a.cc:5:9: error: declaration does not declare anything [-fpermissive]
    5 |         char ;
      |         ^~~~
a.cc:6:16: error: 'c' was not declared in this scope
    6 |         cin >> c;
      |                ^
a.cc:9:17: error: 'cont' was not declared in this scope; did you mean 'const'?
    9 |                 cont << 'vowel' << endl;
      |                 ^~~~
      |                 const
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:17: error: 'cont' was not declared in this scope; did you mean 'const'?
    9 |                 cont << "vowel" << endl;
      |                 ^~~~
      |                 const
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:9: error: expected primary-expression before 'if'
    8 |         if (c == 'a' || c == 'e' || c =='i' || c == 'o' || c == 'u') {
      |         ^~
a.cc:10:11: error: 'else' without a previous 'if'
   10 |         } else {
      |           ^~~~
Language: C++

#include<cstdio>
#include<iostream>
#include<algorithm>
#include<string>
#include<cstring>

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


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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:8:14: error: 'vowel' was not declared in this scope
    8 |      cout << vowel << endl;
      |              ^~~~~
a.cc:11:14: error: 'vowel' was not declared in this scope
   11 |      cout << vowel << endl;
      |              ^~~~~
a.cc:14:14: error: 'vowel' was not declared in this scope
   14 |      cout << vowel << endl;
      |              ^~~~~
a.cc:17:14: error: 'vowel' was not declared in this scope
   17 |      cout << vowel << endl;
      |              ^~~~~
a.cc:20:14: error: 'vowel' was not declared in this scope
   20 |      cout << vowel << endl;
      |              ^~~~~
a.cc:23:6: error: 'consonant' was not declared in this scope
   23 |      consonant
      |      ^~~~~~~~~
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:48: error: lvalue required as left operand of assignment
    7 |   if (c = 'a' || c = 'i' || c = 'u' || c = 'e' || c = 'o')
      |                                            ~~~~^~~~
Language: C++

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

int main() {
  char c;
  int >> 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:7: error: expected unqualified-id before '>>' token
    6 |   int >> c;
      |       ^~
a.cc:7:48: error: lvalue required as left operand of assignment
    7 |   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:13:4: error: expected '}' at end of input
   13 |   }
      |    ^
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;
  if(c == 'a' || c == 'i' || c == 'u' || c == 'e' || c == 'o'){
  	cout << "vowel" << endl;
  }
  esle {
  	cout << "consonant" << endl;
  }
  
  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:3: error: 'esle' was not declared in this scope
   11 |   esle {
      |   ^~~~
Language: C

#include <stdio.h>
int main(void){
	char let;
	int num=0;
	scanf("%c",let);
	num=let-"0";
	if(num==(49||53||57||63||69)){
		printf("vowel");
	}else{
		printf("consonant");
	}
	return 0;
}	//

Compiler output:
main.c: In function 'main':
main.c:6:16: error: invalid operands to binary - (have 'int' and 'char *')
    6 |         num=let-"0";
      |                ^
      |                |
      |                char *
Language: C

#include <stdio.h>
int main(void){
	char let;
	scanf("%c",&let);
	if(false){
		printf("vowel");
	}else{
		printf("consonant");
	}
	return 0;
}	

Compiler output:
main.c: In function 'main':
main.c:5:12: error: 'false' undeclared (first use in this function)
    5 |         if(false){
      |            ^~~~~
main.c:2:1: note: 'false' is defined in header '<stdbool.h>'; this is probably fixable by adding '#include <stdbool.h>'
    1 | #include <stdio.h>
  +++ |+#include <stdbool.h>
    2 | int main(void){
main.c:5:12: note: each undeclared identifier is reported only once for each function it appears in
    5 |         if(false){
      |            ^~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef long double ld;
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; }
const long long INF = 1LL << 60;
 
typedef pair<ll,ll> pairs;
vector<pairs> p;
bool pairCompare(const pair<double,ll>& firstElof, const pair<double,ll>& secondElof){
    return firstElof.first < secondElof.first;
}
#define MAX_N 1000100
bool x[MAX_N];
ll num[MAX_N];
ll fibl[MAX_N]={0};
 
ll fib(ll a){
    if (fibl[a]!=0)return fibl[a];
    if (a==0){
        return 0;
    }else if (a==1){
        return 1;
    }
    return fibl[a]=fib(a-1)+fib(a-2);
}
 
ll eratosthenes(ll n) {
    int p = 0;
    for (ll i=0; i<=n; ++i) x[i] = true;
    x[0] = x[1] = false;
    for(int i=2; i<=n; ++i) {
        if(x[i]) {
            p++;
            for(int j=2*i; j<=n; j+=i) x[j] = false;
        }
        
        num[i] = p;
    }
    return p;
}
 
ll gcd(ll a,ll b){
    if (a%b==0)return(b);
    else return(gcd(b,a%b));
}
 
ll keta(ll N){
    int tmp{};
    while( N > 0 ){
        tmp += ( N % 10 );
        N /= 10;
    }
    N = tmp;
    return N;
}

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:64:37: error: expected ';' before 'return'
   64 |     else cout << "consonant" << endl
      |                                     ^
      |                                     ;
   65 | 
   66 |     return 0;
      |     ~~~~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:12: error: 'a' was not declared in this scope
    5 |   if (c == a || c == b || c == c || c == d || c == e){
      |            ^
a.cc:5:22: error: 'b' was not declared in this scope
    5 |   if (c == a || c == b || c == c || c == d || c == e){
      |                      ^
a.cc:5:42: error: 'd' was not declared in this scope
    5 |   if (c == a || c == b || c == c || c == d || c == e){
      |                                          ^
a.cc:5:52: error: 'e' was not declared in this scope
    5 |   if (c == a || c == b || c == c || c == d || c == e){
      |                                                    ^
Language: C

#include<stdio.h>

int main()
{
	char c;
	int tmp = scanf_s("%c", &c);
	switch (c)
	{
	case 'a':
	case 'i':
	case 'u':
	case 'e':
	case 'o':
		printf("voewl");
		break;
	default:
		printf("consonant");
	}
}

Compiler output:
main.c: In function 'main':
main.c:6:19: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    6 |         int tmp = scanf_s("%c", &c);
      |                   ^~~~~~~
      |                   scanf