結果

問題 No.84 悪の算盤
ユーザー tookunn_1213tookunn_1213
提出日時 2015-05-24 09:53:05
言語 Python2
(2.7.18)
結果
MLE  
実行時間 -
コード長 229 bytes
コンパイル時間 317 ms
コンパイル使用メモリ 6,636 KB
実行使用メモリ 812,760 KB
最終ジャッジ日時 2023-09-20 11:11:48
合計ジャッジ時間 2,293 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 11 ms
5,924 KB
testcase_01 AC 10 ms
5,976 KB
testcase_02 AC 11 ms
5,968 KB
testcase_03 MLE -
testcase_04 -- -
testcase_05 -- -
testcase_06 -- -
testcase_07 -- -
testcase_08 -- -
testcase_09 -- -
testcase_10 -- -
testcase_11 -- -
testcase_12 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

R,C = map(int,raw_input().split())
c = -1
table = [[0 for j in range(C)]for i in range(R)]
for i in range(R):
	for j in range(C):
		if table[i][j] == 1:continue
		table[i][j] = 1
		table[R - 1 - i][C - 1 - j] = 1
		c += 1
print c
0