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 listSep 18, 2026 18:53Andrew EpsteinAndrew EpsteinScore: 141,431Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 18, 2026 18:55140,9184,661,007,8074,644,116,0006,209,0002,121,728stderr
2Sep 18, 2026 18:55141,1944,669,962,3924,653,229,0006,204,0002,121,728stderr
3Sep 18, 2026 18:55141,2594,672,159,9824,655,439,0006,126,0002,121,728stderr
4Sep 18, 2026 18:55141,3034,673,738,5144,656,723,0006,299,0002,121,728stderr
5Sep 18, 2026 18:55141,4314,678,421,5324,661,074,0006,180,0002,121,728stderr
6Sep 18, 2026 18:55141,4894,680,064,2864,661,928,0007,228,0002,121,728stderr
7Sep 18, 2026 18:55142,0354,698,372,0894,680,936,0006,248,0002,121,728stderr
8Sep 18, 2026 18:55142,1594,702,503,5254,684,998,0006,276,0002,121,728stderr
9Sep 18, 2026 18:55142,1824,703,437,8184,685,825,0006,195,0002,121,728stderr