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 2, 2024 19:19Joad NacerJoad NacerScore: 7,428Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2024 19:197,291267,318,705184,690,00055,906,0002,510,848
2Jun 2, 2024 19:197,296266,659,636183,813,00056,942,0002,428,928
3Jun 2, 2024 19:197,355270,518,365184,789,00057,933,0002,260,992
4Jun 2, 2024 19:197,358313,553,251242,822,14202,240,512
5Jun 2, 2024 19:197,394309,388,809244,001,86502,375,680
6Jun 2, 2024 19:197,410270,695,432186,630,00057,885,0002,420,736
7Jun 2, 2024 19:197,428272,375,557186,084,00059,026,0002,408,448
8Jun 2, 2024 19:197,474271,532,986189,733,00056,920,0002,433,024
9Jun 2, 2024 19:197,503270,765,041186,687,00060,898,0002,433,024
10Jun 2, 2024 19:197,504271,366,220190,720,00056,916,0002,424,832
11Jun 2, 2024 19:197,604282,349,812191,936,00058,980,0002,433,024
12Jun 2, 2024 19:197,666314,817,553252,987,96802,232,320