結果
| 問題 | No.436 ccw |
| コンテスト | |
| ユーザー |
fal_rnd
|
| 提出日時 | 2016-10-28 23:10:03 |
| 言語 | Java (openjdk 25.0.2) |
| 結果 |
AC
|
| 実行時間 | 125 ms / 2,000 ms |
| コード長 | 232 bytes |
| 記録 | |
| コンパイル時間 | 1,892 ms |
| コンパイル使用メモリ | 83,284 KB |
| 実行使用メモリ | 45,792 KB |
| 最終ジャッジ日時 | 2026-05-18 04:56:58 |
| 合計ジャッジ時間 | 5,174 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 24 |
ソースコード
import java.util.*;
class A{
static Scanner s = new Scanner(System.in);
public static void main(String[] args) {
String[] in = ("#"+s.next()+"#").split("ccw");
System.out.println(Math.min(in[0].length(), in[1].length()));
}
}
fal_rnd