Unique strings Sergey Svistunov

Count the exact number of unique tokens as fast as possible.

Input

One token per line on STDIN:

JWXcKKaWzvFL5
Rof
3ztCpA
5wHcGN
*UiEMthaTS*g

Output

Print the exact count of unique tokens to STDOUT.

Constraints

  • Character set: 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ@#%*
  • Maximum token length: 16
  • Approximately 1,000,000 unique tokens
Back to listOct 9, 2026 22:42highload-churnerhighload-churnerScore: 11,239Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 10, 2026 00:0110,491357,545,443299,205,00047,027,00028,672
2Oct 10, 2026 00:0110,646362,678,856302,876,00048,465,00065,536
3Oct 10, 2026 00:0110,987373,127,631312,835,00049,743,00020,480
4Oct 10, 2026 00:0111,172380,427,748319,414,00049,267,00020,480
5Oct 10, 2026 00:0111,239382,802,656321,638,00049,270,00020,480
6Oct 10, 2026 00:0111,281382,904,811322,917,00049,363,00020,480
7Oct 10, 2026 00:0111,335384,605,399324,982,00049,091,00020,480
8Oct 10, 2026 00:0111,438387,924,343327,341,00050,137,00020,480
9Oct 10, 2026 00:0111,456388,526,746328,903,00049,145,00020,480