{"url":"https://logfiles.hatenablog.com/entry/20140902/1409644193","width":"100%","height":"190","provider_name":"Hatena Blog","type":"rich","blog_url":"https://logfiles.hatenablog.com/","categories":["LiveArchive"],"image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Flogfiles.hatenablog.com%2Fentry%2F20140902%2F1409644193\" title=\"LiveArchive6465 Islands in the Data Stream - Logfiles\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","title":"LiveArchive6465 Islands in the Data Stream","author_url":"https://blog.hatena.ne.jp/moistx/","published":"2014-09-02 16:49:53","blog_title":"Logfiles","provider_url":"https://hatena.blog","author_name":"moistx","description":"\u89e3\u7b54 \u51f8\u304c\u898b\u3064\u304b\u3063\u305f\u30bf\u30a4\u30df\u30f3\u30b0\u3067\u56de\u6570\u3092\u30ab\u30a6\u30f3\u30c8\u3059\u308b\u3068\u826f\u3044\u3002 #include <bits/stdc++.h> using namespace std; int main() { int Tc; cin >> Tc; while(Tc--) { int Tcnt; cin >> Tcnt; vector<int> vec(15); for(int i=0; i<15; i++) cin >> vec[i]; int ans = 0; for(int i=0; i<14; i++) ans += vec[i] < vec[i+1]; cout << Tcnt <<\" \"<< ans << endl\u2026"}