結果

問題 No.8117 Simple Programming Language
ユーザー kabipoyo
提出日時 2025-04-01 22:14:16
言語 Text
(cat 8.3)
結果
WA  
実行時間 -
コード長 1,807 bytes
コンパイル時間 250 ms
コンパイル使用メモリ 8,096 KB
実行使用メモリ 7,720 KB
最終ジャッジ日時 2025-04-01 22:14:27
合計ジャッジ時間 9,736 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 2 WA * 13
権限があれば一括ダウンロードができます

ソースコード

diff #

$10 = H * W / 2
$15 = H * W
while ($11 < $10)
  $100 = $100 + A[($11 / W) + 1, ($11 % W) + 1]
  $101 = $101 + B[($11 / W) + 1, ($11 % W) + 1]
end
if ($100 != $101)
  $15 = $10
  $10 = ($16 + $10) / 2
end
if ($100 == $101)
  $16 = $10
  $10 = ($15 + $10) / 2
end
$100 = 0
$101 = 0
while ($11 < $10)
  $100 = $100 + A[($11 / W) + 1, ($11 % W) + 1]
  $101 = $101 + B[($11 / W) + 1, ($11 % W) + 1]
end
if ($100 != $101)
  $15 = $10
  $10 = ($16 + $10) / 2
end
if ($100 == $101)
  $16 = $10
  $10 = ($15 + $10) / 2
end
$100 = 0
$101 = 0
while ($11 < $10)
  $100 = $100 + A[($11 / W) + 1, ($11 % W) + 1]
  $101 = $101 + B[($11 / W) + 1, ($11 % W) + 1]
end
if ($100 != $101)
  $15 = $10
  $10 = ($16 + $10) / 2
end
if ($100 == $101)
  $16 = $10
  $10 = ($15 + $10) / 2
end
$100 = 0
$101 = 0
while ($11 < $10)
  $100 = $100 + A[($11 / W) + 1, ($11 % W) + 1]
  $101 = $101 + B[($11 / W) + 1, ($11 % W) + 1]
end
if ($100 != $101)
  $15 = $10
  $10 = ($16 + $10) / 2
end
if ($100 == $101)
  $16 = $10
  $10 = ($15 + $10) / 2
end
$100 = 0
$101 = 0
while ($11 < $10)
  $100 = $100 + A[($11 / W) + 1, ($11 % W) + 1]
  $101 = $101 + B[($11 / W) + 1, ($11 % W) + 1]
end
if ($100 != $101)
  $15 = $10
  $10 = ($16 + $10) / 2
end
if ($100 == $101)
  $16 = $10
  $10 = ($15 + $10) / 2
end
$100 = 0
$101 = 0
while ($11 < $10)
  $100 = $100 + A[($11 / W) + 1, ($11 % W) + 1]
  $101 = $101 + B[($11 / W) + 1, ($11 % W) + 1]
end
if ($100 != $101)
  $15 = $10
  $10 = ($16 + $10) / 2
end
if ($100 == $101)
  $16 = $10
  $10 = ($15 + $10) / 2
end
$100 = 0
$101 = 0
while ($11 < $10)
  $100 = $100 + A[($11 / W) + 1, ($11 % W) + 1]
  $101 = $101 + B[($11 / W) + 1, ($11 % W) + 1]
end
if ($100 != $101)
  $15 = $10
  $10 = ($16 + $10) / 2
end
if ($100 == $101)
  $16 = $10
  $10 = ($15 + $10) / 2
end
return(1 + $16 / W, 1 + $16 % W)
0