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 30, 2024 13:46Robert BurkeRobert BurkeScore: 12,650Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2024 13:4612,115458,877,685399,783,21402,277,376
2Jun 30, 2024 13:4612,232463,809,812403,648,40802,273,280
3Jun 30, 2024 13:4612,270460,532,700404,902,51002,285,568
4Jun 30, 2024 13:4612,524435,250,050408,295,0004,991,0002,375,680
5Jun 30, 2024 13:4612,570435,999,587409,818,0004,997,0002,367,488
6Jun 30, 2024 13:4612,645441,303,410415,300,0002,001,0002,371,584
7Jun 30, 2024 13:4612,650448,494,390413,456,0003,994,0002,379,776
8Jun 30, 2024 13:4612,682450,465,637416,525,0001,997,0002,367,488
9Jun 30, 2024 13:4612,706446,736,365415,280,0004,002,0002,527,232
10Jun 30, 2024 13:4612,767446,295,011419,325,0002,001,0002,449,408
11Jun 30, 2024 13:4612,825446,866,097419,232,0004,002,0002,527,232
12Jun 30, 2024 13:4612,897451,530,654422,606,0002,997,0002,416,640