mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 06:05:58 -06:00
13 lines
230 B
C++
13 lines
230 B
C++
#include <Core/Core.h>
|
|
|
|
using namespace Upp;
|
|
|
|
int Count(const Vector<String>& v, const String& x);
|
|
|
|
CONSOLE_APP_MAIN
|
|
{
|
|
Vector<String> x;
|
|
for(int i = 0; i < 1000; i++)
|
|
x.Add(AsString(Random(100)));
|
|
Cout() << Count(x, "50");
|
|
}
|