結果
| 問題 |
No.436 ccw
|
| コンテスト | |
| ユーザー |
fal_rnd
|
| 提出日時 | 2016-10-28 23:00:50 |
| 言語 | Java (openjdk 23) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 225 bytes |
| コンパイル時間 | 2,431 ms |
| コンパイル使用メモリ | 75,684 KB |
| 実行使用メモリ | 42,160 KB |
| 最終ジャッジ日時 | 2024-11-24 06:13:25 |
| 合計ジャッジ時間 | 6,593 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 21 RE * 3 |
ソースコード
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())+1);
}
}
fal_rnd