結果

問題 No.436 ccw
ユーザー go_boardwalkgo_boardwalk
提出日時 2017-04-07 16:02:47
言語 Scheme
(Gauche-0.9.14)
結果
AC  
実行時間 21 ms / 2,000 ms
コード長 134 bytes
コンパイル時間 80 ms
コンパイル使用メモリ 5,212 KB
実行使用メモリ 12,028 KB
最終ジャッジ日時 2023-09-23 00:00:25
合計ジャッジ時間 1,753 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 19 ms
11,660 KB
testcase_01 AC 19 ms
11,692 KB
testcase_02 AC 19 ms
11,724 KB
testcase_03 AC 19 ms
11,744 KB
testcase_04 AC 17 ms
11,680 KB
testcase_05 AC 17 ms
11,632 KB
testcase_06 AC 18 ms
11,768 KB
testcase_07 AC 18 ms
11,676 KB
testcase_08 AC 18 ms
11,616 KB
testcase_09 AC 17 ms
11,700 KB
testcase_10 AC 18 ms
11,636 KB
testcase_11 AC 18 ms
11,816 KB
testcase_12 AC 18 ms
11,640 KB
testcase_13 AC 18 ms
11,804 KB
testcase_14 AC 18 ms
11,788 KB
testcase_15 AC 17 ms
11,660 KB
testcase_16 AC 17 ms
11,656 KB
testcase_17 AC 18 ms
11,752 KB
testcase_18 AC 18 ms
11,892 KB
testcase_19 AC 18 ms
11,860 KB
testcase_20 AC 18 ms
11,688 KB
testcase_21 AC 21 ms
12,028 KB
testcase_22 AC 19 ms
11,808 KB
testcase_23 AC 20 ms
11,840 KB
testcase_24 AC 20 ms
11,816 KB
testcase_25 AC 21 ms
12,028 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

(define s (read-line))

(print (+ (min (string-length (string-scan s "ccw" 'before)) (string-length (string-scan s "ccw" 'after))) 1))
0