Language: C

d=Array.new(1<<26,10**9);d[0]=b=a=0;gets.chop.split('').map{|c|a=(0..25).reduce(d[b^=1<<c.ord-97]){|a,i|[a,d[b^1<<i]].min};d[b]=[d[b],a+=1].min};p a

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | d=Array.new(1<<26,10**9);d[0]=b=a=0;gets.chop.split('').map{|c|a=(0..25).reduce(d[b^=1<<c.ord-97]){|a,i|[a,d[b^1<<i]].min};d[b]=[d[b],a+=1].min};p a
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'd' [-Wimplicit-int]
main.c:1:3: error: 'Array' undeclared here (not in a function)
    1 | d=Array.new(1<<26,10**9);d[0]=b=a=0;gets.chop.split('').map{|c|a=(0..25).reduce(d[b^=1<<c.ord-97]){|a,i|[a,d[b^1<<i]].min};d[b]=[d[b],a+=1].min};p a
      |   ^~~~~
main.c:1:22: error: invalid type argument of unary '*' (have 'int')
    1 | d=Array.new(1<<26,10**9);d[0]=b=a=0;gets.chop.split('').map{|c|a=(0..25).reduce(d[b^=1<<c.ord-97]){|a,i|[a,d[b^1<<i]].min};d[b]=[d[b],a+=1].min};p a
      |                      ^~
main.c:1:26: warning: data definition has no type or storage class
    1 | d=Array.new(1<<26,10**9);d[0]=b=a=0;gets.chop.split('').map{|c|a=(0..25).reduce(d[b^=1<<c.ord-97]){|a,i|[a,d[b^1<<i]].min};d[b]=[d[b],a+=1].min};p a
      |                          ^
main.c:1:26: error: type defaults to 'int' in declaration of 'd' [-Wimplicit-int]
main.c:1:26: error: conflicting types for 'd'; have 'int[0]'
main.c:1:1: note: previous definition of 'd' with type 'int'
    1 | d=Array.new(1<<26,10**9);d[0]=b=a=0;gets.chop.split('').map{|c|a=(0..25).reduce(d[b^=1<<c.ord-97]){|a,i|[a,d[b^1<<i]].min};d[b]=[d[b],a+=1].min};p a
      | ^
main.c:1:31: error: 'b' undeclared here (not in a function)
    1 | d=Array.new(1<<26,10**9);d[0]=b=a=0;gets.chop.split('').map{|c|a=(0..25).reduce(d[b^=1<<c.ord-97]){|a,i|[a,d[b^1<<i]].min};d[b]=[d[b],a+=1].min};p a
      |                               ^
main.c:1:33: error: 'a' undeclared here (not in a function)
    1 | d=Array.new(1<<26,10**9);d[0]=b=a=0;gets.chop.split('').map{|c|a=(0..25).reduce(d[b^=1<<c.ord-97]){|a,i|[a,d[b^1<<i]].min};d[b]=[d[b],a+=1].min};p a
      |                                 ^
main.c:1:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    1 | d=Array.new(1<<26,10**9);d[0]=b=a=0;gets.chop.split('').map{|c|a=(0..25).reduce(d[b^=1<<c.ord-97]){|a,i|[a,d[b^1<<i]].min};d[b]=[d[b],a+=1].min};p a
      |                                         ^
main.c:1:53: error: empty character constant
    1 | d=Array.new(1<<26,10**9);d[0]=b=a=0;gets.chop.split('').map{|c|a=(0..25).reduce(d[b^=1<<c.ord-97]){|a,i|[a,d[b^1<<i]].min};d[b]=[d[b],a+=1].min};p a
      |                                                     ^~
main.c:1:67: error: too many decimal points in number
    1 | d=Array.new(1<<26,10**9);d[0]=b=a=0;gets.chop.split('').map{|c|a=(0..25).reduce(d[b^=1<<c.ord-97]){|a,i|[a,d[b^1<<i]].min};d[b]=[d[b],a+=1].min};p a
      |                                                                   ^~~~~
main.c:1:146: error: unknown type name 'p'
    1 | d=Array.new(1<<26,10**9);d[0]=b=a=0;gets.chop.split('').map{|c|a=(0..25).reduce(d[b^=1<<c.ord-97]){|a,i|[a,d[b^1<<i]].min};d[b]=[d[b],a+=1].min};p a
      |                                                                                                                                                  ^
main.c:1:41: error: expected '=', ',', ';', 'asm' or '__attribute__' at end of input
    1 | d=Array.new(1<<26,10**9);d[0]=b=a=0;gets.chop.split('').map{|c|a=(0..25).reduce(d[b^=1<<c.ord-97]){|a,i|[a,d[b^1<<i]].min};d[b]=[d[b],a+=1].min};p a
      |                                         ^