結果
| 問題 | No.341 沈黙の期間 |
| コンテスト | |
| ユーザー |
kiridaruma
|
| 提出日時 | 2016-03-04 15:28:50 |
| 言語 | D (dmd 2.112.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 5,000 ms |
| コード長 | 232 bytes |
| 記録 | |
| コンパイル時間 | 457 ms |
| コンパイル使用メモリ | 76,216 KB |
| 実行使用メモリ | 7,716 KB |
| 最終ジャッジ日時 | 2026-03-05 06:50:43 |
| 合計ジャッジ時間 | 1,063 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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