W3Schools Tryit Editor
[
フレーム
]
Run ❯
Get your
own
website
Go to Spaces
Ctrl+Alt+P
#include
#include
#include
using namespace std; bool greater_than_5(int value) { return value> 5; } int main() { vector
numbers = {1, 7, 3, 5, 9, 2}; int amount = count_if(numbers.begin(), numbers.end(), greater_than_5); cout << "There are " << amount << " values greater than 5."; return 0; }
There are 2 values greater than 5.
AltStyle
によって変換されたページ
(->オリジナル)
/
アドレス:
モード:
デフォルト
音声ブラウザ
ルビ付き
配色反転
文字拡大
モバイル