結果
問題 |
No.3125 Make It Symmetry
|
ユーザー |
![]() |
提出日時 | 2025-04-25 21:55:28 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 86 ms / 2,000 ms |
コード長 | 184 bytes |
コンパイル時間 | 414 ms |
コンパイル使用メモリ | 11,904 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2025-04-25 21:55:33 |
合計ジャッジ時間 | 3,772 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 36 |
ソースコード
N = int(input()) A = [input() for i in range(N)] num = 0 for i in range(N): for j in range(N): if A[i][j] == "#": num += 1 print("Yes" if N % 2 != 0 or num % 2 == 0 else "No")