結果
問題 | No.436 ccw |
ユーザー |
![]() |
提出日時 | 2017-04-07 16:02:47 |
言語 | Scheme (Gauche-0.9.15) |
結果 |
AC
|
実行時間 | 29 ms / 2,000 ms |
コード長 | 134 bytes |
コンパイル時間 | 43 ms |
コンパイル使用メモリ | 6,816 KB |
実行使用メモリ | 16,128 KB |
最終ジャッジ日時 | 2024-07-16 00:33:53 |
合計ジャッジ時間 | 1,778 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 24 |
ソースコード
(define s (read-line)) (print (+ (min (string-length (string-scan s "ccw" 'before)) (string-length (string-scan s "ccw" 'after))) 1))