結果
問題 |
No.3125 Make It Symmetry
|
ユーザー |
![]() |
提出日時 | 2025-04-25 22:04:50 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 206 bytes |
コンパイル時間 | 404 ms |
コンパイル使用メモリ | 82,552 KB |
実行使用メモリ | 56,680 KB |
最終ジャッジ日時 | 2025-04-25 22:05:24 |
合計ジャッジ時間 | 3,048 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 35 WA * 1 |
ソースコード
n=int(input()) c=0 for i in range(n): s=input() c+=s.count("#") if n%2: for i in range(1,n+1): c-=1 if c%2==0 and c<=(n-1)*i: print("Yes") exit() print("No") else: print(["No","Yes"][c%2==0])