結果
| 問題 | No.290 1010 | 
| コンテスト | |
| ユーザー |  takakin | 
| 提出日時 | 2020-04-24 00:49:08 | 
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) | 
| 結果 | 
                                WA
                                 
                             | 
| 実行時間 | - | 
| コード長 | 200 bytes | 
| コンパイル時間 | 191 ms | 
| コンパイル使用メモリ | 12,544 KB | 
| 実行使用メモリ | 12,792 KB | 
| 最終ジャッジ日時 | 2024-10-14 09:03:25 | 
| 合計ジャッジ時間 | 1,746 ms | 
| ジャッジサーバーID (参考情報) | judge3 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 22 WA * 2 | 
ソースコード
import sys
input=lambda: sys.stdin.readline().rstrip()
n=int(input())
S=input()
if n==1:
  print("NO")
elif n==2:
  if S=="10" or S=="01":
    print("NO")
  else:
    print("YES")
else:
  print("YES")
            
            
            
        