W3Schools Tryit Editor
[
フレーム
]
Run ❯
Get your
own
website
Go to Spaces
Ctrl+Alt+P
#include
#include
#include
using namespace std; int main() { vector
cars = {"Volvo", "BMW", "Ford", "Ford", "Mazda"}; auto it = adjacent_find(cars.begin(), cars.end()); if (it != cars.end()) { cout << *it << " appears twice in a row\n"; } else { cout << "There are no adjacent elements\n"; } return 0; }
Ford appears twice in a row
AltStyle
によって変換されたページ
(->オリジナル)
/
アドレス:
モード:
デフォルト
音声ブラウザ
ルビ付き
配色反転
文字拡大
モバイル