結果
| 問題 |
No.203 ゴールデン・ウィーク(1)
|
| コンテスト | |
| ユーザー |
pirorirori_n712
|
| 提出日時 | 2018-07-13 01:27:32 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
AC
|
| 実行時間 | 24 ms / 1,000 ms |
| コード長 | 377 bytes |
| コンパイル時間 | 887 ms |
| コンパイル使用メモリ | 108,840 KB |
| 実行使用メモリ | 25,928 KB |
| 最終ジャッジ日時 | 2024-11-18 10:31:38 |
| 合計ジャッジ時間 | 2,617 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 29 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System;
class No203{
static void Main(){
var a=(Console.ReadLine()+Console.ReadLine()).ToCharArray();
var b=0;
var c=0;
for(int i=0;i<14;++i){
if(a[i]=='o'){
c++;
}
else{
b=c>b?c:b;
c=0;
}
}
Console.WriteLine(c>b?c:b);
}
}
pirorirori_n712