結果
問題 |
No.8117 Simple Programming Language
|
ユーザー |
![]() |
提出日時 | 2025-04-01 22:12:19 |
言語 | Text (cat 8.3) |
結果 |
WA
|
実行時間 | - |
コード長 | 1,137 bytes |
コンパイル時間 | 277 ms |
コンパイル使用メモリ | 8,100 KB |
実行使用メモリ | 7,848 KB |
最終ジャッジ日時 | 2025-04-01 22:12:22 |
合計ジャッジ時間 | 2,965 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 1 WA * 14 |
ソースコード
$1=H*W $5=($0+$1)/2 while($3<$5) $2=$2+100+A[$3/W+1,$3%W+1]-B[$3/W+1,$3%W+1] $3=$3+1 $4=$4+100 end if($2==$4) $0=$5 end if($2!=$4) $1=$5 end $3=$0 $5=($0+$1)/2 while($3<$5) $6=$6+100+A[$3/W+1,$3%W+1]-B[$3/W+1,$3%W+1] $3=$3+1 $7=$7+100 end if($6==$7) $0=$5 end if($6!=$7) $1=$5 end $3=$0 $5=($0+$1)/2 while($3<$5) $8=$8+100+A[$3/W+1,$3%W+1]-B[$3/W+1,$3%W+1] $3=$3+1 $9=$9+100 end if($8==$9) $0=$5 end if($9!=$9) $1=$5 end $3=$0 $5=($0+$1)/2 while($3<$5) $10=$10+100+A[$3/W+1,$3%W+1]-B[$3/W+1,$3%W+1] $3=$3+1 $11=$11+100 end if($10==$11) $0=$5 end if($10!=$11) $1=$5 end $3=$0 $5=($0+$1)/2 while($3<$5) $12=$12+100+A[$3/W+1,$3%W+1]-B[$3/W+1,$3%W+1] $3=$3+1 $13=$13+100 end if($12==$13) $0=$5 end if($12!=$13) $1=$5 end $3=$0 $5=($0+$1)/2 while($3<$5) $14=$14+100+A[$3/W+1,$3%W+1]-B[$3/W+1,$3%W+1] $3=$3+1 $15=$15+100 end if($14==$15) $0=$5 end if($14!=$15) $1=$5 end if($0==$1) $1=$0+1 end $3=$0 $5=($0+$1)/2 while($3<$5) $16=$16+100+A[$3/W+1,$3%W+1]-B[$3/W+1,$3%W+1] $3=$3+1 $17=$17+100 end if($16==$17) $0=$5 end if($16!=$17) $1=$5 end return(($0+1)/W+1,($0+1)%W+1)