結果

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

ソースコード

diff #
raw source code

$10 = H * W / 2
$11 = 0
$15 = H * W
$16 = 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
while ($11 < $10)
  $200 = $200 + A[($11 / W) + 1, ($11 % W) + 1]
  $201 = $201 + B[($11 / W) + 1, ($11 % W) + 1]
  $11 = $11 + 1
end
if ($200 != $201)
  $15 = $10
  $10 = ($16 + $10) / 2
end
if ($200 == $201)
  $16 = $10
  $10 = ($15 + $10) / 2
end
while ($11 < $10)
  $300 = $300 + A[($11 / W) + 1, ($11 % W) + 1]
  $301 = $301 + B[($11 / W) + 1, ($11 % W) + 1]
  $11 = $11 + 1
end
if ($300 != $301)
  $15 = $10
  $10 = ($16 + $10) / 2
end
if ($300 == $301)
  $16 = $10
  $10 = ($15 + $10) / 2
end
while ($11 < $10)
  $400 = $400 + A[($11 / W) + 1, ($11 % W) + 1]
  $401 = $401 + B[($11 / W) + 1, ($11 % W) + 1]
  $11 = $11 + 1
end
if ($400 != $401)
  $15 = $10
  $10 = ($16 + $10) / 2
end
if ($400 == $401)
  $16 = $10
  $10 = ($15 + $10) / 2
end
while ($11 < $10)
  $500 = $500 + A[($11 / W) + 1, ($11 % W) + 1]
  $501 = $501 + B[($11 / W) + 1, ($11 % W) + 1]
  $11 = $11 + 1
end
if ($500 != $501)
  $15 = $10
  $10 = ($16 + $10) / 2
end
if ($500 == $501)
  $16 = $10
  $10 = ($15 + $10) / 2
end
while ($11 < $10)
  $600 = $600 + A[($11 / W) + 1, ($11 % W) + 1]
  $601 = $601 + B[($11 / W) + 1, ($11 % W) + 1]
  $11 = $11 + 1
end
if ($600 != $601)
  $15 = $10
  $10 = ($16 + $10) / 2
end
if ($600 == $601)
  $16 = $10
  $10 = ($15 + $10) / 2
end
while ($11 < $10)
  $700 = $700 + A[($11 / W) + 1, ($11 % W) + 1]
  $701 = $701 + B[($11 / W) + 1, ($11 % W) + 1]
  $11 = $11 + 1
end
if ($700 != $701)
  $15 = $10
  $10 = ($16 + $10) / 2
end
if ($700 == $701)
  $16 = $10
  $10 = ($15 + $10) / 2
end
return(1 + $16 / W, 1 + $16 % W)
0