#C# (.NET Core), (削除) 245 + 13 (削除ここまで)(削除) 183 + 41 (削除ここまで) 177 + 41 bytes
C# (.NET Core), (削除) 245 + 13 (削除ここまで)(削除) 183 + 41 (削除ここまで) 177 + 41 bytes
+41 bytes for using System;using static System.Console.
Untested since I am on mobile and this does not run on TIO.
n=>{int c=ReadKey().KeyChar,x=0;try{if(c!=97)x/=x;var s=DateTime.Now;while(c<149)if(ReadKey().KeyChar!=c++)x/=x;Write((DateTime.Now-s).TotalMilliseconds);}catch{Write("Fail");}}
#C# (.NET Core), (削除) 245 + 13 (削除ここまで)(削除) 183 + 41 (削除ここまで) 177 + 41 bytes
+41 bytes for using System;using static System.Console.
Untested since I am on mobile and this does not run on TIO.
n=>{int c=ReadKey().KeyChar,x=0;try{if(c!=97)x/=x;var s=DateTime.Now;while(c<149)if(ReadKey().KeyChar!=c++)x/=x;Write((DateTime.Now-s).TotalMilliseconds);}catch{Write("Fail");}}
C# (.NET Core), (削除) 245 + 13 (削除ここまで)(削除) 183 + 41 (削除ここまで) 177 + 41 bytes
+41 bytes for using System;using static System.Console.
Untested since I am on mobile and this does not run on TIO.
n=>{int c=ReadKey().KeyChar,x=0;try{if(c!=97)x/=x;var s=DateTime.Now;while(c<149)if(ReadKey().KeyChar!=c++)x/=x;Write((DateTime.Now-s).TotalMilliseconds);}catch{Write("Fail");}}
#C# (.NET Core), (削除) 245 + 13 (削除ここまで) 183(削除) 183 + 41 (削除ここまで) 177 + 41 bytes
+41 bytes for using System;using static System.Console.
Untested since I am on mobile and this does not run on TIO.
n=>{int i=1,c=ReadKey().KeyChar,x=0;try{if(c!=97)x/=x;var s=DateTime.Now;forNow;while(;i<26;i++c<149)if(ReadKey().KeyChar!=c++)x/=x;Write((DateTime.Now-s).TotalMilliseconds);}catch{Write("Fail");}}
#C# (.NET Core), (削除) 245 + 13 (削除ここまで) 183 + 41 bytes
+41 bytes for using System;using static System.Console.
Untested since I am on mobile and this does not run on TIO.
n=>{int i=1,c=ReadKey().KeyChar,x=0;try{if(c!=97)x/=x;var s=DateTime.Now;for(;i<26;i++)if(ReadKey().KeyChar!=c++)x/=x;Write((DateTime.Now-s).TotalMilliseconds);}catch{Write("Fail");}}
#C# (.NET Core), (削除) 245 + 13 (削除ここまで) (削除) 183 + 41 (削除ここまで) 177 + 41 bytes
+41 bytes for using System;using static System.Console.
Untested since I am on mobile and this does not run on TIO.
n=>{int c=ReadKey().KeyChar,x=0;try{if(c!=97)x/=x;var s=DateTime.Now;while(c<149)if(ReadKey().KeyChar!=c++)x/=x;Write((DateTime.Now-s).TotalMilliseconds);}catch{Write("Fail");}}
#C# (.NET Core), 245(削除) 245 + 13 (削除ここまで) 183 + 1341 bytes
+13+41 bytes for using System;System;using static System.Console.
If anyone knows a shorter way of producing an exception at runtime feel free to tell me.
Untested since I am on mobile and this does not run on TIO.
n=>{int c=97i=1,i=1;c=Console.ReadKeyc=ReadKey().KeyChar;tryKeyChar,x=0;try{if(c!=97)int.Parse("x");varx/=x;var s=DateTime.Now;for(;i<26;i++)if(Console.ReadKey().KeyChar==c+1)c++;else int.Parse("x"KeyChar!=c++);Console.Writex/=x;Write((DateTime.Now-s).TotalMilliseconds);}catch{Console.Write("Fail");}}
#C# (.NET Core), 245 + 13 bytes
+13 bytes for using System;.
If anyone knows a shorter way of producing an exception at runtime feel free to tell me.
Untested since I am on mobile and this does not run on TIO.
n=>{int c=97,i=1;c=Console.ReadKey().KeyChar;try{if(c!=97)int.Parse("x");var s=DateTime.Now;for(;i<26;i++)if(Console.ReadKey().KeyChar==c+1)c++;else int.Parse("x");Console.Write((DateTime.Now-s).TotalMilliseconds);}catch{Console.Write("Fail");}}
#C# (.NET Core), (削除) 245 + 13 (削除ここまで) 183 + 41 bytes
+41 bytes for using System;using static System.Console.
Untested since I am on mobile and this does not run on TIO.
n=>{int i=1,c=ReadKey().KeyChar,x=0;try{if(c!=97)x/=x;var s=DateTime.Now;for(;i<26;i++)if(ReadKey().KeyChar!=c++)x/=x;Write((DateTime.Now-s).TotalMilliseconds);}catch{Write("Fail");}}