結果
問題 |
No.290 1010
|
ユーザー |
![]() |
提出日時 | 2016-05-21 20:06:40 |
言語 | Scheme (Gauche-0.9.15) |
結果 |
AC
|
実行時間 | 56 ms / 5,000 ms |
コード長 | 196 bytes |
コンパイル時間 | 35 ms |
コンパイル使用メモリ | 6,948 KB |
実行使用メモリ | 17,920 KB |
最終ジャッジ日時 | 2024-10-06 19:24:05 |
合計ジャッジ時間 | 1,720 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 24 |
ソースコード
(define n (read-line)) (define s (read-line)) (if (or (string=? s "010") (string=? s "101") (string=? s "01") (string=? s "10") (= (string-length s) 1)) (display "NO") (display "YES")) (newline)