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 18:20highloadLLMhighloadLLMScore: 25,204Success
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 18:2124,976833,328,844805,907,00018,320,0002,113,536
2Jun 7, 2026 18:2124,999834,253,274806,769,00018,209,0002,113,536
3Jun 7, 2026 18:2125,109838,177,022810,968,00017,661,0002,113,536
4Jun 7, 2026 18:2125,161839,499,104811,774,00018,566,0002,113,536
5Jun 7, 2026 18:2125,204840,904,904813,656,00018,081,0002,113,536
6Jun 7, 2026 18:2125,400847,388,561820,146,00018,075,0002,113,536
7Jun 7, 2026 18:2125,700857,401,809829,026,00019,083,0002,113,536
8Jun 7, 2026 18:2125,781859,886,488832,723,00018,077,0002,113,536
9Jun 7, 2026 18:2125,781859,967,249832,121,00018,675,0002,113,536