Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Return to Answer

Commonmark migration
Source Link

#Perl 5, (削除) 79 (削除ここまで) 93 +31 (-MTerm::ReadKey -MTime::HiRes=time) bytes

Perl 5, (削除) 79 (削除ここまで) 93 +31 (-MTerm::ReadKey -MTime::HiRes=time) bytes

$|=1;map{ReadKey eq$_||exit print"
Fail";$s||=time}a..z;print$/,0|1e3*(time-$s)

$|=1 is not sufficient to set terminal in raw mode, stty -icanon should be run before or

ReadMode 3;map{ReadKey eq$_||exit print"
Fail";print;$s||=time}a..z;print$/,0|1e3*(time-$s)

to see characters in the terminal after running command : stty echo or stty echo icanon

#Perl 5, (削除) 79 (削除ここまで) 93 +31 (-MTerm::ReadKey -MTime::HiRes=time) bytes

$|=1;map{ReadKey eq$_||exit print"
Fail";$s||=time}a..z;print$/,0|1e3*(time-$s)

$|=1 is not sufficient to set terminal in raw mode, stty -icanon should be run before or

ReadMode 3;map{ReadKey eq$_||exit print"
Fail";print;$s||=time}a..z;print$/,0|1e3*(time-$s)

to see characters in the terminal after running command : stty echo or stty echo icanon

Perl 5, (削除) 79 (削除ここまで) 93 +31 (-MTerm::ReadKey -MTime::HiRes=time) bytes

$|=1;map{ReadKey eq$_||exit print"
Fail";$s||=time}a..z;print$/,0|1e3*(time-$s)

$|=1 is not sufficient to set terminal in raw mode, stty -icanon should be run before or

ReadMode 3;map{ReadKey eq$_||exit print"
Fail";print;$s||=time}a..z;print$/,0|1e3*(time-$s)

to see characters in the terminal after running command : stty echo or stty echo icanon

added 305 characters in body
Source Link
Nahuel Fouilleul
  • 8.7k
  • 1
  • 11
  • 19

#Perl 5, 79(削除) 79 (削除ここまで) 93 +31 (-MTerm::ReadKey -MTime::HiRes=time) bytes

$|=1;map{ReadKey eq$_||exit print"
Fail";$s||=time}a..z;print$/,0|1e3*(time-$s)

$|=1 is not sufficient to set terminal in raw mode, stty -icanon should be run before or

ReadMode 3;map{ReadKey eq$_||exit print"
Fail";print;$s||=time}a..z;print$/,0|1e3*(time-$s)

to see characters in the terminal after running command : stty echo or stty echo icanon

#Perl 5, 79 +31 (-MTerm::ReadKey -MTime::HiRes=time) bytes

$|=1;map{ReadKey eq$_||exit print"
Fail";$s||=time}a..z;print$/,0|1e3*(time-$s)

#Perl 5, (削除) 79 (削除ここまで) 93 +31 (-MTerm::ReadKey -MTime::HiRes=time) bytes

$|=1;map{ReadKey eq$_||exit print"
Fail";$s||=time}a..z;print$/,0|1e3*(time-$s)

$|=1 is not sufficient to set terminal in raw mode, stty -icanon should be run before or

ReadMode 3;map{ReadKey eq$_||exit print"
Fail";print;$s||=time}a..z;print$/,0|1e3*(time-$s)

to see characters in the terminal after running command : stty echo or stty echo icanon

added 1 character in body
Source Link
Nahuel Fouilleul
  • 8.7k
  • 1
  • 11
  • 19

#Perl 5, 7879 +31 (-MTerm::ReadKey -MTime::HiRes=time) bytes

map$|=1;map{ReadKey eq$_||exit print"
Fail";$s or$s=timeFail";$s||=time}a..z;print$/,0|1000*0|1e3*(time-$s)

#Perl 5, 78 +31 (-MTerm::ReadKey -MTime::HiRes=time) bytes

map{ReadKey eq$_||exit print"
Fail";$s or$s=time}a..z;print$/,0|1000*(time-$s)

#Perl 5, 79 +31 (-MTerm::ReadKey -MTime::HiRes=time) bytes

$|=1;map{ReadKey eq$_||exit print"
Fail";$s||=time}a..z;print$/,0|1e3*(time-$s)
added 2 characters in body
Source Link
Nahuel Fouilleul
  • 8.7k
  • 1
  • 11
  • 19
Loading
deleted 95 characters in body
Source Link
Nahuel Fouilleul
  • 8.7k
  • 1
  • 11
  • 19
Loading
deleted 5 characters in body
Source Link
Nahuel Fouilleul
  • 8.7k
  • 1
  • 11
  • 19
Loading
Source Link
Nahuel Fouilleul
  • 8.7k
  • 1
  • 11
  • 19
Loading

AltStyle によって変換されたページ (->オリジナル) /