結果

問題 No.436 ccw
コンテスト
ユーザー go_boardwalk
提出日時 2017-04-07 16:02:47
言語 Scheme
(Gauche-0.9.15)
コンパイル:
true
実行:
gosh _filename_
結果
AC  
実行時間 16 ms / 2,000 ms
+ 878µs
コード長 134 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 3 ms
コンパイル使用メモリ 5,888 KB
実行使用メモリ 16,512 KB
最終ジャッジ日時 2026-08-13 06:34:54
合計ジャッジ時間 1,875 ms
ジャッジサーバーID
(参考情報)
judge3_0 / judge2_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 24
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

(define s (read-line))

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