#include <iostream> #include <algorithm> int main(){ int v[] = {1, 2, 2, 3, 3, 3}; int len = sizeof(v) / sizeof(v[0]); int *end = std::unique(v, v+len); for(int *p = &v[0]; p != end; ++p) std::cout << *p << ' '; return 0; }
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く