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 27, 2026 12:48Victor MerckléVictor MerckléScore: 67,807Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 27, 2026 12:5066,0612,187,801,3452,137,990,00042,037,0002,117,632stderr
2Jun 27, 2026 12:5066,5182,202,944,8212,153,495,00041,615,0002,117,632stderr
3Jun 27, 2026 12:5067,0982,222,041,2812,172,021,00042,234,0002,117,632stderr
4Jun 27, 2026 12:5067,4802,234,656,9402,184,845,00042,006,0002,117,632stderr
5Jun 27, 2026 12:5067,8072,245,379,4592,197,719,00039,915,0002,117,632stderr
6Jun 27, 2026 12:5067,8772,248,738,3642,197,591,00042,381,0002,117,632stderr
7Jun 27, 2026 12:5068,0232,252,597,9822,203,521,00041,253,0002,117,632stderr
8Jun 27, 2026 12:5068,2652,260,627,9652,210,453,00042,317,0002,117,632stderr
9Jun 27, 2026 12:5068,5282,269,265,1392,219,274,00042,152,0002,117,632stderr