結果

問題 No.290 1010
ユーザー ldsybldsyb
提出日時 2016-05-21 20:06:40
言語 Scheme
(Gauche-0.9.14)
結果
AC  
実行時間 60 ms / 5,000 ms
コード長 196 bytes
コンパイル時間 40 ms
コンパイル使用メモリ 5,376 KB
実行使用メモリ 17,792 KB
最終ジャッジ日時 2024-04-16 06:16:49
合計ジャッジ時間 2,045 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 26 ms
15,872 KB
testcase_01 AC 26 ms
15,872 KB
testcase_02 AC 25 ms
15,872 KB
testcase_03 AC 25 ms
15,744 KB
testcase_04 AC 25 ms
15,744 KB
testcase_05 AC 24 ms
15,872 KB
testcase_06 AC 26 ms
15,744 KB
testcase_07 AC 26 ms
16,000 KB
testcase_08 AC 24 ms
15,872 KB
testcase_09 AC 25 ms
15,872 KB
testcase_10 AC 26 ms
15,744 KB
testcase_11 AC 25 ms
15,744 KB
testcase_12 AC 24 ms
15,872 KB
testcase_13 AC 24 ms
15,872 KB
testcase_14 AC 25 ms
15,744 KB
testcase_15 AC 25 ms
16,000 KB
testcase_16 AC 25 ms
15,872 KB
testcase_17 AC 25 ms
16,000 KB
testcase_18 AC 25 ms
15,744 KB
testcase_19 AC 24 ms
15,872 KB
testcase_20 AC 56 ms
17,664 KB
testcase_21 AC 57 ms
17,792 KB
testcase_22 AC 60 ms
17,792 KB
testcase_23 AC 57 ms
17,792 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

(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)
0