結果
問題 |
No.341 沈黙の期間
|
ユーザー |
|
提出日時 | 2016-02-12 22:26:27 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 518 bytes |
コンパイル時間 | 647 ms |
コンパイル使用メモリ | 86,044 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-09-22 04:41:06 |
合計ジャッジ時間 | 1,218 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 WA * 1 |
other | AC * 3 WA * 8 |
ソースコード
#include<iostream> #include<cstdio> #include<cstring> #include<string> #include<algorithm> #include<bitset> #include<vector> #include<deque> #include<queue> #include<map> #include<set> #include<stack> #include<cmath> #include<iomanip> #include <functional> using namespace std; typedef long long ll; //-------------------------- int main() { string s; cin >> s; int ans = 0; while (s.find("…") != s.npos) { s = s.substr(s.find("…") + 2); ans++; } string ss = "…"; cout << ans << endl; return 0; }