結果
| 問題 | 
                            No.341 沈黙の期間
                             | 
                    
| コンテスト | |
| ユーザー | 
                             kiridaruma
                         | 
                    
| 提出日時 | 2016-03-04 15:28:50 | 
| 言語 | D  (dmd 2.109.1)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 2 ms / 5,000 ms | 
| コード長 | 232 bytes | 
| コンパイル時間 | 711 ms | 
| コンパイル使用メモリ | 98,992 KB | 
| 実行使用メモリ | 5,376 KB | 
| 最終ジャッジ日時 | 2024-06-12 03:12:22 | 
| 合計ジャッジ時間 | 1,388 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge5 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 11 | 
ソースコード
import std.stdio, std.string;
void main(){
    auto s = readln.strip;
    auto t = "…";
    int x = 0;
    for(int i=1; i <= s.count("…"); i++){
        if(s.indexOf(t) != -1){x = i;}
        t ~= "…";
    }
    x.writeln;
}
            
            
            
        
            
kiridaruma