結果

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

ソースコード

diff #

$10 = H * W / 2
$11 = 0
$15 = H * W
$16 = 0
$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]
  $11 = $11 + 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]
  $11 = $11 + 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]
  $11 = $11 + 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]
  $11 = $11 + 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]
  $11 = $11 + 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]
  $11 = $11 + 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