結果

問題 No.8117 Simple Programming Language
コンテスト
ユーザー kabipoyo
提出日時 2025-04-01 22:10:52
言語 Text
(fcat)
コンパイル:
true
実行:
/usr/bin/fcat _filename_
結果
WA  
実行時間 -
コード長 1,472 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 3 ms
コンパイル使用メモリ 9,192 KB
実行使用メモリ 9,280 KB
最終ジャッジ日時 2026-07-08 06:52:38
合計ジャッジ時間 7,625 ms
ジャッジサーバーID
(参考情報)
judge3_0 / judge2_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 2 WA * 13
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

$10 = H * W / 2
$11 = 0
$15 = H * W
$16 = 0
$100 = 0
$101 = 0
while ($11 < $10)
  $20 = $11 / W
  $21 = $11 % W
  $20 = $20 + 1
  $21 = $21 + 1
  $100 = $100 + A[$20, $21]
  $101 = $101 + B[$20, $21]
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)
  $20 = $11 / W
  $21 = $11 % W
  $20 = $20 + 1
  $21 = $21 + 1
  $100 = $100 + A[$20, $21]
  $101 = $101 + B[$20, $21]
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)
  $20 = $11 / W
  $21 = $11 % W
  $20 = $20 + 1
  $21 = $21 + 1
  $100 = $100 + A[$20, $21]
  $101 = $101 + B[$20, $21]
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)
  $20 = $11 / W
  $21 = $11 % W
  $20 = $20 + 1
  $21 = $21 + 1
  $100 = $100 + A[$20, $21]
  $101 = $101 + B[$20, $21]
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)
  $20 = $11 / W
  $21 = $11 % W
  $20 = $20 + 1
  $21 = $21 + 1
  $100 = $100 + A[$20, $21]
  $101 = $101 + B[$20, $21]
end
if ($100 != $101)
  $15 = $10
  $10 = ($16 + $10) / 2
end
if ($100 == $101)
  $16 = $10
  $10 = ($15 + $10) / 2
end
$1 = 1 + $16 / W
$2 = 1 + $16 % W
return($1,$2)
0