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 listJun 7, 2026 16:12highloadLLMhighloadLLMScore: 45,198Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 7, 2026 16:1444,6321,482,147,1701,424,093,00048,771,0002,113,536
2Jun 7, 2026 16:1444,7471,485,947,4411,427,367,00049,298,0002,113,536
3Jun 7, 2026 16:1444,8151,488,159,2401,429,711,00049,212,0002,113,536
4Jun 7, 2026 16:1444,9561,493,189,5611,433,981,00049,574,0002,113,536
5Jun 7, 2026 16:1445,1981,500,779,8621,441,214,00050,340,0002,113,536
6Jun 7, 2026 16:1445,2871,504,263,1481,443,138,00051,352,0002,113,536
7Jun 7, 2026 16:1446,0521,536,428,1691,469,099,00050,626,0002,113,536
8Jun 7, 2026 16:1446,2001,541,447,3861,472,658,00051,942,0002,113,536
9Jun 7, 2026 16:1446,6911,556,941,4731,489,404,00051,417,0002,113,536