結果
| 問題 | No.203 ゴールデン・ウィーク(1) |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-10-14 02:02:15 |
| 言語 | Rust (1.97.1 + proconio + num + itertools + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 1 ms / 1,000 ms |
| + 73µs | |
| コード長 | 320 bytes |
| 記録 | |
| コンパイル時間 | 835 ms |
| コンパイル使用メモリ | 183,972 KB |
| 実行使用メモリ | 9,792 KB |
| 最終ジャッジ日時 | 2026-10-14 02:02:19 |
| 合計ジャッジ時間 | 3,185 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 29 |
ソースコード
use proconio::input;
fn main(){
input!{
mut s:String,
s1:String,
}
s+=&s1;
let mut a=0;
let mut ans=0;
for i in s.chars(){
if i=='o'{
a+=1;
} else {
a=0;
}
if ans<a{
ans=a;
}
}
print!("{}",ans);
}