fork(1) download
  1. #!/usr/bin/perl
  2. # your code goes here
  3.  
  4. if("1x1" =~ m/(\d)x(\d)(?(?{$1 > $2})(?!))/){
  5. print "yes";
  6. }else{
  7. print "no";
  8. }
Success #stdin #stdout 0s 6044KB
stdin
Standard input is empty
stdout
yes