criyle/codenet-compile-errors huggingface dataset:
Language: Java

import java.util.*;
public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    String a = sc.next();
    String b = sc.next();
    
    int ans = 0;
    
    if(a.length() != b.length()) {
      return -1;
    }
    
    for(int i=0; i<a.length(); i++) {
      if(a.charAt(i) != b.charAt(i)) {
        ans++;
      }
    }
    System.out.println(ans);
  }
}


Compiler output:
Main.java:11: error: incompatible types: unexpected return value
      return -1;
             ^
1 error
Language: Java

import java.util.*;
public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    String a = sc.next();
    String b = sc.next();
    
    int ans = 0;
    
    if(a.length() != b.length()) {
      return -1;
    }
    
    for(int i=0; i<a.length(); i++) {
      if(a.charAt(i) != b.charAt(i)) {
        ans++;
      }
    }
    return ans;
  }
}

Compiler output:
Main.java:11: error: incompatible types: unexpected return value
      return -1;
             ^
Main.java:19: error: incompatible types: unexpected return value
    return ans;
           ^
2 errors
Language: Java

import java.util.*;

public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    String s[] = sc.next().split("");
    String t[] = sc.next().split("");
    int ans = 0;
    for (int i = 0; i < s.length(); i++){
      if (!(s[i].equals(t[i]))) ans++;
    }
    System.out.println(ans);
  }
}


Compiler output:
Main.java:9: error: cannot find symbol
    for (int i = 0; i < s.length(); i++){
                         ^
  symbol:   method length()
  location: variable s of type String[]
1 error
Language: Java

import java.util.*;

public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    String s[] = sc.next().split("");
    String t[] = sc.next().split("");
    int ans = 0;
    for (int i = 0; i < s.length(); i++){
      if (s[i].equals(t[i])) ans++;
    }
    System.out.println(ans);
  }
}


Compiler output:
Main.java:9: error: cannot find symbol
    for (int i = 0; i < s.length(); i++){
                         ^
  symbol:   method length()
  location: variable s of type String[]
1 error
Language: C

import sequtils, strutils, algorithm, math, future, sets, tables, hashes, intsets
let read = iterator : string {.closure.} = (while true : (for s in stdin.readLine.split : yield s))


var
    s, t = read()
    ans = 0

for i in 0 ..< s.len: 
    ans += int(s[i] != t[i])

echo ans




Compiler output:
main.c:1:1: error: unknown type name 'import'
    1 | import sequtils, strutils, algorithm, math, future, sets, tables, hashes, intsets
      | ^~~~~~
main.c:2:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'let'
    2 | let read = iterator : string {.closure.} = (while true : (for s in stdin.readLine.split : yield s))
      | ^~~
main.c:2:42: error: expected identifier or '(' before '=' token
    2 | let read = iterator : string {.closure.} = (while true : (for s in stdin.readLine.split : yield s))
      |                                          ^
Language: C++

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

int main() {
    string S, T;
    int ans = 0;
    cin >> S >> T;
    for (int i = 0; i < S.length(); i++) {
        if (S[i] != T[i])
            ans++;
    }
    cout << ans << endl;
    r

Compiler output:
a.cc: In function 'int main()':
a.cc:13:5: error: 'r' was not declared in this scope
   13 |     r
      |     ^
a.cc:13:6: error: expected '}' at end of input
   13 |     r
      |      ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++


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

int main() {
  	string a, b;
	cin>>a;
  	cin>>b;
  int count =0;
  	for(i=0;i<a.size(); i++)
    {
      if(a[i]!= b[i])
      {
      	count++;
      }    
    }
  	cout<<count;
  
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:11:13: error: 'i' was not declared in this scope
   11 |         for(i=0;i<a.size(); i++)
      |             ^
Language: C++

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

int main() {
  string S,T;
  cin >>S >>T;
  int A=0;
  for(i=0;i<20000;i++)
  if(S.at(i)=!T.at(i)){A++;}
   cout << A << endl; 
  return 0;


}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:7: error: 'i' was not declared in this scope
    8 |   for(i=0;i<20000;i++)
      |       ^
Language: C++

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

int main(){
 string s,t;
 int len;
 int count;
 cin >> s >> t;
 len = s.size();
 for(int i=0;i<len;i++){
 	if(s[i]!=t[i]) count++; 
 
 }
 cout << count << endl;

}

Compiler output:
a.cc:2:17: error: 'bits' is not a namespace-name
    2 | using namespace bits;
      |                 ^~~~
a.cc: In function 'int main()':
a.cc:5:2: error: 'string' was not declared in this scope
    5 |  string s,t;
      |  ^~~~~~
a.cc:5:2: note: suggested alternatives:
In file included from /usr/include/c++/14/string:41,
                 from /usr/include/c++/14/bitset:52,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:52,
                 from a.cc:1:
/usr/include/c++/14/bits/stringfwd.h:77:33: note:   'std::string'
   77 |   typedef basic_string<char>    string;
      |                                 ^~~~~~
/usr/include/c++/14/string:76:11: note:   'std::pmr::string'
   76 |     using string    = basic_string<char>;
      |           ^~~~~~
a.cc:8:2: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    8 |  cin >> s >> t;
      |  ^~~
      |  std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:8:9: error: 's' was not declared in this scope
    8 |  cin >> s >> t;
      |         ^
a.cc:8:14: error: 't' was not declared in this scope; did you mean 'tm'?
    8 |  cin >> s >> t;
      |              ^
      |              tm
a.cc:14:2: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   14 |  cout << count << 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:14:19: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   14 |  cout << count << endl;
      |                   ^~~~
      |                   std::endl
In file included from /usr/include/c++/14/istream:41,
                 from /usr/include/c++/14/sstream:40,
                 from /usr/include/c++/14/complex:45,
                 from /usr/include/c++/14/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:127:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
inline ll read(){
    ll x=0,f=1;char ch=getchar();
    while(ch<'0'||ch>'9'){if(ch=='-') f=-1;ch=getchar();}
    while(ch>='0'&&ch<='9'){x=(x<<1)+(x<<3)+(ch^48);ch=getchar();}
    return x*f;
}
char s[200050],t[200050];
ll ans;
int main(){
    cin>>s;cin>>t;=
    for(int i=0;i<strlen(s);++i) if(s[i]!=t[i]) ++ans;
    printf("%lld",ans);
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:13:19: error: expected primary-expression before '=' token
   13 |     cin>>s;cin>>t;=
      |                   ^
a.cc:14:5: error: expected primary-expression before 'for'
   14 |     for(int i=0;i<strlen(s);++i) if(s[i]!=t[i]) ++ans;
      |     ^~~
a.cc:14:17: error: 'i' was not declared in this scope
   14 |     for(int i=0;i<strlen(s);++i) if(s[i]!=t[i]) ++ans;
      |                 ^
Language: C

#include<stdio.h>

int main(void)
{
  char s[200000];
  char t[200000];
  int i;
  int j = 0;
  
  scanf("%s %s",&s,&t);
  
  for(i=0;i<20000;i++){
    if(s[i]!=t[i]){
      j=j+1
    }
  }
  
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:14:12: error: expected ';' before '}' token
   14 |       j=j+1
      |            ^
      |            ;
   15 |     }
      |     ~
Language: C++


#include<bits/stdc++.h>
#include<chrono>

using namespace std;

typedef long long ll;
typedef unsigned long long ull;
typedef long double ld;
typedef pair<int,int> pii;
typedef pair<ll, ll> pll;

#define forn(i, n) for (int i = 0; i < n; ++i)
#define rforn(i, n) for (int i = n - 1; i >= 0; --i)
#define pb push_back
#define IOS ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);
#define endl "\n"

const unsigned int M = 1e9+7; 
const char nl = '\n';

// void generator(ll t)
// {
//     srand((unsigned) time(0));
//     while(t--)
//     {   
//         ll input=rand()%1000+1 ;
//         cout<<"input : "<<input<<" : ";
//         ll ans=solve(input);
//         ll ans1=naive(input);
//         if(ans==ans1)  cout<<ans<<": OK\n";
//         else
//         {
//             cout<<ans1<<" : "<<ans<<" : Error\n";
//             break;
//         }   
//     }
// }

int main()
{
    #ifndef ONLINE_JUDGE
  	    freopen("in.txt", "r", stdin);
   	    freopen("out.txt", "w", stdout);
   	    freopen("err.txt", "w", stderr);
    #endif
    // auto start = chrono::high_resolution_clock::now();
    // generator(10000);   
    // auto stop =chrono::high_resolution_clock::now();
    // auto duration =chrono::duration_cast<chrono::microseconds>(stop - start);
    // cout << "Time taken by function: "<< duration.count() << " microseconds" << endl; 
	
	IOS
    ll t=1;
    //cin>>t;
    while(t--)
    {
      string a,b;
      cin>>a>>b;
      ll ans=0;
      for(ll i=0;i<a.length();++i)
     	if(A[i]!=B[i]) ans++;
      cout<<ans;
    }
    
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:62:12: error: 'A' was not declared in this scope
   62 |         if(A[i]!=B[i]) ans++;
      |            ^
a.cc:62:18: error: 'B' was not declared in this scope
   62 |         if(A[i]!=B[i]) ans++;
      |                  ^
Language: C

#include <iostream>
using namespace std;


int main()
{
	string s, t;
	cin >> s >> t;
	int n = 0;
	for (int i = 0; i < s.length(); i++)
	{
		if (s[i] != t[i])
		{
			n++;
		}
	}
	cout << n;
}

Compiler output:
main.c:1:10: fatal error: iostream: No such file or directory
    1 | #include <iostream>
      |          ^~~~~~~~~~
compilation terminated.
Language: C

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


int main()
{
	string s, t;
	cin >> s >> t;
	int n = 0;
	for (int i = 0; i < s.length(); i++)
	{
		if (s[i] != t[i])
		{
			n++;
		}
	}
	cout << n;
}

Compiler output:
main.c:1:10: fatal error: vector: No such file or directory
    1 | #include <vector>
      |          ^~~~~~~~
compilation terminated.
Language: C

#include<stdio.h>
int main() {
	char s[],t[];
	scanf("%s",s[]);
	scanf("%s",t[]);
	int i,ans;
	for (i=0;s[i]="\0";i++)
	if (s[i]==t[])
		ans=0;
	else if (s[i]!==t[])
	{
		ans=strcmp(s[i],t[])
	}
	printf("%d",ans);
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:3:14: error: array size missing in 's'
    3 |         char s[],t[];
      |              ^
main.c:3:18: error: array size missing in 't'
    3 |         char s[],t[];
      |                  ^
main.c:4:22: error: expected expression before ']' token
    4 |         scanf("%s",s[]);
      |                      ^
main.c:5:22: error: expected expression before ']' token
    5 |         scanf("%s",t[]);
      |                      ^
main.c:7:22: error: assignment to 'char' from 'char *' makes integer from pointer without a cast [-Wint-conversion]
    7 |         for (i=0;s[i]="\0";i++)
      |                      ^
main.c:8:21: error: expected expression before ']' token
    8 |         if (s[i]==t[])
      |                     ^
main.c:12:21: error: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration]
   12 |                 ans=strcmp(s[i],t[])
      |                     ^~~~~~
main.c:2:1: note: include '<string.h>' or provide a declaration of 'strcmp'
    1 | #include<stdio.h>
  +++ |+#include <string.h>
    2 | int main() {
main.c:12:35: error: expected expression before ']' token
   12 |                 ans=strcmp(s[i],t[])
      |                                   ^
main.c:12:29: error: passing argument 1 of 'strcmp' makes pointer from integer without a cast [-Wint-conversion]
   12 |                 ans=strcmp(s[i],t[])
      |                            ~^~~
      |                             |
      |                             char
main.c:12:29: note: expected 'const char *' but argument is of type 'char'
Language: Java

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

public class B_ {
    private static final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    private static final PrintWriter pw = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));
    private static StringTokenizer st;

    private static String readToken() throws IOException {
        while (st == null || !st.hasMoreTokens()) st = new StringTokenizer(br.readLine());
        return st.nextToken();
    }

    public static void main(String[] args) throws IOException {
        char[] S = readToken().toCharArray();
        char[] T = readToken().toCharArray();

        int count = 0;
        for (int i = 0; i < S.length; i++) {
            if (S[i] != T[i]) count++;
        }
        pw.println(count);
        pw.close();
    }
}


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

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

int main(){
  string S;
  string T;
  cin >> S;
  cin >> T;
  int i=0;
  int count=0;
  while(S[i]!="\0"){
    if(S[i]!=T[i]){
      count++;
    }
  }
  cout << count << endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:13: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   12 |   while(S[i]!="\0"){
Language: C++

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

int main(void)
{
  string s,t;
  cin>>s>>t;
  int nt=0;
  for(int i=0;i<s.size();i++)
  {
    if(s[i]!=t[i])
      nt++;
  }
  cout<<nt<<"\n";
  return 0;
}
  

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inlude; did you mean #include?
    1 | #inlude<bits/stdc++.h>
      |  ^~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:6:3: error: 'string' was not declared in this scope
    6 |   string s,t;
      |   ^~~~~~
a.cc:1:1: note: 'std::string' is defined in header '<string>'; this is probably fixable by adding '#include <string>'
  +++ |+#include <string>
    1 | #inlude<bits/stdc++.h>
a.cc:7:3: error: 'cin' was not declared in this scope
    7 |   cin>>s>>t;
      |   ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #inlude<bits/stdc++.h>
a.cc:7:8: error: 's' was not declared in this scope
    7 |   cin>>s>>t;
      |        ^
a.cc:7:11: error: 't' was not declared in this scope
    7 |   cin>>s>>t;
      |           ^
a.cc:14:3: error: 'cout' was not declared in this scope
   14 |   cout<<nt<<"\n";
      |   ^~~~
a.cc:14:3: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: C++

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

int main()
{
    string S, T;
    cin >> S, T;
    ll ans = 0;
    for (l i = 0; i < S.size(); ++i)
    {
        if (S[i] != T[i])
        {
            ++ans;
        }
    }
    cout << ans << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:11:10: error: 'l' was not declared in this scope
   11 |     for (l i = 0; i < S.size(); ++i)
      |          ^
a.cc:11:19: error: 'i' was not declared in this scope
   11 |     for (l i = 0; i < S.size(); ++i)
      |                   ^
Language: C++

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

int main(){
    string s, t;
    cin >> s >> t;
    cout << transform_reduce(execution::par_unseq, s.begin(), s.end(), t.begin(), 0, plus<int>(), not_equal_to<char>()) << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:30: error: 'execution' has not been declared
    8 |     cout << transform_reduce(execution::par_unseq, s.begin(), s.end(), t.begin(), 0, plus<int>(), not_equal_to<char>()) << endl;
      |                              ^~~~~~~~~
Language: C++

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

int main(){
  string s, t;
  cin >> s >> t;
  int len = s.lenth();
  int ans = 0;
  for(int i = 0; i < len; ++i){
    if(s[i] != t[i]){
      ++ans;
    }
  }
  cout << ans << endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:15: error: 'std::string' {aka 'class std::__cxx11::basic_string<char>'} has no member named 'lenth'; did you mean 'length'?
    8 |   int len = s.lenth();
      |               ^~~~~
      |               length
Language: C++

#include "bits/stdc++.h"
#include "ext/pb_ds/assoc_container.hpp"
#include "ext/pb_ds/tree_policy.hpp"
#define ordered_set tree<pair<int,int>, null_type,less<pair<int,int>>, rb_tree_tag,tree_order_statistics_node_update>
using namespace std;
using namespace __gnu_pbds;
#define int long long int
#define pb push_back
#define vec vector<int>
#define fo(i, n) for (int i = 0; i < n; i++)
#define foo(i, a, b) for (int i = a; i < b; i++)
#define mp make_pair
#define deb(x) cout << #x << " --> " << x << endl;
#define deb1a(v) cout << #v << "--->" << endl; for (auto it : v)  cout << it << " "; cout << endl;
#define deb2a(v) cout << #v << "--->" << endl;for (auto it:v){for(auto it1 : it){cout << it1 << " ";}cout<< endl;}
#define deb3a(v) cout << #v << "-->" << endl; for(auto it:v){cout << it.fi << " " << it.se << endl;}
#define mod 1000000007
#define so(v) sort(v.begin(),v.end())
#define fi first
#define se second
#define db1(x) cout<<#x<<"="<<x<<endl
#define db2(x,y) cout<<#x<<"="<<x<<","<<#y<<"="<<y<<endl
#define db3(x,y,z) cout<<#x<<"="<<x<<","<<#y<<"="<<y<<","<<#z<<"="<<z<<endl
int power(int x, unsigned int y, int p){ int res = 1;x = x % p;while (y > 0)  { if (y & 1)res = (res*x) % p;y = y>>1;  x = (x*x)% p;} return res;}
int mI(int a, int m)  {return power(a, m - 2, m);}
vector<vector<int>> dir = {{0, 1}, {0, -1}, {1, 0}, {-1, 0},{1,1},{1,-1},{-1,1},{-1,-1}};



void solve(){
    string s, t;
    cin >> s >> t;
    int n = s.size(), ans = 0;
    fo(i,n){
        if(s[i]!=t[i]){
            ans++;
        }
    }
    cout << ans;
}
int32_t main()
{
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    //int t=1;
    cin >> t;
    
    while(t--){
        solve();
    }
}

Compiler output:
a.cc: In function 'int32_t main()':
a.cc:46:12: error: 't' was not declared in this scope; did you mean 'tm'?
   46 |     cin >> t;
      |            ^
      |            tm
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
  string s,t;
  cin>>s>>t;
  int ans=0;
  for(int i=0;i<s.length();i++){
    if(s[i]!=t[i]){
      ans++
    }
  }
  cout<<ans;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:12: error: expected ';' before '}' token
   10 |       ans++
      |            ^
      |            ;
   11 |     }
      |     ~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
  string a,b;
  cin >> a >> b;
  int N　= a.size(), ans = 0;
  for(int i=0;i<N;i++){
    if(a[i]!=b[i]) ans++;
 }
  cout << ans << endl;
}
  


Compiler output:
a.cc:6:7: error: extended character 　 is not valid in an identifier
    6 |   int N　= a.size(), ans = 0;
      |       ^
a.cc: In function 'int main()':
a.cc:7:17: error: 'N' was not declared in this scope
    7 |   for(int i=0;i<N;i++){
      |                 ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
  string a,b;
  cin >> a >> b;
  int N a.size(), ans = 0;
  for(int i=0;i<N;i++){
    if(a[i]!=b[i]) ans++;
 }
  cout << ans << endl;
}
  

Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: error: expected initializer before 'a'
    6 |   int N a.size(), ans = 0;
      |         ^
a.cc:7:17: error: 'N' was not declared in this scope
    7 |   for(int i=0;i<N;i++){
      |                 ^
a.cc:8:20: error: 'ans' was not declared in this scope; did you mean 'abs'?
    8 |     if(a[i]!=b[i]) ans++;
      |                    ^~~
      |                    abs
a.cc:10:11: error: 'ans' was not declared in this scope; did you mean 'abs'?
   10 |   cout << ans << endl;
      |           ^~~
      |           abs
Language: C++

#include <string>
int main() {
    std::string s,t; cin >> s >> t;
    ll n = s.size(), ans = 0;
    for(int i=0;i<n;++i) ans += s[i]!=t[i];
    cout << ans << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:3:22: error: 'cin' was not declared in this scope
    3 |     std::string s,t; cin >> s >> t;
      |                      ^~~
a.cc:4:5: error: 'll' was not declared in this scope
    4 |     ll n = s.size(), ans = 0;
      |     ^~
a.cc:5:19: error: 'n' was not declared in this scope
    5 |     for(int i=0;i<n;++i) ans += s[i]!=t[i];
      |                   ^
a.cc:5:26: error: 'ans' was not declared in this scope; did you mean 'abs'?
    5 |     for(int i=0;i<n;++i) ans += s[i]!=t[i];
      |                          ^~~
      |                          abs
a.cc:6:5: error: 'cout' was not declared in this scope
    6 |     cout << ans << endl;
      |     ^~~~
a.cc:6:13: error: 'ans' was not declared in this scope; did you mean 'abs'?
    6 |     cout << ans << endl;
      |             ^~~
      |             abs
a.cc:6:20: error: 'endl' was not declared in this scope
    6 |     cout << ans << endl;
      |                    ^~~~
Language: C

#include <stdio.h>
#include <string.h>

int main(){
	char s,t;
  	int count; 
	scanf("%s",&s);
  	scanf("%s",&t);
  	for(i;0 < strlen(s);i**){
    	
    }
    printf("%s",s);
}


Compiler output:
main.c: In function 'main':
main.c:9:13: error: 'i' undeclared (first use in this function)
    9 |         for(i;0 < strlen(s);i**){
      |             ^
main.c:9:13: note: each undeclared identifier is reported only once for each function it appears in
main.c:9:26: error: passing argument 1 of 'strlen' makes pointer from integer without a cast [-Wint-conversion]
    9 |         for(i;0 < strlen(s);i**){
      |                          ^
      |                          |
      |                          char
In file included from main.c:2:
/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'char'
  407 | extern size_t strlen (const char *__s)
      |                       ~~~~~~~~~~~~^~~
main.c:9:32: error: expected expression before ')' token
    9 |         for(i;0 < strlen(s);i**){
      |                                ^
Language: C

#include<stdio.h>
 
int main(void){
 int i=0,count=0;
 char s=' ';
 while(scanf("%c",&s)!='\0'){
  if(s != scanf("%c",&t)){
   count++;
  }
 }
 printf("%d\n",count);
 return 0;
}


Compiler output:
main.c: In function 'main':
main.c:7:23: error: 't' undeclared (first use in this function)
    7 |   if(s != scanf("%c",&t)){
      |                       ^
main.c:7:23: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include<stdio.h>
 
int main(void){
 int i=0,count=0;
 char s=' ';
 while(scanf(%c,&s)!='\0'){
  if(s != scanf("%c",&t)){
   count++;
  }
 }
 printf("%d\n",count);
 return 0;
}


Compiler output:
main.c: In function 'main':
main.c:6:14: error: expected expression before '%' token
    6 |  while(scanf(%c,&s)!='\0'){
      |              ^
main.c:7:23: error: 't' undeclared (first use in this function)
    7 |   if(s != scanf("%c",&t)){
      |                       ^
main.c:7:23: note: each undeclared identifier is reported only once for each function it appears in
Language: C++

#include <iostream>
using namespace std;
int main() {
	string a, b;
  	cin >> a;
  	cin >> b;
  	int size = b.size();
  	int count = 0;
  	for (int i = 0; i < size; i++) {
      try {
		if (a[i] != b[1]) {
          count ++;
        }
      } catch {
        count ++;
      }
    }
      
}

Compiler output:
a.cc: In function 'int main()':
a.cc:14:15: error: expected '(' before '{' token
   14 |       } catch {
      |               ^
      |               (
a.cc:14:15: error: expected type-specifier before '{' token
a.cc:14:14: error: expected ')' before '{' token
   14 |       } catch {
      |              ^~
      |              )
Language: C

#include<stdio.h>
 
int main(void){
 int i=0,count=0;
 char s=' ';
 char t=' ';
 for(i=0;S[i] != '\0';i++){
  if(scanf("%c",&s) != scanf("%c",&t)){
   count++;
  }
 }
 printf("%d\n",count);
 return 0;
}


Compiler output:
main.c: In function 'main':
main.c:7:10: error: 'S' undeclared (first use in this function)
    7 |  for(i=0;S[i] != '\0';i++){
      |          ^
main.c:7:10: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include<stdio.h>
 
int main(void){
 int i=0,count=0;
 char s='';
 char t='';
 for(i=0;S[i] != '\0';i++){
  if(scanf("%c",&s) != scanf("%c",&t)){
   count++;
  }
 }
 printf("%d\n",count);
 return 0;
}


Compiler output:
main.c: In function 'main':
main.c:5:9: error: empty character constant
    5 |  char s='';
      |         ^~
main.c:6:9: error: empty character constant
    6 |  char t='';
      |         ^~
main.c:7:10: error: 'S' undeclared (first use in this function)
    7 |  for(i=0;S[i] != '\0';i++){
      |          ^
main.c:7:10: note: each undeclared identifier is reported only once for each function it appears in
Language: C++

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

int main(){
string s, t;
cin >> s >> t;
int n = s.size();
int count=0;
for(int i = 0; i < n; ++i){
	if(s[i]!=t[i]) ++cout;


}

cout << count <<endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:24: error: no match for 'operator++' (operand type is 'std::ostream' {aka 'std::basic_ostream<char>'})
   10 |         if(s[i]!=t[i]) ++cout;
      |                        ^~~~~~
Language: C++

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

int main(){
string s, t;
cin >> s >> t;
int n = s.size();
int count=0;
for(int i = 0; i < n; i++){
	if(s[i]!=t[i]) cout++;


}

cout << count <<endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:28: error: no 'operator++(int)' declared for postfix '++' [-fpermissive]
   10 |         if(s[i]!=t[i]) cout++;
      |                        ~~~~^~
Language: C++

#include <iostream>
#include <set>
#include <map>
#include <cmath>
#include <vector>
#include <string>
#include <algorithm>
#include <iomanip>
#include <queue>
#include <deque>
#include <stack>
#include <climits>
#include <math.h>
#include <cassert>
#include <unordered_map>
#include <chrono>
#include <random>
#include <ctime>
using namespace std;
#pragma warning(disable : 4996)
typedef long long ll;
typedef unsigned long long ull;
typedef long double ld;

const ld PI = 3.14159265358979323846;
const ll MOD = 1e9 + 7;
mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());


int main() {
#ifdef _DEBUG
	freopen("input1.txt", "r", stdin);
	freopen("output2.txt", "w", stdout);
#endif
	srand(time(0));
	ios_base::sync_with_stdio(false);
	cin.tie(0);
	string s, t;
	cin >> s >> y;
	int ans = 0;
	for (int i = 0; i < s.size(); i++) {
		if (s[i] != t[i])ans++;
	}
	cout << ans;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:39:21: error: 'y' was not declared in this scope
   39 |         cin >> s >> y;
      |                     ^
Language: C

#include <stdio.h>
#include <string.h>

int main(void){
  int c,i,x;
  c = 0;
  char s[200000];
  char t[200000];  

  scanf("%s", &s);
  scanf("%s", &t);
  
  for(0 =< i && i =< '\0')
        	if(s[i]==t[i]){
              	c = c+1;
            }			
        	 	printf("%d", &c);    
}



Compiler output:
main.c: In function 'main':
main.c:13:10: error: expected expression before '<' token
   13 |   for(0 =< i && i =< '\0')
      |          ^
main.c:13:26: error: expected expression before ')' token
   13 |   for(0 =< i && i =< '\0')
      |                          ^
Language: C

#include <stdio.h>

signed main(){
char a[200001]={};
char b[200001]={};
scanf("%s %s",a,b);
  int count=0;
  for(i=0;i<200001;i++){
   if(a[i]!=b[i]){
   	count++;
   }
  }
printf("%d\n",count);
  
  
  

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:7: error: 'i' undeclared (first use in this function)
    8 |   for(i=0;i<200001;i++){
      |       ^
main.c:8:7: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include<stdio.h>
 
int main(void){
	char S[200000],T[200000];
	int i=0,count=0;
	if(scanf("%s",S)==1}{};
	(void)scanf("%s",T);
 
	for(i=0;S[i] != '\0';i++){
		if(S[i] != T[i]){
			count++;
		}
	}
	printf("%d\n",count);
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:28: error: expected ')' before '}' token
    6 |         if(scanf("%s",S)==1}{};
      |           ~                ^
      |                            )
main.c:6:28: error: expected expression before '}' token
main.c: At top level:
main.c:6:29: error: expected identifier or '(' before '{' token
    6 |         if(scanf("%s",S)==1}{};
      |                             ^
main.c:7:10: error: expected identifier or '(' before 'void'
    7 |         (void)scanf("%s",T);
      |          ^~~~
main.c:9:9: error: expected identifier or '(' before 'for'
    9 |         for(i=0;S[i] != '\0';i++){
      |         ^~~
main.c:9:19: error: 'i' undeclared here (not in a function)
    9 |         for(i=0;S[i] != '\0';i++){
      |                   ^
main.c:9:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before '!=' token
    9 |         for(i=0;S[i] != '\0';i++){
      |                      ^~
main.c:9:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before '++' token
    9 |         for(i=0;S[i] != '\0';i++){
      |                               ^~
main.c:14:16: error: expected declaration specifiers or '...' before string constant
   14 |         printf("%d\n",count);
      |                ^~~~~~
main.c:14:23: error: unknown type name 'count'
   14 |         printf("%d\n",count);
      |                       ^~~~~
main.c:15:9: error: expected identifier or '(' before 'return'
   15 |         return 0;
      |         ^~~~~~
main.c:16:1: error: expected identifier or '(' before '}' token
   16 | }
      | ^
Language: C

#include <stdio.h>
int main(){
char s[200000],t[200000];
int i = 0,;
int count=0;
  scanf("%s",&s);
  scanf("%s",&t);
while(s[i] != "\0"){
	if(s[i] != t[i]) count++;
	i++;
}
printf("%d",count);
}

Compiler output:
main.c: In function 'main':
main.c:4:11: error: expected identifier or '(' before ';' token
    4 | int i = 0,;
      |           ^
main.c:8:12: warning: comparison between pointer and integer
    8 | while(s[i] != "\0"){
      |            ^~
Language: C++

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

int main(){
    string S, T:
    int count = 0;
    cin >> S;
    cin >> T;

    for(int i = 0; i < S.size(); i++){
        if(S[i] != T[i]) {
            count++;
        }
    }

    cout << count << endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:16: error: expected initializer before ':' token
    6 |     string S, T:
      |                ^
a.cc:9:12: error: 'T' was not declared in this scope
    9 |     cin >> T;
      |            ^
a.cc:13:13: error: 'count' was not declared in this scope
   13 |             count++;
      |             ^~~~~
a.cc:17:13: error: 'count' was not declared in this scope
   17 |     cout << count << endl;
      |             ^~~~~
Language: Java

import java.util.*;
public class Main{
  public static void main(String[] args){
    Scanner sc =new Scanner(System.in);
    String S =sc.next();
    String s =S.split("",0);
    String T =sc.next();
    String t =T.split("",0);
    int N =S.length();
    int a=N;
    for(int i=0;i<N;i++){
      if(s[i].equals(t[i])){a=a-1;}}
    System.out.println(a);
  }
}

Compiler output:
Main.java:6: error: incompatible types: String[] cannot be converted to String
    String s =S.split("",0);
                     ^
Main.java:8: error: incompatible types: String[] cannot be converted to String
    String t =T.split("",0);
                     ^
Main.java:12: error: array required, but String found
      if(s[i].equals(t[i])){a=a-1;}}
                      ^
Main.java:12: error: array required, but String found
      if(s[i].equals(t[i])){a=a-1;}}
          ^
4 errors
Language: C++

#include<iostream>
using namespace std;
int main()
{
  string s,t;
  cin>>s>>t;
  int n=s.size();ans=0;
  for(int i=0;i<n;i++)
  {
    if(s[i]!=t[i];
       ++ans;
       }
       cout<<ans<<endl;

Compiler output:
a.cc: In function 'int main()':
a.cc:7:18: error: 'ans' was not declared in this scope; did you mean 'abs'?
    7 |   int n=s.size();ans=0;
      |                  ^~~
      |                  abs
a.cc:11:13: error: expected ')' before ';' token
   11 |        ++ans;
      |             ^
      |             )
a.cc:10:7: note: to match this '('
   10 |     if(s[i]!=t[i];
      |       ^
a.cc:13:24: error: expected '}' at end of input
   13 |        cout<<ans<<endl;
      |                        ^
a.cc:4:1: note: to match this '{'
    4 | {
      | ^
Language: C++

const int isDebugMode = 1;
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<long long, long long> P;
struct edge{long long to,cost;};
const int inf = 1 << 27;
const long long INF = 1LL << 60;
const int COMBMAX = 1001001;
const long long MOD = 1000000007;
const long long dy[] = {-1, 0, 0, 1};
const long long dx[] = {0, -1, 1, 0};
string abc = "abcdefghijklmnopqrstuvwxyz";
#define rep(i,n) for(int i = 0; i < (n); ++i)
#define eachdo(v, e) for (const auto &e : (v))
#define all(v) (v).begin(), (v).end()
#define lower_index(v, e) (long long)distance((v).begin(), lower_bound((v).begin(), (v).end(), e))
#define upper_index(v, e) (long long)distance((v).begin(), upper_bound((v).begin(), (v).end(), e))
long long mpow(long long a, long long n, long long mod = MOD){long long res = 1; while(n > 0){if(n & 1)res = res * a % mod; a = a * a % mod; n >>= 1;} return res;}
void pt(){cout << endl; return;}
template<class Head> void pt(Head&& head){cout << head; pt(); return;}
template<class Head, class... Tail> void pt(Head&& head, Tail&&... tail){cout << head << " "; pt(forward<Tail>(tail)...);}
void dpt(){if(!isDebugMode) return; cout << endl; return;}
template<class Head> void dpt(Head&& head){if(!isDebugMode) return; cout << head; pt(); return;}
template<class Head, class... Tail> void dpt(Head&& head, Tail&&... tail){if(!isDebugMode) return; cout << head << " "; pt(forward<Tail>(tail)...);}
template<class T> void debug(T v){if(!isDebugMode) return; rep(i, v.size()) cout << v[i] << " " ; cout << endl;}
template<class T> void debug2(T v){if(!isDebugMode) return; rep(i, v.size()){rep(j, v[i].size()) cout << v[i][j] << " " ; cout << endl;}}
template<class T1, class T2> inline bool chmin(T1 &a, T2 b){if(a > b){a = b; return true;} return false;}
template<class T1, class T2> inline bool chmax(T1 &a, T2 b){if(a < b){a = b; return true;} return false;}
template<class T1, class T2> long long gcd(T1 a, T2 b){return a % b ? gcd(b , a % b) : b;}
template<class T1, class T2> void reduce(T1 &a, T2 &b){ll g = gcd(a, b); a /= g; b /= g; return;}
bool valid(long long H, long long W, long long h, long long w) { return 0 <= h && h < H && 0 <= w && w < W; }

int main(){
    string S, T; cin >> S >> T;
    ll ans = 0;
    rep(i, S.size)(){
        if(S[i] == T[i]) ans++;
    }    
    pt(ans);
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:37:14: error: invalid use of member function 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; size_type = long unsigned int]' (did you forget the '()' ?)
   37 |     rep(i, S.size)(){
      |              ^
a.cc:14:38: note: in definition of macro 'rep'
   14 | #define rep(i,n) for(int i = 0; i < (n); ++i)
      |                                      ^
a.cc:37:20: error: expected primary-expression before ')' token
   37 |     rep(i, S.size)(){
      |                    ^
Language: C++

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

int main(){
    string S, T:
    int count = 0;
    cin >> S >> T;

    for(int i = 0; i < S.length(); i++){
        if(S[i] != T[i]) count++;
    }

    cout << count << endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:16: error: expected initializer before ':' token
    6 |     string S, T:
      |                ^
a.cc:8:17: error: 'T' was not declared in this scope
    8 |     cin >> S >> T;
      |                 ^
a.cc:11:26: error: 'count' was not declared in this scope
   11 |         if(S[i] != T[i]) count++;
      |                          ^~~~~
a.cc:14:13: error: 'count' was not declared in this scope
   14 |     cout << count << endl;
      |             ^~~~~
Language: C++

#include<iostream>
using namespace std;

int main(){
    string S, T:
    int count = 0;
    cin >> S >> T;

    for(int i = 0; i < S.length(); i++){
        if(S[i] != T[i]) count++;
    }

    cout << count << endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:16: error: expected initializer before ':' token
    5 |     string S, T:
      |                ^
a.cc:7:17: error: 'T' was not declared in this scope
    7 |     cin >> S >> T;
      |                 ^
a.cc:10:26: error: 'count' was not declared in this scope
   10 |         if(S[i] != T[i]) count++;
      |                          ^~~~~
a.cc:13:13: error: 'count' was not declared in this scope
   13 |     cout << count << endl;
      |             ^~~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
long long ll;
ll int main(){
int lens;
int i;
int count=0;
char s[10000];
char t[10000];
  
cin >> s >> t;
lens = strlen(s);

for(i=0;i<lens;i++){
 if(s[i]!=t[i]){
   s[i]=t[i];
   count++;
 }
}
  cout<<count<<endl;
}


Compiler output:
a.cc:4:1: error: 'll' does not name a type
    4 | ll int main(){
      | ^~
Language: Java

import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
      	String S = sc.next(System.in);
      	String T = sc.next(System.in);
      
      	for(int i = 0 ; i <= S.length()-1 ; i++){
          	char c1 = S.charAt(i);
          	int count = 0;
          for(int j = 0 ; j <= T.length()-1 ; j++){
          	char c2 = T.charAt(j);
          	
            if(c1 != c2){
              String str3 = replace(c1,c2);
              count++;
            }else{ 
              
            }
      		System.out.println(count);
         }
       }
    }
}

Compiler output:
Main.java:6: error: no suitable method found for next(InputStream)
      	String S = sc.next(System.in);
      	             ^
    method Scanner.next(String) is not applicable
      (argument mismatch; InputStream cannot be converted to String)
    method Scanner.next(Pattern) is not applicable
      (argument mismatch; InputStream cannot be converted to Pattern)
Main.java:7: error: no suitable method found for next(InputStream)
      	String T = sc.next(System.in);
      	             ^
    method Scanner.next(String) is not applicable
      (argument mismatch; InputStream cannot be converted to String)
    method Scanner.next(Pattern) is not applicable
      (argument mismatch; InputStream cannot be converted to Pattern)
Main.java:16: error: cannot find symbol
              String str3 = replace(c1,c2);
                            ^
  symbol:   method replace(char,char)
  location: class Main
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
3 errors
Language: C++

#include<bits\stdc++.h>
using namespace std;
int main()
{
     int i,j,c=0;
     string s,t;
     cin>>s>>t;
     for(i=0,j=0;i<s.size(),j<t.size();i++,j++){
          if(s[i]!=t[j])
               c++;
               //else continue;
     }
     cout<<c<<endl;

     return 0;
}


Compiler output:
a.cc:1:9: 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(){
int lens;
int i;
int count=0;
char s[10000];
char t[10000];
  
cin >> s >> t;
lens = strlen(s);

for(i=0;i<lens;i++){
 if(s[i]!==t[i]){
   s[i]=t[i];
   count++;
 }
}  
}


Compiler output:
a.cc: In function 'int main()':
a.cc:15:11: error: expected primary-expression before '=' token
   15 |  if(s[i]!==t[i]){
      |           ^
Language: C

#include <stdio.h>
#include <string.h>
#define MAX 200000
int main(void){
  char S[MAX],T[MAX];
  int l,count=0,i;
  fgets(S,T);
  l = strlen(S);
  for(i=0;i<l;i++){
    if(S[i] != T[i]){
      count++;
    }
  }
  printf("%d",count);
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:11: error: passing argument 2 of 'fgets' makes integer from pointer without a cast [-Wint-conversion]
    7 |   fgets(S,T);
      |           ^
      |           |
      |           char *
In file included from main.c:1:
/usr/include/stdio.h:654:47: note: expected 'int' but argument is of type 'char *'
  654 | extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
      |                                           ~~~~^~~
main.c:7:3: error: too few arguments to function 'fgets'
    7 |   fgets(S,T);
      |   ^~~~~
/usr/include/stdio.h:654:14: note: declared here
  654 | extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
      |              ^~~~~
Language: C++

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

int main(){
int lens;
int i;
int count=0;
char s[];
char t[];
  
cin >> s >> t;
lens = strlen(s);

for(i=0;i<lens;i++){
 if(s[i]!==t[i]){
   s[i]=t[i];
   count++;
 }
}  
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:6: error: storage size of 's' isn't known
    8 | char s[];
      |      ^
a.cc:9:6: error: storage size of 't' isn't known
    9 | char t[];
      |      ^
a.cc:15:11: error: expected primary-expression before '=' token
   15 |  if(s[i]!==t[i]){
      |           ^
Language: C++

#include<bits\stdc++.h>
using namespace std;
int main()
{
     int i,j,c=0;
     string s,t;
     cin>>s>>t;
     for(i=0,j=0;i<s.size(),j<t.size();i++,j++){
          if(s[i]!=t[j])
               c++;
               else continue;
     }
     cout<<c<<endl;

     return 0;
}


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

// g++ -std=c++11 a.cpp
#include<iostream>
#include<vector>
#include<string>
#include<algorithm>
#include<map>
#include<set>
#include<unordered_map>
#include<utility>
#include<cmath>
#include<random>
#include<cstring>
#include<queue>
#include<stack>
#include<bitset>
#include<cstdio>
#include<sstream>
#include<random>
#include<iomanip>
#include<assert.h>
#include<typeinfo>
#define loop(i,a,b) for(long long i=a;i<b;i++)
#define rep(i,a) loop(i,0,a)
#define FOR(i,a) for(auto i:a)
#define pb push_back
#define all(in) in.begin(),in.end()
#define shosu(x) fixed<<setprecision(x)
#define show1d(v) {rep(_,v.size())cout<<" "<<v[_];cout<<endl;}
#define show2d(v) {rep(__,v.size())show1d(v[__]);}
using namespace std;
//kaewasuretyuui
typedef long long ll;
#define int ll
typedef int Def;
typedef pair<Def,Def> pii;
typedef vector<Def> vi;
typedef vector<vi> vvi;
typedef vector<pii> vp;
typedef vector<vp> vvp;
typedef vector<string> vs;
typedef vector<double> vd;
typedef vector<vd> vvd;
typedef pair<Def,pii> pip;
typedef vector<pip>vip;
#define mt make_tuple
typedef tuple<int,int,int> tp;
typedef vector<tp> vt;
typedef vector<vt>vvt;
template<typename A,typename B>bool cmin(A &a,const B &b){return a>b?(a=b,true):false;}
template<typename A,typename B>bool cmax(A &a,const B &b){return a<b?(a=b,true):false;}
const double PI=acos(-1);
const double EPS=1e-9;
Def inf = sizeof(Def) == sizeof(long long) ? 2e18 : 1e9+10;
int dx[]={-1,0,1,0};
int dy[]={0,1,0,-1};
#define yes cout<<"Yes\n"
#define no cout<<"No\n"


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

	stirng a,b;
	cin>>a>>b;
	int c=0;
	rep(i,a.size())if(a[i]-b[i])c++;
	cout<<c<<endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:64:9: error: 'stirng' was not declared in this scope
   64 |         stirng a,b;
      |         ^~~~~~
a.cc:65:14: error: 'a' was not declared in this scope
   65 |         cin>>a>>b;
      |              ^
a.cc:65:17: error: 'b' was not declared in this scope; did you mean 'pb'?
   65 |         cin>>a>>b;
      |                 ^
      |                 pb
Language: C++

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

int main(){
int lens;
int i;
int count=0;
char s[];
char t[];
  
cin >> s >> t;
lens = strlen(s);

for(i=0;i<lens;i++){
 if(s[i]!==t[i]){
   s[i]=t[i];
   count++;
 }
}  
}


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

#include<bis/c++.h>
using namespace std;

int main(){
int lens;
int i;
int count=0;
char s[];
char t[];
  
cin >> s >> t;
lens = strlen(s);

for(i=0;i<lens;i++){
 if(s[i]!==t[i]){
   s[i]=t[i];
   count++;
 }
}  
}

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

#include <stdio.h>
#include <stdlib.h>
#include <stling.h>

main()
{
	char s[100];
	char t[100];
	
	int i;
	int count=0;
	
	scanf("%s",&s);
	
	scanf("%s",&t);
	
	for(i=0;i<strlen(s);i++)
	{
		if(s[i]!=t[i])
		{
			++count;
		}
	}
	
	printf("%d",count);
	
}

		

Compiler output:
main.c:3:10: fatal error: stling.h: No such file or directory
    3 | #include <stling.h>
      |          ^~~~~~~~~~
compilation terminated.
Language: C++

#include<bits\stdc++.h>
using namespace std;
int main()
{
     int i,j,c=0;
     string s,t;
     cin>>s>>t;
     for(i=0,j=0;i<s.size();i++,j++){
          if(s[i]==t[j])
               c++;
               else continue;
     }
     cout<<c<<endl;

     return 0;
}


Compiler output:
a.cc:1:9: fatal error: bits\stdc++.h: No such file or directory
    1 | #include<bits\stdc++.h>
      |         ^~~~~~~~~~~~~~~
compilation terminated.