結果
| 問題 | No.3430 Flip the Grid |
| コンテスト | |
| ユーザー |
回転
|
| 提出日時 | 2026-01-11 18:29:42 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 573 ms / 2,000 ms |
| コード長 | 184 bytes |
| 記録 | |
| コンパイル時間 | 371 ms |
| コンパイル使用メモリ | 82,248 KB |
| 実行使用メモリ | 189,572 KB |
| 最終ジャッジ日時 | 2026-01-11 18:29:48 |
| 合計ジャッジ時間 | 4,523 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge6 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 |
ソースコード
H,W = list(map(int,input().split())) A = [list(map(int,input().split())) for _ in range(H)] a = sum(sum(i)%2 for i in A) b = sum(sum(i)%2 for i in list(zip(*A[::-1]))) print(max(a,b))
回転